Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.templateEditor.js |
— | — | @@ -316,7 +316,7 @@ |
317 | 317 | </fieldset>', |
318 | 318 | init: function() { |
319 | 319 | $(this).find( '[rel]' ).each( function() { |
320 | | - $(this).text( mediaWiki.msg.get( $(this).attr( 'rel' ) ) ); |
| 320 | + $(this).text( mediaWiki.message( $(this).attr( 'rel' ) ) ); |
321 | 321 | } ); |
322 | 322 | }, |
323 | 323 | dialog: { |
Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.dialogs.js |
— | — | @@ -114,10 +114,10 @@ |
115 | 115 | configuration.title = $.wikiEditor.autoMsg( module, 'title' ); |
116 | 116 | // Transform messages in keys |
117 | 117 | // Stupid JS won't let us do stuff like |
118 | | - // foo = { mediaWiki.msg.get( 'bar' ): baz } |
| 118 | + // foo = { mediaWiki.message( 'bar' ): baz } |
119 | 119 | configuration.newButtons = {}; |
120 | 120 | for ( msg in configuration.buttons ) |
121 | | - configuration.newButtons[mediaWiki.msg.get( msg )] = configuration.buttons[msg]; |
| 121 | + configuration.newButtons[mediaWiki.message( msg )] = configuration.buttons[msg]; |
122 | 122 | configuration.buttons = configuration.newButtons; |
123 | 123 | // Create the dialog <div> |
124 | 124 | var dialogDiv = $( '<div />' ) |
Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.js |
— | — | @@ -115,7 +115,7 @@ |
116 | 116 | return false; |
117 | 117 | }, |
118 | 118 | /** |
119 | | - * Provides a way to extract messages from objects. Wraps the mediaWiki.msg.get() function, which |
| 119 | + * Provides a way to extract messages from objects. Wraps the mediaWiki.message() function, which |
120 | 120 | * may eventually become a wrapper for some kind of core MW functionality. |
121 | 121 | * |
122 | 122 | * @param object Object to extract messages from |
— | — | @@ -138,13 +138,10 @@ |
139 | 139 | return object[property]; |
140 | 140 | } else if ( property + 'Msg' in object ) { |
141 | 141 | var p = object[property + 'Msg']; |
142 | | - if ( p instanceof Array && p.length >= 2 ) { |
143 | | - return mediaWiki.msg.get( |
144 | | - object[property + 'Msg' ][0], |
145 | | - { 'parameters': [object[property + 'Msg' ][1]] } |
146 | | - ); |
| 142 | + if ( $.isArray( p ) && p.length >= 2 ) { |
| 143 | + return mediaWiki.message.apply( p ).toString(); |
147 | 144 | } else { |
148 | | - return mediaWiki.msg.get( p ); |
| 145 | + return mediaWiki.message( p ).toString(); |
149 | 146 | } |
150 | 147 | } else { |
151 | 148 | return ''; |
— | — | @@ -545,7 +542,7 @@ |
546 | 543 | /* Disabling our loading div for now |
547 | 544 | var $loader = $( '<div></div>' ) |
548 | 545 | .addClass( 'wikiEditor-ui-loading' ) |
549 | | - .append( $( '<span>' + mediaWiki.msg.get( 'wikieditor-loading' ) + '</span>' ) |
| 546 | + .append( $( '<span>' + mediaWiki.message( 'wikieditor-loading' ) + '</span>' ) |
550 | 547 | .css( 'marginTop', context.$textarea.height() / 2 ) ); |
551 | 548 | */ |
552 | 549 | // Encapsulate the textarea with some containers for layout |
Index: trunk/extensions/WikiEditor/modules/ext.wikiEditor.dialogs.js |
— | — | @@ -220,20 +220,19 @@ |
221 | 221 | updateExistence( true ); |
222 | 222 | }); |
223 | 223 | // Set labels of tabs based on rel values |
224 | | - var msg = mediaWiki.msg; |
225 | 224 | $(this).find( '[rel]' ).each( function() { |
226 | | - $(this).text( msg.get( $(this).attr( 'rel' ) ) ); |
| 225 | + $(this).text( mediaWiki.message( $(this).attr( 'rel' ) ) ); |
227 | 226 | }); |
228 | 227 | // Set tabindexes on form fields |
229 | 228 | $.wikiEditor.modules.dialogs.fn.setTabindexes( $(this).find( 'input' ).not( '[tabindex]' ) ); |
230 | 229 | // Setup the tooltips in the textboxes |
231 | 230 | $( '#wikieditor-toolbar-link-int-target' ) |
232 | | - .data( 'tooltip', msg.get( 'wikieditor-toolbar-tool-link-int-target-tooltip' ) ); |
| 231 | + .data( 'tooltip', mediaWiki.message( 'wikieditor-toolbar-tool-link-int-target-tooltip' ) ); |
233 | 232 | $( '#wikieditor-toolbar-link-int-text' ) |
234 | | - .data( 'tooltip', msg.get( 'wikieditor-toolbar-tool-link-int-text-tooltip' ) ); |
| 233 | + .data( 'tooltip', mediaWiki.message( 'wikieditor-toolbar-tool-link-int-text-tooltip' ) ); |
235 | 234 | $( '#wikieditor-toolbar-link-int-target, #wikieditor-toolbar-link-int-text' ) |
236 | 235 | .each( function() { |
237 | | - var tooltip = msg.get( $( this ).attr( 'id' ) + '-tooltip' ); |
| 236 | + var tooltip = mediaWiki.message( $( this ).attr( 'id' ) + '-tooltip' ); |
238 | 237 | if ( $( this ).val() == '' ) |
239 | 238 | $( this ) |
240 | 239 | .addClass( 'wikieditor-toolbar-dialog-hint' ) |
— | — | @@ -302,11 +301,11 @@ |
303 | 302 | }); |
304 | 303 | // Add images to the page existence widget, which will be shown mutually exclusively to communicate if |
305 | 304 | // the page exists, does not exist or the title is invalid (like if it contains a | character) |
306 | | - var existsMsg = msg.get( 'wikieditor-toolbar-tool-link-int-target-status-exists' ); |
307 | | - var notexistsMsg = msg.get( 'wikieditor-toolbar-tool-link-int-target-status-notexists' ); |
308 | | - var invalidMsg = msg.get( 'wikieditor-toolbar-tool-link-int-target-status-invalid' ); |
309 | | - var externalMsg = msg.get( 'wikieditor-toolbar-tool-link-int-target-status-external' ); |
310 | | - var loadingMsg = msg.get( 'wikieditor-toolbar-tool-link-int-target-status-loading' ); |
| 305 | + var existsMsg = mediaWiki.message( 'wikieditor-toolbar-tool-link-int-target-status-exists' ); |
| 306 | + var notexistsMsg = mediaWiki.message( 'wikieditor-toolbar-tool-link-int-target-status-notexists' ); |
| 307 | + var invalidMsg = mediaWiki.message( 'wikieditor-toolbar-tool-link-int-target-status-invalid' ); |
| 308 | + var externalMsg = mediaWiki.message( 'wikieditor-toolbar-tool-link-int-target-status-external' ); |
| 309 | + var loadingMsg = mediaWiki.message( 'wikieditor-toolbar-tool-link-int-target-status-loading' ); |
311 | 310 | $( '#wikieditor-toolbar-link-int-target-status' ) |
312 | 311 | .append( $( '<div />' ) |
313 | 312 | .attr( 'id', 'wikieditor-toolbar-link-int-target-status-exists' ) |
— | — | @@ -423,9 +422,8 @@ |
424 | 423 | target = ""; |
425 | 424 | if ( $( '#wikieditor-toolbar-link-int-text' ).data( 'tooltip-mode' ) ) |
426 | 425 | text = ""; |
427 | | - var msg = mediaWiki.msg; |
428 | 426 | if ( target == '' ) { |
429 | | - alert( msg.get( 'wikieditor-toolbar-tool-link-empty' ) ); |
| 427 | + alert( mediaWiki.message( 'wikieditor-toolbar-tool-link-empty' ) ); |
430 | 428 | return; |
431 | 429 | } |
432 | 430 | if ( $.trim( text ) == '' ) { |
— | — | @@ -437,7 +435,7 @@ |
438 | 436 | // FIXME: Exactly how fragile is this? |
439 | 437 | if ( $( '#wikieditor-toolbar-link-int-target-status-invalid' ).is( ':visible' ) ) { |
440 | 438 | // Refuse to add links to invalid titles |
441 | | - alert( msg.get( 'wikieditor-toolbar-tool-link-int-invalid' ) ); |
| 439 | + alert( mediaWiki.message( 'wikieditor-toolbar-tool-link-int-invalid' ) ); |
442 | 440 | return; |
443 | 441 | } |
444 | 442 | |
— | — | @@ -455,12 +453,12 @@ |
456 | 454 | if ( match && !$(this).data( 'ignoreLooksInternal' ) ) { |
457 | 455 | var buttons = { }; |
458 | 456 | var that = this; |
459 | | - buttons[ msg.get( 'wikieditor-toolbar-tool-link-lookslikeinternal-int' ) ] = |
| 457 | + buttons[ mediaWiki.message( 'wikieditor-toolbar-tool-link-lookslikeinternal-int' ) ] = |
460 | 458 | function() { |
461 | 459 | $( '#wikieditor-toolbar-link-int-target' ).val( match[1] ).change(); |
462 | 460 | $(this).dialog( 'close' ); |
463 | 461 | }; |
464 | | - buttons[ msg.get( 'wikieditor-toolbar-tool-link-lookslikeinternal-ext' ) ] = |
| 462 | + buttons[ mediaWiki.message( 'wikieditor-toolbar-tool-link-lookslikeinternal-ext' ) ] = |
465 | 463 | function() { |
466 | 464 | $(that).data( 'ignoreLooksInternal', true ); |
467 | 465 | $(that).closest( '.ui-dialog' ).find( 'button:first' ).click(); |
— | — | @@ -468,7 +466,7 @@ |
469 | 467 | $(this).dialog( 'close' ); |
470 | 468 | }; |
471 | 469 | $.wikiEditor.modules.dialogs.quickDialog( |
472 | | - msg.get( 'wikieditor-toolbar-tool-link-lookslikeinternal', match[1] ), |
| 470 | + mediaWiki.message( 'wikieditor-toolbar-tool-link-lookslikeinternal', match[1] ), |
473 | 471 | { buttons: buttons } |
474 | 472 | ); |
475 | 473 | return; |
— | — | @@ -617,7 +615,7 @@ |
618 | 616 | init: function() { |
619 | 617 | // Insert translated strings into labels |
620 | 618 | $( this ).find( '[rel]' ).each( function() { |
621 | | - $( this ).text( mediaWiki.msg.get( $( this ).attr( 'rel' ) ) ); |
| 619 | + $( this ).text( mediaWiki.message( $( this ).attr( 'rel' ) ) ); |
622 | 620 | } ); |
623 | 621 | |
624 | 622 | }, |
— | — | @@ -761,7 +759,7 @@ |
762 | 760 | </div></div>', |
763 | 761 | init: function() { |
764 | 762 | $(this).find( '[rel]' ).each( function() { |
765 | | - $(this).text( mediaWiki.msg.get( $(this).attr( 'rel' ) ) ); |
| 763 | + $(this).text( mediaWiki.message( $(this).attr( 'rel' ) ) ); |
766 | 764 | }); |
767 | 765 | // Set tabindexes on form fields |
768 | 766 | $.wikiEditor.modules.dialogs.fn.setTabindexes( $(this).find( 'input' ).not( '[tabindex]' ) ); |
— | — | @@ -821,21 +819,20 @@ |
822 | 820 | var rows = parseInt( rowsVal, 10 ); |
823 | 821 | var cols = parseInt( colsVal, 10 ); |
824 | 822 | var header = $( '#wikieditor-toolbar-table-dimensions-header' ).is( ':checked' ) ? 1 : 0; |
825 | | - var msg = mediaWiki.msg; |
826 | 823 | if ( isNaN( rows ) || isNaN( cols ) || rows != rowsVal || cols != colsVal ) { |
827 | | - alert( msg.get( 'wikieditor-toolbar-tool-table-invalidnumber' ) ); |
| 824 | + alert( mediaWiki.message( 'wikieditor-toolbar-tool-table-invalidnumber' ) ); |
828 | 825 | return; |
829 | 826 | } |
830 | 827 | if ( rows + header == 0 || cols == 0 ) { |
831 | | - alert( msg.get( 'wikieditor-toolbar-tool-table-zero' ) ); |
| 828 | + alert( mediaWiki.message( 'wikieditor-toolbar-tool-table-zero' ) ); |
832 | 829 | return; |
833 | 830 | } |
834 | 831 | if ( rows * cols > 1000 ) { |
835 | | - alert( msg.get( 'wikieditor-toolbar-tool-table-toomany', 1000 ) ); |
| 832 | + alert( mediaWiki.message( 'wikieditor-toolbar-tool-table-toomany', 1000 ) ); |
836 | 833 | return; |
837 | 834 | } |
838 | | - var headerText = msg.get( 'wikieditor-toolbar-tool-table-example-header' ); |
839 | | - var normalText = msg.get( 'wikieditor-toolbar-tool-table-example' ); |
| 835 | + var headerText = mediaWiki.message( 'wikieditor-toolbar-tool-table-example-header' ); |
| 836 | + var normalText = mediaWiki.message( 'wikieditor-toolbar-tool-table-example' ); |
840 | 837 | var table = ""; |
841 | 838 | for ( var r = 0; r < rows + header; r++ ) { |
842 | 839 | table += "|-\n"; |
— | — | @@ -958,9 +955,8 @@ |
959 | 956 | </div>\ |
960 | 957 | </fieldset>', |
961 | 958 | init: function() { |
962 | | - var msg = mediaWiki.msg; |
963 | 959 | $(this).find( '[rel]' ).each( function() { |
964 | | - $(this).text( msg.get( $(this).attr( 'rel' ) ) ); |
| 960 | + $(this).text( mediaWiki.message( $(this).attr( 'rel' ) ) ); |
965 | 961 | }); |
966 | 962 | // Set tabindexes on form fields |
967 | 963 | $.wikiEditor.modules.dialogs.fn.setTabindexes( $(this).find( 'input' ).not( '[tabindex]' ) ); |
— | — | @@ -990,7 +986,7 @@ |
991 | 987 | var regex = new RegExp( searchStr, flags ); |
992 | 988 | } catch( e ) { |
993 | 989 | $( '#wikieditor-toolbar-replace-invalidregex' ) |
994 | | - .text( msg.get( 'wikieditor-toolbar-tool-replace-invalidregex', |
| 990 | + .text( mediaWiki.message( 'wikieditor-toolbar-tool-replace-invalidregex', |
995 | 991 | e.message ) ) |
996 | 992 | .show(); |
997 | 993 | return; |
— | — | @@ -1044,7 +1040,7 @@ |
1045 | 1041 | offset = newEnd; |
1046 | 1042 | } |
1047 | 1043 | $( '#wikieditor-toolbar-replace-success' ) |
1048 | | - .text( msg.get( 'wikieditor-toolbar-tool-replace-success', match.length ) ) |
| 1044 | + .text( mediaWiki.message( 'wikieditor-toolbar-tool-replace-success', match.length ) ) |
1049 | 1045 | .show(); |
1050 | 1046 | $(this).data( 'offset', 0 ); |
1051 | 1047 | } else { |
Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.publish.js |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | </div>', |
65 | 65 | init: function() { |
66 | 66 | $(this).find( '[rel]' ).each( function() { |
67 | | - $(this).text( mediaWiki.msg.get( $(this).attr( 'rel' ) ) ); |
| 67 | + $(this).text( mediaWiki.message( $(this).attr( 'rel' ) ) ); |
68 | 68 | }); |
69 | 69 | |
70 | 70 | /* REALLY DIRTY HACK! */ |
Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.preview.js |
— | — | @@ -134,7 +134,7 @@ |
135 | 135 | } |
136 | 136 | } ); |
137 | 137 | |
138 | | - var loadingMsg = mediaWiki.msg.get( 'wikieditor-preview-loading' ); |
| 138 | + var loadingMsg = mediaWiki.message( 'wikieditor-preview-loading' ); |
139 | 139 | context.modules.preview.$preview |
140 | 140 | .add( context.$changesTab ) |
141 | 141 | .append( $( '<div />' ) |
Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.toc.js |
— | — | @@ -510,7 +510,7 @@ |
511 | 511 | return false; |
512 | 512 | } ) |
513 | 513 | .find( 'a' ) |
514 | | - .text( mediaWiki.msg.get( 'wikieditor-toc-hide' ) ); |
| 514 | + .text( mediaWiki.message( 'wikieditor-toc-hide' ) ); |
515 | 515 | $expandControl |
516 | 516 | .addClass( 'wikiEditor-ui-toc-expandControl' ) |
517 | 517 | .append( '<a href="#" />' ) |
— | — | @@ -527,7 +527,7 @@ |
528 | 528 | } ) |
529 | 529 | .hide() |
530 | 530 | .find( 'a' ) |
531 | | - .text( mediaWiki.msg.get( 'wikieditor-toc-show' ) ); |
| 531 | + .text( mediaWiki.message( 'wikieditor-toc-show' ) ); |
532 | 532 | $collapseControl.insertBefore( context.modules.toc.$toc ); |
533 | 533 | context.$ui.find( '.wikiEditor-ui-left .wikiEditor-ui-top' ).append( $expandControl ); |
534 | 534 | } |
Index: trunk/extensions/Vector/modules/ext.vector.editWarning.js |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | $( '#wpSummary' ).data( 'origtext' ) != $( '#wpSummary' ).val() |
37 | 37 | ) { |
38 | 38 | // Return our message |
39 | | - retval = mediaWiki.msg.get( 'vector-editwarning-warning' ); |
| 39 | + retval = mediaWiki.message( 'vector-editwarning-warning' ); |
40 | 40 | } |
41 | 41 | } |
42 | 42 | |
Index: trunk/extensions/Vector/modules/ext.vector.simpleSearch.js |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | } |
37 | 37 | |
38 | 38 | // Placeholder text for SimpleSearch box |
39 | | - $( 'div#simpleSearch > input#searchInput' ).placeholder( mediaWiki.msg.get( 'vector-simplesearch-search' ) ); |
| 39 | + $( 'div#simpleSearch > input#searchInput' ).placeholder( mediaWiki.message( 'vector-simplesearch-search' ) ); |
40 | 40 | |
41 | 41 | // General suggestions functionality for all search boxes |
42 | 42 | $( '#searchInput, #searchInput2, #powerSearchText, #searchText' ) |
— | — | @@ -92,7 +92,7 @@ |
93 | 93 | $(this).show() |
94 | 94 | $label = $( '<div />' ) |
95 | 95 | .addClass( 'special-label' ) |
96 | | - .text( mediaWiki.msg.get( 'vector-simplesearch-containing' ) ) |
| 96 | + .text( mediaWiki.message( 'vector-simplesearch-containing' ).toString() ) |
97 | 97 | .appendTo( $(this) ); |
98 | 98 | $query = $( '<div />' ) |
99 | 99 | .addClass( 'special-query' ) |
Index: trunk/extensions/ProofreadPage/proofread.js |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | pageBody = text; |
53 | 53 | pageFooter = proofreadPageFooter; |
54 | 54 | if( document.editform ) { |
55 | | - document.editform.elements['wpSummary'].value = '/* ' + mediaWiki.msg.get( 'proofreadpage_quality1_category' ) + ' */ '; |
| 55 | + document.editform.elements['wpSummary'].value = '/* ' + mediaWiki.message( 'proofreadpage_quality1_category' ) + ' */ '; |
56 | 56 | } |
57 | 57 | } |
58 | 58 | } |
— | — | @@ -125,15 +125,15 @@ |
126 | 126 | container.innerHTML = '' + |
127 | 127 | '<div id="prp_header" style="">' + |
128 | 128 | '<span style="color:gray;font-size:80%;line-height:100%;">' + |
129 | | - escapeQuotesHTML( mediaWiki.msg.get( 'proofreadpage_header' ) ) + '</span>' + |
| 129 | + escapeQuotesHTML( mediaWiki.message( 'proofreadpage_header' ) ) + '</span>' + |
130 | 130 | '<textarea name="wpHeaderTextbox" rows="2" cols="80" tabindex=1>' + pageHeader + '</textarea><br />' + |
131 | 131 | '<span style="color:gray;font-size:80%;line-height:100%;">' + |
132 | | - escapeQuotesHTML( mediaWiki.msg.get( 'proofreadpage_body' ) ) + '</span></div>' + |
| 132 | + escapeQuotesHTML( mediaWiki.message( 'proofreadpage_body' ) ) + '</span></div>' + |
133 | 133 | '<textarea name="wpTextbox1" id="wpTextbox1" tabindex=1 style="height:' + ( self.DisplayHeight - 6 ) + 'px;">' + |
134 | 134 | pageBody + '</textarea>' + |
135 | 135 | '<div id="prp_footer" style="">' + |
136 | 136 | '<span style="color:gray;font-size:80%;line-height:100%;">' + |
137 | | - escapeQuotesHTML( mediaWiki.msg.get( 'proofreadpage_footer' ) ) + '</span><br />' + |
| 137 | + escapeQuotesHTML( mediaWiki.message( 'proofreadpage_footer' ) ) + '</span><br />' + |
138 | 138 | '<textarea name="wpFooterTextbox" rows="2" cols="80" tabindex=1>' + |
139 | 139 | pageFooter + '</textarea></div>'; |
140 | 140 | } |
— | — | @@ -775,8 +775,8 @@ |
776 | 776 | image.className = 'mw-toolbar-editbutton'; |
777 | 777 | image.src = wgScriptPath + '/extensions/ProofreadPage/button_category_plus.png'; |
778 | 778 | image.border = 0; |
779 | | - image.alt = mediaWiki.msg.get( 'proofreadpage_toggleheaders' ); |
780 | | - image.title = mediaWiki.msg.get( 'proofreadpage_toggleheaders' ); |
| 779 | + image.alt = mediaWiki.message( 'proofreadpage_toggleheaders' ); |
| 780 | + image.title = mediaWiki.message( 'proofreadpage_toggleheaders' ); |
781 | 781 | image.style.cursor = 'pointer'; |
782 | 782 | image.onclick = pr_toggle_visibility; |
783 | 783 | |
— | — | @@ -919,19 +919,19 @@ |
920 | 920 | var text = ''; |
921 | 921 | switch( value ) { |
922 | 922 | case 0: |
923 | | - text = mediaWiki.msg.get( 'proofreadpage_quality0_category' ); |
| 923 | + text = mediaWiki.message( 'proofreadpage_quality0_category' ); |
924 | 924 | break; |
925 | 925 | case 1: |
926 | | - text = mediaWiki.msg.get( 'proofreadpage_quality1_category' ); |
| 926 | + text = mediaWiki.message( 'proofreadpage_quality1_category' ); |
927 | 927 | break; |
928 | 928 | case 2: |
929 | | - text = mediaWiki.msg.get( 'proofreadpage_quality2_category' ); |
| 929 | + text = mediaWiki.message( 'proofreadpage_quality2_category' ); |
930 | 930 | break; |
931 | 931 | case 3: |
932 | | - text = mediaWiki.msg.get( 'proofreadpage_quality3_category' ); |
| 932 | + text = mediaWiki.message( 'proofreadpage_quality3_category' ); |
933 | 933 | break; |
934 | 934 | case 4: |
935 | | - text = mediaWiki.msg.get( 'proofreadpage_quality4_category' ); |
| 935 | + text = mediaWiki.message( 'proofreadpage_quality4_category' ); |
936 | 936 | break; |
937 | 937 | } |
938 | 938 | form.elements['wpSummary'].value = '/* ' + text + ' */ '; |
— | — | @@ -963,7 +963,7 @@ |
964 | 964 | +'<span class="quality1"> <input type="radio" name="quality" value=1 onclick="pr_add_quality(this.form,1)" tabindex=4> </span>' |
965 | 965 | +'<span class="quality3"> <input type="radio" name="quality" value=3 onclick="pr_add_quality(this.form,3)" tabindex=4> </span>' |
966 | 966 | +'<span class="quality4"> <input type="radio" name="quality" value=4 onclick="pr_add_quality(this.form,4)" tabindex=4> </span>'; |
967 | | - f.innerHTML = f.innerHTML + ' ' + escapeQuotesHTML( mediaWiki.msg.get( 'proofreadpage_page_status' ) ); |
| 967 | + f.innerHTML = f.innerHTML + ' ' + escapeQuotesHTML( mediaWiki.message( 'proofreadpage_page_status' ) ); |
968 | 968 | |
969 | 969 | if( !( ( self.proofreadpage_quality == 4 ) || ( ( self.proofreadpage_quality == 3 ) && ( self.proofreadpage_username != proofreadPageUserName ) ) ) ) { |
970 | 970 | document.editform.quality[4].parentNode.style.cssText = 'display:none'; |