[Mediawiki-i18n] Variables within messages

Rotem Liss rotemliss_net at fastmail.fm
Sat Nov 10 17:42:21 UTC 2007

Stacey Doljack Borsody wrote:
> Another question related with context.  Are there guidelines for
> developers regarding system message creation?  Some messages seem really
> silly to me.  Take for instance "whitelistedittext".  The English is
> written as "You have to $1 to edit pages."  What is $1?  Will it
> seriously ever be anything other than "login"?  If so then I need to use
> the grammar function, but if not I can just translate it without the
> variable.  Yes?  No?
> .s

This is a link with the caption of the message "loginreqlink", which is "login".
It should be a parameter since this is an unusual link, and the parameter should
be preserved.

You are welcome to write here or in #mediawiki-i18n about such concerns.

More information about the Mediawiki-i18n mailing list