Tim Starling wrote:
Magnus Manske wrote:
Does it allow for HTML to be rendered in the title?
Hopefully not, that would be unsafe.
Not if it runs though the parser, which my hack does.
More importantly, could it be changed to use the more "wiki standards" (if there is such a thing) {{T|Title}} style?
The language converter has its own syntax, because there was a need for compact representation of characters in different scripts, the simplest of which is literal escaping, e.g. "沒想到8天-{後}-". I don't think changing it would be the right way to go, rather we could add a more verbose synonym to support this quite different application.
That is to say, assuming we support it at all. Like Brion, I'd rather maintain the ability to create links by copying and pasting from the H1 element. The only alternative appears to be to copy the URL and fix the underscores, which is tedious. Even more tedious when the title contains non-ASCII characters and you haven't got a browser which decodes URL escaping for you.
We could conceivably allow freeform titles, but offer the canonical title as a subtitle or footer element. Would that be an acceptable balance between usability for editors and presentation quality?
My hack does that (header). The JavaScript from User:Datrio doesn't, but probably could be expanded.
Magnus