Last modified: 2009-03-28 21:01:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19964, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17964 - namespaceDupes.php assumes all wikis have a interwiki table with at least one row
namespaceDupes.php assumes all wikis have a interwiki table with at least one...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.15.x
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-13 13:11 UTC by Dan Jacobson
Modified: 2009-03-28 21:01 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Jacobson 2009-03-13 13:11:15 UTC
namespaceDupes.php thinks all wikis have a interwiki table. But that is not always
the case for older wikis even though they have run update.php faithfully even thru 1.15:

$ php namespaceDupes.php
Warning: Invalid argument supplied for foreach() in /home/jidanni/phase3/maintenance/namespaceDupes.php on line 59
Comment 1 Dan Jacobson 2009-03-14 02:51:34 UTC
Yes, via the update.php, all wikis will have the table.
However, it never occured to the script that the table might be empty,
as the contents of that table are the choice of the administrator.
Comment 2 Dan Jacobson 2009-03-14 03:26:42 UTC
(E.g., following the advice of Bug #12200, the sysop might have just done TRUNCATE TABLE wiki_interwiki;)
Comment 3 Chad H. 2009-03-28 21:01:57 UTC
Fixed in r48972

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links