Last modified: 2013-04-22 16:14:35 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 T45251, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43251 - API prop=pageprops ppprop should accept multiple values
API prop=pageprops ppprop should accept multiple values
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Brad Jorsch
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-19 00:19 UTC by merl
Modified: 2013-04-22 16:14 UTC (History)
6 users (show)

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


Attachments

Description merl 2012-12-19 00:19:05 UTC
http://en.wikipedia.org/w/api.php?action=query&ppprop=staticredirect|displaytitle&prop=pageprops&titles=C5H10O2

returns no displaytitle although it exists. staticredirect does not exists in this case.

Requesting only displaytitle returns correct response:
http://en.wikipedia.org/w/api.php?action=query&ppprop=displaytitle&prop=pageprops&titles=C5H10O2
Comment 1 Brad Jorsch 2012-12-19 01:26:57 UTC
ppprop does not take multiple props. In your query, it's actually looking for a prop named "staticredirect|displaytitle".

I don't see why not, since similar parameters like clcategories and pltitles take multiple values, but as it stands it doesn't.
Comment 2 Brad Jorsch 2012-12-31 19:17:54 UTC
Gerrit change #41590.
Comment 3 Yuri Astrakhan 2013-02-20 15:18:05 UTC
merged

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


Navigation
Links