Last modified: 2007-04-17 14:23:26 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 T11608, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9608 - maintenance/dumpLinks.php: Incorrect parameter for Database::select call
maintenance/dumpLinks.php: Incorrect parameter for Database::select call
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links