Last modified: 2014-11-10 14:48:08 UTC
Track usage of entities on client pages in a database table (on the client wiki). Usages that should/could be tracked: * the item linked on wikidata (already tracked on the repo side) * other items referenced explicitly on the wiki page * items used indirectly, e.g. because their label is shown on a page * properties used to access statements of items on a page There should be an abstraction layer that allows code to access the list of entities used by a given page, and conversely, the list of pages using a given entity on a given wiki.
Related URL: https://gerrit.wikimedia.org/r/59412 (Gerrit Change I50dbac5760ec5cb331d3372545f1eac4e53a19bd)
Related URL: https://gerrit.wikimedia.org/r/59413 (Gerrit Change Ide20d01f2c38047e6a640f1b3910df3b3cc9e69a)
https://gerrit.wikimedia.org/r/59412 (Gerrit Change I50dbac5760ec5cb331d3372545f1eac4e53a19bd) | change APPROVED and MERGED [by Aude]
https://gerrit.wikimedia.org/r/59413 (Gerrit Change Ide20d01f2c38047e6a640f1b3910df3b3cc9e69a) | change APPROVED and MERGED [by Aude]
Notes from meeting: - design database schema for service that registers where data is used (keep in mind difference between tracking on a single client vs. global tracking); figure out in which detail usage is tracked (eg referenced explicitely, implicitely or indirectly) -> 13 points - implement the service - hook up property parser and Lua functions to record usage -> 13 points (against a dummy interface; dumb version that includes all referenced entities and not filtering by what is actually being used) - changes should trigger a purge of pages that use the changed data - dispatcher needs to figure out which clients to send a change to (as it is no longer enough to send it to all clients that have a sitelink for a given item) - write API module that gives a list of pages that use a given item
Made individual bugs from the meeting notes (see blockers).
*** Bug 64509 has been marked as a duplicate of this bug. ***