r110517 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110516‎ | r110517 | r110518 >
Date:20:18, 1 February 2012
Author:reedy
Status:ok
Tags:
Comment:
More null here too
Modified paths:
  • /trunk/extensions/WikimediaMaintenance/dumpInterwiki.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikimediaMaintenance/dumpInterwiki.php
@@ -278,7 +278,7 @@
279279 $entry['iw_prefix'] = $this->prefixRewrites[$source][$entry['iw_prefix']];
280280 }
281281 if ( !array_key_exists( "iw_local", $entry ) ) {
282 - $entry["iw_local"] = 0;
 282+ $entry["iw_local"] = null;
283283 }
284284 if ( !array_key_exists( "iw_url", $entry ) ) {
285285 $entry["iw_url"] = '';

Status & tagging log