Magnus Manske wrote:
Tim Starling schrieb:
Magnus Manske wrote:
I just saw the de.wikipedia article about the pKB
value, which:
* looks like "PKB"
* should look like "pK<sub>B</sub>"
This looks pityful, and the note that it can't be shown otherwise for
technical reasons doesn't really help the matter.
I suggest the implementation of a new magic template:
{{DISPLAYTITLE|HTML-encoded title}}
which will change the display of the title. I am aware that it would be
a potential target for vandals, but hey, what on wikipedia isn't?
I'd be willing to implement it if there's no major objection.
The Chinese Wikipedia actually has this already. The syntax is -{T|Title goes here}- . The
intended
application is to change the display title depending on the selected language variant. For
example,
the Chinese Wikipedia main page has this:
-{T|zh-cn:首页;zh-tw:首頁;zh-hk:首頁;zh-sg:首页}-
Is this an extension, or in the main code already?
It's in LanguageConverter.php.
Could it be tweaked
to work without "en:"?
It works without the language code already.
Does it allow for HTML to be rendered in the title?
Hopefully not, that would be unsafe.
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?
-- Tim Starling