Jdlrobson added subscribers: EBernhardson, MaxSem.
Jdlrobson added a comment.


  So here are some facts
  
  - On pages impacted by the bug, when queried ParserOutput->getTOCEnabled 
returned false despite a table of contents being rendered in the page with no 
sign of NOTOC.
  - Pages impacted by bug only surfaced 1-2 weeks after the template was 
updated suggesting either the API or a background job is updating the value
  
  @MaxSem @EBernhardson my theory is that there is a job somewhere which calls 
setTOCEnabled on the ParserOutput and this gets stored in cache. I consider 
this cache pollution.
  
  There doesn't seem to be 
  too many users of this 
<https://github.com/search?q=org%3Awikimedia+setTOCEnabled&type=Code> so I 
figure this is either caused by the MobileFrontend API or CirrusSearch 
Updater.php 
<https://github.com/wikimedia/mediawiki-extensions-CirrusSearch/blob/5ee60282457a985d87d49da0815a2e308aa837ad/includes/Updater.php>
  
  Any theories?

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

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

To: Jdlrobson
Cc: MaxSem, EBernhardson, gerritbot, BBlack, faidon, Tgr, jcrespo, Krenair, 
Legoktm, LtPowers, mark, Wrh2, Sumit, Jdlrobson, Atsirlin, Aklapper, 
TerraCodes, Mschon, D3r1ck01, Izno, Wikidata-bugs, aude, Lydia_Pintscher, 
Arlolra, Jackmcbarn, Mbch331, Jay8g



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to