Trying not to destroy Contents infobox

Discussion about the site's wikis, including bugs/issues encountered.

Moderator: Moderators

Post Reply
User avatar
jeffythedragonslayer
Posts: 344
Joined: Thu Dec 09, 2021 12:29 pm

Trying not to destroy Contents infobox

Post by jeffythedragonslayer »

Does anyone know how MediaWiki decides whether or not to draw a Table of Contents infobox on a wiki page? I've been trying to move the definition of the "Tile Layer" program to the top of the page here (below the title), like where the definition for things is on most of the other wiki pages, which did work:

https://www.nesdev.org/wiki/Tile_Layer

But when I tried to delete the "What is it?" section (because we don't need it anymore) the preview shows me that doing so destroys the infobox.
User avatar
Jarhmander
Formerly ~J-@D!~
Posts: 569
Joined: Sun Mar 12, 2006 12:36 am
Location: Rive nord de Montréal

Re: Trying not to destroy Contents infobox

Post by Jarhmander »

((λ (x) (x x)) (λ (x) (x x)))
User avatar
jeffythedragonslayer
Posts: 344
Joined: Thu Dec 09, 2021 12:29 pm

Re: Trying not to destroy Contents infobox

Post by jeffythedragonslayer »

Yes thanks it does sound like MediaWiki auto-generates the TOC when you have three or more headings. I just wanted to make sure I wasn't accidentally deleting something, on second thought probably isn't worth having the TOC around on tiny articles anyway.
Post Reply