Page MenuHomePhabricator

Can't access certain Wikidata items in client
Closed, ResolvedPublic

Description

For certain Wikidata items, it's not possible to access the entities and properties in the client via the parser function or with Lua. It says "entity not found".

https://www.wikidata.org/wiki/Q604192

https://www.wikidata.org/wiki/Q738809

Checking in the wb_entity_per_page table, these items are missing. A total of ~40,000 entities are missing from the table and thus would have the same issue. wb_entity_per_page is used in the lookup query, with a db join.


Version: master
Severity: normal

Details

Reference
bz48506

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:38 AM
bzimport set Reference to bz48506.

the solution is to run the rebuild entity per page script. it *might* work as-is, though could use a few simple improvements before trying to run (based on experience with the rebuild terms search key)

we can run the script once the new code is deployed next wednesday

  • Bug 49332 has been marked as a duplicate of this bug. ***

(In reply to comment #2)

we can run the script once the new code is deployed next wednesday

That should be true now. Please run the script. Thanks!

Assigning this to Reedy to get on his radar for this week.

(In reply to comment #5)

Assigning this to Reedy to get on his radar for this week.

More than one week is over, would be nice to get the script running and the missing entries in that table to have a full working #property on wikipedia. Thanks!

Err. I thought this was the one I ran last week, and accidentally broke stuff?

If it's still broken, then that means the script didn't work

everything should be working now. the script rebuilt the table.

If someone finds a specific example where there still is a problem, please reopen and let us know.

Yes, after a purge of the (local) page the wikidata value is there. Thanks.

Closing then as it seems to be working fine.