Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -565,8 +565,8 @@ |
566 | 566 | 'userjsyoucanpreview', |
567 | 567 | 'usercsspreview', |
568 | 568 | 'userjspreview', |
569 | | - 'globalcsspreview', |
570 | | - 'globaljspreview', |
| 569 | + 'sitecsspreview', |
| 570 | + 'sitejspreview', |
571 | 571 | 'userinvalidcssjstitle', |
572 | 572 | 'updated', |
573 | 573 | 'note', |
Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1883,11 +1883,11 @@ |
1884 | 1884 | if ( $this->isCssJsSubpage || $this->mTitle->isCssOrJsPage() ) { |
1885 | 1885 | $level = 'user'; |
1886 | 1886 | if ( $this->mTitle->getNamespace() == NS_MEDIAWIKI ) { |
1887 | | - $level = 'global'; |
| 1887 | + $level = 'site'; |
1888 | 1888 | } |
1889 | 1889 | |
1890 | 1890 | # Used messages to make sure grep find them: |
1891 | | - # usercsspreview, userjspreview, globalcsspreview, globaljspreview |
| 1891 | + # Messages: usercsspreview, userjspreview, sitecsspreview, sitejspreview |
1892 | 1892 | if (preg_match( "/\\.css$/", $this->mTitle->getText() ) ) { |
1893 | 1893 | $previewtext = "<div id='mw-{$level}csspreview'>\n" . wfMsg( "{$level}csspreview" ) . "\n</div>"; |
1894 | 1894 | $class = "mw-code mw-css"; |
Index: trunk/phase3/languages/messages/MessagesQqq.php |
— | — | @@ -841,8 +841,8 @@ |
842 | 842 | 'userjsyoucanpreview' => 'Text displayed on every js page.', |
843 | 843 | 'usercsspreview' => 'Text displayed on preview of every user .css subpage', |
844 | 844 | 'userjspreview' => 'Text displayed on preview of every user .js subpage', |
845 | | -'globalcsspreview' => 'Text displayed on preview of .css pages in MediaWiki namespace', |
846 | | -'globaljspreview' => 'Text displayed on preview of .js pages in MediaWiki namespace', |
| 845 | +'sitecsspreview' => 'Text displayed on preview of .css pages in MediaWiki namespace', |
| 846 | +'sitejspreview' => 'Text displayed on preview of .js pages in MediaWiki namespace', |
847 | 847 | 'updated' => '{{Identical|Updated}}', |
848 | 848 | 'previewnote' => 'Note displayed when clicking on Show preview', |
849 | 849 | 'editing' => "Shown as page title when editing a page. \$1 is the name of the page that is being edited. Example: \"''Editing Main Page''\".", |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1300,9 +1300,9 @@ |
1301 | 1301 | '''It has not yet been saved!'''", |
1302 | 1302 | 'userjspreview' => "'''Remember that you are only testing/previewing your user JavaScript.''' |
1303 | 1303 | '''It has not yet been saved!'''", |
1304 | | -'globalcsspreview' => "'''Remember that you are only previewing this global CSS.''' |
| 1304 | +'sitecsspreview' => "'''Remember that you are only previewing this global CSS.''' |
1305 | 1305 | '''It has not yet been saved!'''", |
1306 | | -'globaljspreview' => "'''Remember that you are only previewing this global JavaScript code.''' |
| 1306 | +'sitejspreview' => "'''Remember that you are only previewing this global JavaScript code.''' |
1307 | 1307 | '''It has not yet been saved!'''", |
1308 | 1308 | 'userinvalidcssjstitle' => "'''Warning:''' There is no skin \"\$1\". |
1309 | 1309 | Custom .css and .js pages use a lowercase title, e.g. {{ns:user}}:Foo/vector.css as opposed to {{ns:user}}:Foo/Vector.css.", |