daniel added a comment. > I don't see why that would be the case. It seems to me you are under the > misconception that we purge caches for individual languages, but we don't > (and can't).
True, we don't right now. But that is being worked on. Then again, once we have proper dependency tracking of derived resources, that will itself replace the entity_usage table (which is just tracking of entities by derived resources). > Once MediaWiki decides that the page caches need to get cleared, we throw > away all entity usages rows (effectively, as we purge all that are older than > wfTimestampNow()) and then insert the new usages of the (at that point) > single new ParserCache entry. Yes, that was my initial plan. But that means we have to be sure that the re-rendering and putting-into-the-parser-cache happens after the save & purge. Which, surprisingly, it often doesn't. In particular, ApiStashEdit stores the new rendered version into the parser cache before it gets saved. And it will do so even for previews that never get saved. TASK DETAIL https://phabricator.wikimedia.org/T124737 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: daniel Cc: Aklapper, StudiesWorld, JanZerebecki, aude, daniel, Lydia_Pintscher, hoo, Wikidata-bugs, Mbch331 _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
