Author: dbenbenn
Description:
This is a quite general bug, but I'll start specific:
[[MediaWiki:Disclaimerpage]] can't be translated. Where it is used in Skin.php,
the function called is wfMsgForContent, instead of simply wfMsg. The Commons
needs to be able to translate this message, since we have
http://commons.wikimedia.org/wiki/Commons:General_disclaimer in four different
languages.
Furthermore, *there's no need to disallow translation on any other site*! For
example, at the English Wikipedia, you only have one version of
[[Wikipedia:General disclaimer]], so you want the produced link at the bottom of
each page to be the same regardless of the selected language. But that is the
case anyway, as long as [[MediaWiki:Disclaimerpage/XY]] doesn't exist for any
language codes XY. (And since only admins can create such a page, that isn't a
security hole.)
So I suggest that Skin.php, line 987, be changed from
wfMsgForContent( 'disclaimerpage' )
to simply
wfMsg( 'disclaimerpage' )
More generally, the same reasoning above applies to other uses of
wfMsgForContent. I suspect that *all* uses of wfMsgForContent can be changed to
simply wfMsg, thus improving the ability of users to make translations.
(The only complication I'm aware of is cases like [[MediaWiki:Mainpage]], which
is used as both a link and the link text. The solution to that problem is to
separate the two uses, for example as [[MediaWiki:Mainpage-link]] and
[[MediaWiki:Mainpage]]. The "link" version would simply not have any
translations created by admins, while the non-link version could be translated
as usual.)
Version: 1.6.x
Severity: normal