Last modified: 2013-07-22 23:50:23 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 T53821, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51821 - Internal API error while getting backlinks
Internal API error while getting backlinks
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.22.0
All All
: Unprioritized normal (vote)
: ---
Assigned To: Brad Jorsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-22 16:44 UTC by Pietrodn
Modified: 2013-07-22 23:50 UTC (History)
4 users (show)

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


Attachments

Description Pietrodn 2013-07-22 16:44:28 UTC
MediaWiki API gives me an error while getting backlinks. I was doing multiple queries using query-continue.

http://it.wikipedia.org/w/api.php?action=query&prop=revisions&generator=backlinks&gbltitle=Leopold%20Edelsheim&gblcontinue=0|Leopold_Edelsheim|1291063&rvprop=content&redirects

Exception Caught: Internal error in ApiBase::profileDBIn: must be called while profiling the entire module with profileIn()

I got the gblcontinue from here:
http://it.wikipedia.org/w/api.php?action=query&prop=revisions&generator=backlinks&gbltitle=Leopold%20Edelsheim&rvprop=content&redirects
Comment 1 Gerrit Notification Bot 2013-07-22 17:13:29 UTC
Change 75134 had a related patch set uploaded by Anomie:
Fix exception in ApiPageSet

https://gerrit.wikimedia.org/r/75134
Comment 2 Brad Jorsch 2013-07-22 17:14:51 UTC
FYI, the cause of the problem is using a generator that produces redirects and including "redirects" in the query.
Comment 3 Gerrit Notification Bot 2013-07-22 22:37:15 UTC
Change 75134 merged by jenkins-bot:
Fix exception in ApiPageSet

https://gerrit.wikimedia.org/r/75134
Comment 4 Brad Jorsch 2013-07-22 23:50:23 UTC
Fix is merged. It should be deployed to WMF wikis with 1.22wmf12, see https://www.mediawiki.org/wiki/MediaWiki_1.22/Roadmap for the schedule.

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


Navigation
Links