Add a 'namemsg' parameter to $wgExtensionCredits for localizable names
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 21 Jun 2014 10:33:54 +0000 (12:33 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 21 Jun 2014 11:13:44 +0000 (13:13 +0200)
commit326f3f450ce56420090e3bb30eb9a9cccfe1816e
tree27432883ec302bde3a65ca7f4323cd7a213d874e
parentae79a2e49c1bd68ba17af095a850ad84d02483a5
Add a 'namemsg' parameter to $wgExtensionCredits for localizable names

Works similarly to 'description' and 'descriptionmsg', but 'name'
is still required because of weird shenanigans Special:Version does.
(And would be a good idea anyway for backwards-compatibility with
older MediaWikis.)

The primary use-case is skins (which have already traditionally had
translateable names in MediaWiki, but weren't always shown on
Special:Version), but there's no reason why regular extensions can't
use this too.

Skins which already have a translated name for Special:Preferences
('skinname-<skin>' messages) can reuse the same message here.

Change-Id: Iae6f770a8fe1968670429c22aefc1ae55e8dba6f
RELEASE-NOTES-1.24
includes/DefaultSettings.php
includes/api/ApiQuerySiteinfo.php
includes/specials/SpecialVersion.php