Last modified: 2008-04-05 00:06:15 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 T15442, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13442 - api invalid title passed to langlinks causes internal error
api invalid title passed to langlinks causes internal error
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


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

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.

http://en.wikipedia.org/w/api.php?action=query&prop=langlinks&titles=Manqdsvina
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.


Navigation
Links