Ricordisamoa has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/183046

Change subject: Always use the canonical extension name to link the credits file
......................................................................

Always use the canonical extension name to link the credits 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'.

Same as ace5db002378ca8b3ff63a66ba5ab35267754b9f for license files.

Change-Id: Ifbcecc906f41eced48493c48d4f2a85eed232551
---
M includes/specials/SpecialVersion.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/46/183046/1

diff --git a/includes/specials/SpecialVersion.php 
b/includes/specials/SpecialVersion.php
index a1556dc..65efef7 100644
--- a/includes/specials/SpecialVersion.php
+++ b/includes/specials/SpecialVersion.php
@@ -837,7 +837,7 @@
 
                // ... now get the authors for this extension
                $authors = isset( $extension['author'] ) ? $extension['author'] 
: array();
-               $authors = $this->listAuthors( $authors, $extensionName, 
$extensionPath );
+               $authors = $this->listAuthors( $authors, $extension['name'], 
$extensionPath );
 
                // Finally! Create the table
                $html = Html::openElement( 'tr', array(

-- 
To view, visit https://gerrit.wikimedia.org/r/183046
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifbcecc906f41eced48493c48d4f2a85eed232551
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to