The following suggestions appeared on TaviSuggestions. They will not be merged into the main codebase, in order to maintain general consistency with existing wiki implementations. Site admins are welcome to make these changes to their own wiki, however. Thanks to JohnBelmonte for these ideas.
Back to TaviPatches...
(This solution doesnt work as expected with $MaxHeading see below)
Since "===This===" appears more prominent when editing than "=This=", change the code so that more equals signs generate a bigger heading.
if(($level = strlen($result[1])) > $MaxHeading)
{ $level = $MaxHeading ; }
//return new_entity(array('head_start', $level)) .
return new_entity(array('head_start', 6 + 1 - $level)) .
$result[2] .
//new_entity(array('head_end', $level));
new_entity(array('head_end', 6 + 1 - $level));
}
Pages should generally only have one l1 heading, so the engine should disallow it. In defense of the current behavior, it is sufficient for the community to ensure heading levels are correct, just like the community helps tweak spelling and other minor problems.
This keeps things simple and reduces the chance of unintended markup, it is suggested that ==x== and =x= be the only two allowed heading levels.