Jdlrobson added a project: Readers-Web-Backlog (Kanbanana-FY-2021-22). Jdlrobson added a comment.
@cscott WikidataPageBanner is using Parser internals in its code. I'm surprised it worked this long without problems :-( https://gerrit.wikimedia.org/g/mediawiki/extensions/WikidataPageBanner/+/162a33836470e9dfab9501a9602b5edc1b67140e/includes/WikidataPageBanner.php#210 I am going to see if I can make that a bit nicer. Is there an elegant way for extensions to disable table of contents on a page to provide their own? Perhaps, WikidataPageBanner should be setting __NOTOC__ on all pages. Workarounds: - __NOTOC__ should work as a workaround here, provided __FORCETOC__ is not called. - Add `#toc { display: none; }` to MediaWiki:Common.css I'd recommend Wikivoyage communities use __NOTOC__ regardless of what we end up with here. Note, it's Thursday so unfortunately a fix will likely have to wait until next week but I'll make sure that gets prioritized. In T295003#7480877 <https://phabricator.wikimedia.org/T295003#7480877>, @Omondi wrote: > https://fr.wikivoyage.org/wiki/Li%C3%A8ge in French and English has a table but not in other languages. I have tried to found an article in English without a table but without success @Omondi it looks like French Wikipedia is calling __FORCETOC__ in https://fr.wikivoyage.org/w/index.php?title=Mod%C3%A8le:Banni%C3%A8re_page&action=edit removing that should address this problem for you. @Andyrom75 let me know if adding __NOTOC__ to https://en.wikivoyage.org/w/index.php?title=Template:pagebanner is not practical. TASK DETAIL https://phabricator.wikimedia.org/T295003 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jdlrobson Cc: Jdlrobson, Atsirlin, cscott, Andyrom75, Omondi, SHB2000, Aklapper, bwang, cjming, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, LawExplorer, Winter, _jensen, rosalieper, Scott_WUaS, Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org