Thread:Project:Support desk/Changing the structure of page’s table of contents/reply

I can't think of a good way to do this (like you could hack the source, the relavent code is in includes/Linker.php, the method tocLine of Linker class [or at least that's what it is in trunk].)