On Wed, Mar 5, 2008 at 1:16 PM, Mark Clements gmane@kennel17.co.uk wrote:
If no string is defined, then hyphens become spaces and each word is capitalised (or rather, put into appropriate title-case for the interface language).
I don't see any reason to avoid our usual method of printing messages that <arent-defined>. It's ugly, but it should be, because something or other has broken. I doubt it would be an issue anyway, so adding special logic to handle it is pointless and bloaty.
A global variable $wgSpecialPageSectionOverrides allows sections to be overridden if necessary (key is name of special page, value is new section to put it in).
I'd say just go with a hook in the SpecialPage constructor. It seems simpler and more flexible. I don't think such a narrow feature needs its own config variable.