Hi,
Is it useful to use {{ns:project}} in messages? Isn't it simpler to write simply "Project:"? Doesn't that work in all projects and all languages?
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
2014-10-28 9:07 GMT+02:00 Amir E. Aharoni amir.aharoni@mail.huji.ac.il:
Is it useful to use {{ns:project}} in messages? Isn't it simpler to write simply "Project:"? Doesn't that work in all projects and all languages?
To my knowledge the best practice is as follows:
1) "Please see [[Project:Help]]." 2) "Please see {{ns:project}}:Help"
1) Inside links MediaWiki will perform normalisation automatically. 2) Outside links we need to do it manually.
Note: Translators are slightly more likely to accidentally translate "Project" than "{{ns:project}}".
-Niklas
On Tue, Oct 28, 2014 at 8:26 AM, Niklas Laxström niklas.laxstrom@gmail.com wrote:
To my knowledge the best practice is as follows:
"Please see [[Project:Help]]."
"Please see {{ns:project}}:Help"
Inside links MediaWiki will perform normalisation automatically.
Ermm… does it? I thought the best practice was as follows:
1) “Please see [[{{ns:project}}:Help]].” 2) “More details in [[Project:Help|the help pages]].” 3) “Please see {{ns:project}}:Help”
MediaWiki does normalize the _destination URL_ of the links, but not the displayed text, i.e. the displayed result in your #1 would be equivalent to [[{{ns:Project}}:Help|Project:Help]], i.e. English-language “Project” is always displayed.
-- [[cs:User:Mormegil | Petr Kadlec]]
2014-10-30 12:52 GMT+02:00 Petr Kadlec petr.kadlec@gmail.com:
MediaWiki does normalize the _destination URL_ of the links, but not the displayed text, i.e. the displayed result in your #1 would be equivalent to [[{{ns:Project}}:Help|Project:Help]], i.e. English-language “Project” is always displayed.
I forgot that part, thanks for correcting. -Niklas
mediawiki-i18n@lists.wikimedia.org