Always use the canonical extension name to link the license file
authorRicordisamoa <ricordisamoa@openmailbox.org>
Sat, 3 Jan 2015 14:16:39 +0000 (15:16 +0100)
committerRicordisamoa <ricordisamoa@openmailbox.org>
Sat, 3 Jan 2015 14:26:03 +0000 (15:26 +0100)
commitace5db002378ca8b3ff63a66ba5ab35267754b9f
treecfb7d40480c6e930207da4b95b577f0cc5baf9cf
parent910dcbc317721792216c9a26a31b0a9e5cecfc6b
Always use the canonical extension name to link the license file

Items in $wgExtensionCredits can expose a 'namemsg' attribute,
but it should only be used for localized strings.
SpecialVersion->execute() correctly uses 'name', while commit
326f3f450ce56420090e3bb30eb9a9cccfe1816e inadvertently made
getCreditsForExtension() use 'namemsg'.

Also reduced code duplication.

Change-Id: I029ea17c55191d74bc6a803fad6cf092105f5b3c
includes/specials/SpecialVersion.php