Nicolas_Raoul added a comment. The concept of TOC is built into MediaWiki (https://www.mediawiki.org/wiki/Manual:Table_of_contents) so I guess that including the TOC in the banner via the extension could make sense, rather than doing it manually. By the way, only level 1 section names are shown in the banner TOC, so no TOC for sub-sections, which means deep-linking to a sub-section is difficult for the average user. Wikivoyage has a limited number of sections, all of which have short names. Wikipedia for instance does not have these rules, so we have to think about cases when there are many sections with long names.
Not sure you want that too in the extension, but Wikivoyage's banners also have a third component, which is the "badges" you can see at the upper-right of this article for instance: https://en.wikivoyage.org/wiki/Bali There are various "badges" like: - UNESCO World heritage site - Star article - Previous "destination of the month" TASK DETAIL https://phabricator.wikimedia.org/T77925 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Nicolas_Raoul Cc: Aklapper, Jdlrobson, LtPowers, Wrh2, Nicolas_Raoul, Shaundd, Matroc, Florian, FDMS, KLans_WMF, Lydia_Pintscher, Deskana, Wikidata-bugs, aude _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs