Index: trunk/extensions/WikimediaMaintenance/dumpInterwiki.php |
— | — | @@ -235,8 +235,6 @@ |
236 | 236 | } |
237 | 237 | } |
238 | 238 | |
239 | | - # ------------------------------------------------------------------------------------------ |
240 | | - |
241 | 239 | /** |
242 | 240 | * Executes part of an INSERT statement, corresponding to all interlanguage links to a particular site |
243 | 241 | * |
— | — | @@ -271,12 +269,6 @@ |
272 | 270 | array_key_exists( $entry['iw_prefix'], $this->prefixRewrites[$source] ) ) { |
273 | 271 | $entry['iw_prefix'] = $this->prefixRewrites[$source][$entry['iw_prefix']]; |
274 | 272 | } |
275 | | - if ( !array_key_exists( "iw_local", $entry ) ) { |
276 | | - $entry["iw_local"] = 0; |
277 | | - } |
278 | | - if ( !array_key_exists( "iw_url", $entry ) ) { |
279 | | - return; |
280 | | - } |
281 | 273 | if ( $this->dbFile ) { |
282 | 274 | $this->dbFile->set( "{$source}:{$entry['iw_prefix']}", trim( "{$entry['iw_local']} {$entry['iw_url']}" ) ); |
283 | 275 | } else { |