thiemowmde renamed this task from "mw.wikibase.entity: Use __index to lazy register entity usages" to "[Tracking] Lazy register fine-grained usage tracking in generic Lua getters via __index". thiemowmde updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
Use __index to lazy register entity usages when community code calls mw.wikibase.entity.
We should only track an all usage for an entity table loaded via [[ https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua#mw.wikibase.getEntity | `mw.wikibase.getEntity` ]], if the data on it is actually used. This can (later on?) be expanded, along with T151717, to track the most specific usages only.
[] https://gerrit.wikimedia.org/r/#/c/371651 got reverted and must be re-submitted
[x] Enable this change (fine grained Lua tracking) in the settings for all statement usage test wikis. **This step needs to be done before the next:** Otherwise some/ most of the statement usages from the test wikis will disappear again.
We should only track an all usage for an entity table loaded via [[ https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua#mw.wikibase.getEntity | `mw.wikibase.getEntity` ]], if the data on it is actually used. This can (later on?) be expanded, along with T151717, to track the most specific usages only.
...
[x] Change the `disabledUsageAspects` setting: `'disabledUsageAspects' => [ 'D' => 'O', 'C' => 'O' ]` (disabled description+statement usages) / `'disabledUsageAspects' => [ 'D' => 'O' ]` (disabled description usages).[] https://gerrit.wikimedia.org/r/#/c/371651 got reverted and must be re-submitted
[x] Enable this change (fine grained Lua tracking) in the settings for all statement usage test wikis. **This step needs to be done before the next:** Otherwise some/ most of the statement usages from the test wikis will disappear again.
...
TASK DETAIL
EMAIL PREFERENCES
To: eranroz, thiemowmde
Cc: Stashbot, Bawolff, thiemowmde, gerritbot, Halfak, Aklapper, daniel, Lydia_Pintscher, aude, Liuxinyu970226, CennoxX, Scott_WUaS, Ltrlg, Oliv0, Izno, eranroz, PokestarFan, Doc_James, hoo, Lahi, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Wikidata-bugs, Mbch331
Cc: Stashbot, Bawolff, thiemowmde, gerritbot, Halfak, Aklapper, daniel, Lydia_Pintscher, aude, Liuxinyu970226, CennoxX, Scott_WUaS, Ltrlg, Oliv0, Izno, eranroz, PokestarFan, Doc_James, hoo, Lahi, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Wikidata-bugs, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs