Index: branches/wmf/1.18wmf1/maintenance/dumpInterwiki.php |
— | — | @@ -231,8 +231,9 @@ |
232 | 232 | } |
233 | 233 | |
234 | 234 | 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]] ) ) { |
236 | 236 | $entry[0] = $this->prefixRewrites[$source][$entry[0]]; |
| 237 | + } |
237 | 238 | |
238 | 239 | if ( !array_key_exists( "iw_prefix", $entry ) ) { |
239 | 240 | $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 |
240 | 241 | Merged /trunk/extensions/WikimediaMaintenance/dumpInterwiki.php:r105191 |