Last modified: 2007-04-17 14:23:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9608 - maintenance/dumpLinks.php: Incorrect parameter for Database::select call
maintenance/dumpLinks.php: Incorrect parameter for Database::select call
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-04-17 13:43 UTC by Karsten Hiddemann
Modified: 2007-04-17 14:23 UTC (History)
0 users

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


Description Karsten Hiddemann 2007-04-17 13:43:16 UTC
The Database::select() statement in maintenance/dumpLinks.php, which is passed
to $result, uses "array( 'ORDER BY page_id' )" for the $options parameter. That
parameter is supposed to be an associative array, though, the way it's now the
ORDER BY statement gets ignored.

Fix: replace it with "array( 'ORDER BY' => 'page_id' )".
Comment 1 Greg Sabino Mullane 2007-04-17 14:23:26 UTC
Thanks, fixed in r21325

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