Page MenuHomePhabricator

maintenance/dumpLinks.php: Incorrect parameter for Database::select call
Closed, ResolvedPublic

Description

Author: mediawiki-bugzilla

Description:
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' )".


Version: unspecified
Severity: minor

Details

Reference
bz9608

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:40 PM
bzimport set Reference to bz9608.
bzimport added a subscriber: Unknown Object (MLST).