Last modified: 2012-05-03 02:42:42 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 T33759, the corresponding Phabricator task for complete and up-to-date bug report information.
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