Last modified: 2013-10-08 08:51:15 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 T56882, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54882 - wikibase_item missing for some results of prop=pageprops
wikibase_item missing for some results of prop=pageprops
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-02 16:01 UTC by Lokal_Profil
Modified: 2013-10-08 08:51 UTC (History)
7 users (show)

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


Attachments

Description Lokal_Profil 2013-10-02 16:01:35 UTC
Normally action=query&prop=pageprops returns the wikibase_item of an article if known.

This is however not always the case.

Example:
https://sv.wikipedia.org/w/api.php?action=query&prop=pageprops&format=json&titles=Johan%20Ledung|Torsten%20Molander|Anna%20Molander|Ann%20Sid%C3%A9n

Finds wikibase_item for:
Torsten Molander Q10700412
Anna Molander Q15036083 (recently created)

but not for:
Johan Ledung Q5943124
Ann Sidén Q4978465 (recently changed)
Comment 1 Sam Reed (reedy) 2013-10-02 16:03:46 UTC
CC'ing Wikidata list.

Needs confirming if this is a core/api bug or if it's Wikibase related etc and moving and such
Comment 2 Brad Jorsch 2013-10-02 16:31:08 UTC
It's certainly not a core API bug. prop=pageprops just lists what's in the page_props table of the database, and I just confirmed that the table on svwiki doesn't currently contain any "wikibase_item" prop for Johan Ledung. It does now contain a "wikibase_item" prop for Ann Sidén, and the linked API query is correctly returning this.

So the bug must be in page_props not having a "wikibase_item" prop populated for whatever reason. I'll assign this to Wikidata so the people who know how that works can figure out why that's not happening.
Comment 3 Lydia Pintscher 2013-10-08 08:51:15 UTC
A null edit should fix this. In this case we can't do much about it and I'll close this. Please reopen if a null edit does not fix it for you.

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


Navigation
Links