r19198 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19197‎ | r19198 | r19199 >
Date:05:54, 13 January 2007
Author:brion
Status:old
Tags:
Comment:
use full specials list; fixes bug 3529
Modified paths:
  • /trunk/phase3/maintenance/dumpInterwiki.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/dumpInterwiki.inc
@@ -52,15 +52,10 @@
5353 # List of all database names
5454 $dblist = array_map( "trim", file( "/home/wikipedia/common/all.dblist" ) );
5555
56 - # Special-case hostnames
57 - $specials = array(
58 - 'sourceswiki' => 'sources.wikipedia.org',
59 - 'quotewiki' => 'wikiquote.org',
60 - 'textbookwiki' => 'wikibooks.org',
61 - 'sep11wiki' => 'sep11.wikipedia.org',
62 - 'metawiki' => 'meta.wikimedia.org',
63 - 'commonswiki' => 'commons.wikimedia.org',
64 - );
 56+ # Special-case databases
 57+ $specials = array_flip(
 58+ array_map( "trim",
 59+ file( "/home/wikipedia/common/special.dblist" ) ) );
6560
6661 # Extra interwiki links that can't be in the intermap for some reason
6762 $extraLinks = array(

Follow-up revisions

RevisionCommit summaryAuthorDate
r72394Converting dumpInterwiki.php into new Maintenance. In two steps to get better...platonides21:32, 4 September 2010