Jdlrobson added a comment.

  In https://phabricator.wikimedia.org/T121135#2182349, @Wrh2 wrote:
  
  > Cache is cleared fairly regularly even if articles aren't edited - I've 
made minor updates to Template:Pagebanner numerous times over the past months, 
which forces a cache flush of all articles with page banners.
  >
  > https://en.wikivoyage.org/wiki/Kedung_Kayang says it was last edited on 10 
March 2016 and I'm seeing an in-article TOC.
  
  
  I'm not too familiar with template logic but I see in 
https://en.wikivoyage.org/wiki/Template:Pagebanner:
  
  > | toc={{#ifeq: {{{notoc | }}} | true | no | yes }} |
  
  can you explain what this means?
  It seems to me that when I pass toc=no or toc=false I get a table of contents 
in the HTML - https://en.wikivoyage.org/wiki/User:Jdlrobson/test
  
  This seems suspicious to me and might be having unexpected side effects 
somewhere in the stack.
  Can you update the template so that it omits the parameter when not provided 
and applies __NOTOC__? e.g. https://en.wikivoyage.org/wiki/User:Jdlrobson/test2
  
  Let's see if that gets us anywhere...
  
  {{PAGEBANNER:Mena-asia_default_banner.jpg|toc=true}} will render the default 
template.

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

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

To: Jdlrobson
Cc: BBlack, faidon, Tgr, jcrespo, Krenair, Legoktm, LtPowers, mark, Wrh2, 
Sumit, Jdlrobson, Atsirlin, Aklapper, TerraCodes, 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