Last modified: 2012-04-17 18:55:09 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 T38042, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36042 - The parameter show causes an error in blocks API module
The parameter show causes an error in blocks API module
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-17 18:51 UTC by Svick
Modified: 2012-04-17 18:55 UTC (History)
4 users (show)

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


Attachments

Description Svick 2012-04-17 18:51:35 UTC
The following query:

https://en.wikipedia.org/w/api.php?action=query&list=blocks&bkshow=ip

causes “Wikimedia Foundation Error” with the details:

PHP fatal error in /usr/local/apache/common-local/php-1.19/includes/api/ApiQueryBlocks.php line 128:
Call to a member function addQuotes() on a non-object 

If I remove the show parameter, it seems to work correctly.
Comment 1 Sam Reed (reedy) 2012-04-17 18:53:09 UTC
Fine on 1.20wmf1 https://www.mediawiki.org/w/api.php?action=query&list=blocks&bkshow=ip
Comment 2 Sam Reed (reedy) 2012-04-17 18:55:09 UTC
r114941

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


Navigation
Links