Kghbln has uploaded a new change for review.

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

Change subject: Bump version to 0.4.0 because ... * added missing system 
message * switch to use __DIR__ * code changes by other users since last 
version bump
......................................................................

Bump version to 0.4.0 because ...
* added missing system message
* switch to use __DIR__
* code changes by other users since last version bump

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


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Sudo 
refs/changes/86/245586/1

diff --git a/Sudo.php b/Sudo.php
index 4ab6391..c79ddda 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 special 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 de7f7b2..9b093c8 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 in to another user's account"
 }
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 0b42ee3..e075229 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/245586
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If0ecaaa8614cdb82a322815f1f8747cecf636364
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Sudo
Gerrit-Branch: master
Gerrit-Owner: Kghbln <[email protected]>

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

Reply via email to