jenkins-bot has submitted this change and it was merged.

Change subject: Bump to version 0.4.0 due to commits since last release, en 
passant ...
......................................................................


Bump to version 0.4.0 due to commits since last release, en passant ...

* Add missing system message
* Consistently use __DIR__

Change-Id: Id68221f051f1407139c1d5335c5c5f22b40647d1
---
M Sudo.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 19 insertions(+), 11 deletions(-)

Approvals:
  Kghbln: Looks good to me, but someone else must approve
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Sudo.php b/Sudo.php
index 4ab6391..cb1f93b 100644
--- a/Sudo.php
+++ b/Sudo.php
@@ -17,20 +17,24 @@
 $wgExtensionCredits['other'][] = array(
        'path' => __FILE__,
        'name' => 'Sudo',
-       'version' => '0.3.0',
-       'author' => '[http://danf.ca/mw/ Daniel Friesen]',
+       'version' => '0.4.0',
+       'author' => array(
+               '[http://danf.ca/mw/ Daniel Friesen]',
+               '...'
+       ),
        'descriptionmsg' => 'sudo-desc',
        'url' => 'https://www.mediawiki.org/wiki/Extension:Sudo',
        'license-name' => 'GPL-2.0+',
 );
 
-// Set up i18n and the new special page
-$dir = dirname( __FILE__ ) . '/';
+// Set up i18n
 $wgMessagesDirs['Sudo'] = __DIR__ . '/i18n';
-$wgExtensionMessagesFiles['Sudo'] = $dir . 'Sudo.i18n.php';
-$wgExtensionMessagesFiles['SudoAlias'] = $dir . 'Sudo.alias.php';
-$wgAutoloadClasses['SpecialSudo'] = $dir . 'SpecialSudo.php';
-$wgSpecialPages['Sudo']           = 'SpecialSudo';
+$wgExtensionMessagesFiles['Sudo'] = __DIR__ . '/Sudo.i18n.php';
+$wgExtensionMessagesFiles['SudoAlias'] = __DIR__ . '/Sudo.alias.php';
+
+// New sepecial page
+$wgAutoloadClasses['SpecialSudo'] = __DIR__ . '/SpecialSudo.php';
+$wgSpecialPages['Sudo'] = 'SpecialSudo';
 
 // New user right, required to use Special:Sudo
 $wgAvailableRights[] = 'sudo';
diff --git a/i18n/en.json b/i18n/en.json
index 9a4b649..e6b7330 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -1,7 +1,8 @@
 {
        "@metadata": {
                "authors": [
-                       "Daniel Friesen"
+                       "Daniel Friesen",
+                       "Kghbln"
                ]
        },
        "sudo": "Log into another user's account",
@@ -24,5 +25,6 @@
        "sudo-logpagename": "Sudo log",
        "sudo-logpagetext": "This is a log of all uses of sudo.",
        "sudo-logentry": "logged into $2's account",
-       "right-sudo": "Login to another user's account"
+       "right-sudo": "Login to another user's account",
+       "action-sudo": "log into another user's account"
 }
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 0b42ee3..81a4ce2 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -2,6 +2,7 @@
        "@metadata": {
                "authors": [
                        "EugeneZelenko",
+                       "Kghbln",
                        "Shirayuki",
                        "The Evil IP address",
                        "Umherirrender"
@@ -22,5 +23,6 @@
        "sudo-error-sudo-self": "Used as <code>$1</code> in 
{{msg-mw|Sudo-error}}.",
        "sudo-error-nosudo": "Used as <code>$1</code> in 
{{msg-mw|Sudo-error}}.",
        "sudo-logentry": "Parameters\n* $2 - username",
-       "right-sudo": "{{doc-right|sudo}}"
+       "right-sudo": "{{doc-right|sudo}}",
+       "action-sudo": "{{doc-action|sudo}}"
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id68221f051f1407139c1d5335c5c5f22b40647d1
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Sudo
Gerrit-Branch: master
Gerrit-Owner: Kghbln <[email protected]>
Gerrit-Reviewer: Daniel Friesen <[email protected]>
Gerrit-Reviewer: Kghbln <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to