r105192 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105191‎ | r105192 | r105193 >
Date:17:13, 5 December 2011
Author:reedy
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf/1.18wmf1/maintenance/dumpInterwiki.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/maintenance/dumpInterwiki.php
@@ -231,8 +231,9 @@
232232 }
233233
234234 function makeLink( $entry, $source ) {
235 - if ( isset( $this->prefixRewrites[$source] ) && isset( $this->prefixRewrites[$source][$entry[0]] ) )
 235+ if ( isset( $this->prefixRewrites[$source] ) && isset( $entry[0] ) && isset( $this->prefixRewrites[$source][$entry[0]] ) ) {
236236 $entry[0] = $this->prefixRewrites[$source][$entry[0]];
 237+ }
237238
238239 if ( !array_key_exists( "iw_prefix", $entry ) ) {
239240 $entry = array( "iw_prefix" => $entry[0], "iw_url" => $entry[1], "iw_local" => $entry[2] );
Property changes on: branches/wmf/1.18wmf1/maintenance/dumpInterwiki.php
___________________________________________________________________
Modified: svn:mergeinfo
240241 Merged /trunk/extensions/WikimediaMaintenance/dumpInterwiki.php:r105191

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105191Fix noise in running dumpInterwiki.php...reedy17:10, 5 December 2011

Status & tagging log