Last modified: 2008-04-05 00:06:15 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 13442 - api invalid title passed to langlinks causes internal error
api invalid title passed to langlinks causes internal error
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-03-20 02:27 UTC by CBM
Modified: 2008-04-05 00:06 UTC (History)
3 users (show)

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

ApiQueryLangLinks.php patch (373 bytes, patch)
2008-03-20 02:28 UTC, Alex Z.

Description CBM 2008-03-20 02:27:13 UTC
If a single invalid title is passed to a langlinks query, an internal error can result.
Comment 1 Alex Z. 2008-03-20 02:28:59 UTC
Created attachment 4733 [details]
ApiQueryLangLinks.php patch

Patch for ApiQueryLangLinks.php using code stolen from ApiQueryCategories
Comment 2 Bryan Tong Minh 2008-03-20 18:24:25 UTC
Fixed in r32236. This should probably also backported in older releases, but I'll leave that to brion.

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