daniel added a comment.

A wikidata change triggers links updates as follows:

  • ChangeHandler::handleChange calls WikiPageUpdater::scheduleRefreshLinks
  • WikiPageUpdater::scheduleRefreshLinks schedules a RefreshLinksJob
  • RefreshLinksJob::runForTitle() then...
    • re-parses the page (hopefully - the interaction with the parser cache is somewhat complex. But since the page itself is getting re-rendered, this part seems to work)
    • calls WikitextContent::getSecondaryDataUpdates, which returns a LinksUpdate
    • calls LinksUpdate::doUpdate, which updates the database, including the categorylinks table

My suspicion is that the problem is with the category page itself being cached in the CDN. Perhaps the HTMLCacheUpdateJob triggered by PageUpdater should have the recursive flag set.

If the CDN cache is not the problem, then the issue may be with RefreshLinksJob using an old, cached ParserOutput - but then I don't see how the ParserOutput gets updated at all.


TASK DETAIL
https://phabricator.wikimedia.org/T173339

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: daniel, aaron, Mike_Peel, zhuyifei1999, Lea_Lacroix_WMDE, Lydia_Pintscher, Yann, Agabi10, thiemowmde, Aklapper, Jarekt, PokestarFan, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Poyekhali, Wong128hk, Wikidata-bugs, aude, El_Grafo, Dinoguy1000, Steinsplitter, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to