On 4/11/06, Magnus Manske magnus.manske@web.de wrote:
Tim Starling wrote:
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.
If I understand correctly, that's simple - just copy the content of h1.firstHeading to div#contentSub, before substituting it for the correct title.
There probably are a few flaws in my idea, as I wrote it in the simpliest way possible, but they shouldn't be too hard to fix. The only one I found so far, is that during editing you'll get the normal title, not the correct one. That'll be harder ro change, but - still possible.
My JavaScript is good in the way of accessibility - it just substitutes the h1 element, without changing the URL, or anything else. It's good for browsing Wikipedia - if someone would want to enter the URL of it into the browser, his browser would (probably) not support it.
Still, it's not that much our problem. I think the most we can do is substitute h1 with the correct title from the {{Title Restrictions}} template, or similiar.
-- Pozdrawiam, Dariusz Siedlecki