[Mediawiki-i18n] Assigning tags to extension messages

Nick White nick.white at durham.ac.uk
Tue May 21 11:13:40 UTC 2013


I have an extension (a skin, actually, but functionally it's exactly
the same) which makes use of system messages to allow administrators
to add extra content to some areas of wiki pages. So by default the
messages are empty, and should never be translated.

You can see this in the Erudite.i18n.php change at

I would like to mark these messages as not to be translated.
It looks like one can do this within the mediawiki core using tags;

But I can't see an equivalent method for extensions. Does such a
thing exist? I plan to mention in the 'qqq' entries that they
shouldn't be translated, but it would be nice if they could be
tagged so they weren't shown in the translation interface at all.

If no such mechanism exists, what would be the best way of adding
it? Using message documentation templates, or adding the possibility
of something like a local mediawiki-defines.txt file for extensions?

I don't know the i18n code very well, so perhaps there is a
perfectly good solution I am missing.

Thanks in advance,


More information about the Mediawiki-i18n mailing list