Last modified: 2012-05-03 02:42:42 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 31759 - Undefined property notice in querypages API
Undefined property notice in querypages API
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: 1.19.0 release
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 31217
  Show dependency treegraph
 
Reported: 2011-10-16 18:20 UTC by Max Semenik
Modified: 2012-05-03 02:42 UTC (History)
6 users (show)

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


Attachments

Description Max Semenik 2011-10-16 18:20:00 UTC
Notice: Undefined property: stdClass::$value in includes/api/ApiQueryQueryPage.php on line 118
Upon visiting api.php?action=query&list=querypage&qppage=BrokenRedirects with a non-empty result set
Comment 1 Sam Reed (reedy) 2011-12-11 16:35:03 UTC
BrokenRedirects, DoubleRedirects and Listredirects all have the same issue, which is just them not setting anything for the value.

Which means the API isn't to blame...

Per the querypage documentation, the modules themselves are at fault

	 * Note that the query itself should return the following three columns:
	 * 'namespace', 'title', and 'value'. 'value' is used for sorting.
	 *
Comment 2 Sam Reed (reedy) 2011-12-11 16:36:00 UTC
r105803

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


Navigation
Links