Tweak to avoid duplication of special pages list into every language file.
authorRaimond Spekking <raymond@users.mediawiki.org>
Wed, 5 Mar 2008 17:20:58 +0000 (17:20 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Wed, 5 Mar 2008 17:20:58 +0000 (17:20 +0000)
languages/messages/MessagesDe.php
languages/messages/MessagesEn.php
maintenance/language/messageTypes.inc
maintenance/language/messages.inc

index 0a0846c..5a0a4d7 100644 (file)
@@ -1393,69 +1393,19 @@ auf die bereits die erste Weiterleitung zeigen sollte.',
 * special:specialpagename
 Alle anderen Zeilen werden als normaler (Wiki)Text ausgewertet -->
 == Allgemeine Listen ==
-* special:Allpages
-* special:Prefixindex
-* special:Categories
-* special:Disambiguations
-* special:Listredirects
+{{int:specialpages-tpl-lists}}
 
 == Wartungslisten ==
-* special:Mostcategories
-* special:Fewestrevisions
-* special:Mostrevisions
-* special:BrokenRedirects
-* special:Deadendpages
-* special:DoubleRedirects
-* special:Longpages
-* special:Mostlinkedcategories
-* special:Mostimages
-* special:Mostlinked
-* special:Mostlinkedtemplates
-* special:Popularpages
-* special:Ancientpages
-* special:Lonelypages
-* special:Shortpages
-* special:Withoutinterwiki
-* special:Protectedpages
-* special:Protectedtitles
-* special:Uncategorizedcategories
-* special:Uncategorizedimages
-* special:Uncategorizedpages
-* special:Uncategorizedtemplates
-* special:Unusedcategories
-* special:Unusedimages
-* special:Unusedtemplates
+{{int:specialpages-tpl-maint}}
 
 == Werkzeuge ==
-* special:Export
-* special:Filepath
-* special:MIMEsearch
-* special:Randompage
-* special:Randomredirect
-* special:Search
-* special:Upload
+{{int:specialpages-tpl-tools}}
 
 == Logbücher und Informationen ==
-* special:Ipblocklist
-* special:Booksources
-* special:Imagelist
-* special:Log
-* special:Newpages
-* special:Newimages
-* special:Recentchanges
-* special:Statistics
-* special:Allmessages
-* special:Contributions
-* special:Listusers
-* special:Version
-* special:Wantedcategories
-* special:Wantedpages
-* special:Whatlinkshere
+{{int:specialpages-tpl-info}}
 
 == Persönliche Seiten ==
-* special:Preferences
-* special:Watchlist
-* special:Userlogin',
+{{int:specialpages-tpl-pers}}',
 
 # Book sources
 'booksources'               => 'ISBN-Suche',
index eab1b9d..dee2713 100644 (file)
@@ -1722,13 +1722,37 @@ The [http://meta.wikimedia.org/wiki/Help:Job_queue job queue] length is '''\$7''
 * special:specialpagename
 All other lines are rendered as normal (wiki)text -->
 == General page lists ==
+{{int:specialpages-tpl-lists}}
+
+== Maintenance page lists ==
+{{int:specialpages-tpl-maint}}
+
+== Tools ==
+{{int:specialpages-tpl-tools}}
+
+== Logs and information ==
+{{int:specialpages-tpl-info}}
+
+== Personal pages ==
+{{int:specialpages-tpl-pers}}',
+
+'specialpages-tpl-lists'    => '
 * special:Allpages
 * special:Prefixindex
 * special:Categories
 * special:Disambiguations
-* special:Listredirects
+* special:Listredirects', # don't translate or duplicate this message to other languages
 
-== Maintenance page lists ==
+'specialpages-tpl-tools'    => '
+* special:Export
+* special:Filepath
+* special:MIMEsearch
+* special:Randompage
+* special:Randomredirect
+* special:Search
+* special:Upload', # don't translate or duplicate this message to other languages
+
+'specialpages-tpl-maint'     => '
 * special:Mostcategories
 * special:Fewestrevisions
 * special:Mostrevisions
@@ -1753,18 +1777,8 @@ All other lines are rendered as normal (wiki)text -->
 * special:Uncategorizedtemplates
 * special:Unusedcategories
 * special:Unusedimages
-* special:Unusedtemplates
-
-== Tools ==
-* special:Export
-* special:Filepath
-* special:MIMEsearch
-* special:Randompage
-* special:Randomredirect
-* special:Search
-* special:Upload
-
-== Logs and information ==
+* special:Unusedtemplates', # don't translate or duplicate this message to other languages
+'specialpages-tpl-info'     => '
 * special:Ipblocklist
 * special:Booksources
 * special:Imagelist
@@ -1779,12 +1793,11 @@ All other lines are rendered as normal (wiki)text -->
 * special:Version
 * special:Wantedcategories
 * special:Wantedpages
-* special:Whatlinkshere
-
-== Personal pages ==
+* special:Whatlinkshere', # don't translate or duplicate this message to other languages
+'specialpages-tpl-pers'     => '
 * special:Preferences
 * special:Watchlist
-* special:Userlogin',
+* special:Userlogin', # don't translate or duplicate this message to other languages
 
 # Book sources
 'booksources'               => 'Book sources',
@@ -2079,7 +2092,7 @@ $1',
 'sp-contributions-username'    => 'IP Address or username:',
 'sp-contributions-submit'      => 'Search',
 'sp-contributions-explain'     => '', # only translate this message to other languages if you have to change it
-'sp-contributions-footer'      => '-', # don't translate or duplicate this message to other languages
+'sp-contributions-footer'      => '-',
 'sp-contributions-footer-anon' => '-', # don't translate or duplicate this message to other languages
 
 'sp-newimages-showfrom' => 'Show new files starting from $1',
index d5a07f8..478343c 100644 (file)
@@ -108,6 +108,11 @@ $wgIgnoredMessages = array(
        'talkpagetext',
        'trackback',
        'trackbackexcerpt',
+       'specialpages-tpl-lists',
+       'specialpages-tpl-tools',
+       'specialpages-tpl-maint',
+       'specialpages-tpl-info',
+       'specialpages-tpl-pers',
 );
 
 /** Optional messages, which may be translated only if changed in the other language. */
index cca89de..edf20ce 100644 (file)
@@ -1126,6 +1126,11 @@ $wgMessageStructure = array(
                'specialpages-other',
                'restrictedpheading',
                'specialpages-tpl',
+               'specialpages-tpl-lists',
+               'specialpages-tpl-tools',
+               'specialpages-tpl-maint',
+               'specialpages-tpl-info',
+               'specialpages-tpl-pers',
        ),
        'booksources' => array(
                'booksources',