Jump to content

About [[MediaWiki:Expensive-parserfunction-category-desc/en]]

Is there anything translatable in the url or could it be hidden in a variable? Also a possibility would be to change it to "See [$url the manual] for more information." or similar instead of the current "See [some_number]"

Lokal_Profil (talk)11:55, 1 April 2014

Just add the URL to the translation. There's no need to add this as a parameter.

Siebrand13:13, 8 April 2014

In general if there is nothing to localise in a longish url then why not hide it behind a parameter (as done in MediaWiki:Newarticletext/en)? I'd say it makes it easier to distinguish what needs translating. The message in question is actually a good example of this.

First now when I looked at the url more closely did I realise that only two thirds of what I saw was the actual url. It actually says [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgExpensiveParserFunctionLimit Manual:$wgExpensiveParserFunctionLimit] (my emphasis)

I.e. Manual:$wgExpensiveParserFunctionLimit is coded as the link text. Since our general recommendation is to not mess with anything looking like variable names this will leave an English link text in most languages.

I believe that changing it to [$url the manual] or even [https://... the manual] would help the translatability of the message.

Lokal_Profil (talk)13:59, 8 April 2014