r48972 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48971‎ | r48972 | r48973 >
Date:21:01, 28 March 2009
Author:demon
Status:ok
Tags:
Comment:
(bug 17964) Don't make namespaceDupes fail if someone actually has an empty interwiki table.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/maintenance/namespaceDupes.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/namespaceDupes.php
@@ -115,6 +115,7 @@
116116
117117 private function getInterwikiList() {
118118 $result = $this->db->select( 'interwiki', array( 'iw_prefix' ) );
 119+ $prefixes = array();
119120 while( $row = $this->db->fetchObject( $result ) ) {
120121 $prefixes[] = $row->iw_prefix;
121122 }
Index: trunk/phase3/RELEASE-NOTES
@@ -298,6 +298,7 @@
299299 * (bug 17374) Special:Export no longer exports two copies of the same page
300300 * (bug 18190) Proper parsing in MediaWiki:Sharedupload message
301301 * (bug 17617) HTML cleanup for ImagePage
 302+* (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
302303
303304 == API changes in 1.15 ==
304305 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions

Status & tagging log