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

Change subject: some group and right messages are missing
......................................................................


some group and right messages are missing

Bug: 58489
Change-Id: I6bfc5395450fe14b2b033f4ca25c00336c76ecbc
---
M GWToolset.i18n.php
M GWToolset.php
2 files changed, 18 insertions(+), 1 deletion(-)

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



diff --git a/GWToolset.i18n.php b/GWToolset.i18n.php
index b900f08..2a01445 100644
--- a/GWToolset.i18n.php
+++ b/GWToolset.i18n.php
@@ -22,6 +22,15 @@
        'gwtoolset-intro' => 'GWToolset is a MediaWiki extension that allows 
GLAMs (Galleries, Libraries, Archives and Museums) the ability to mass upload 
content based on an XML file containing respective metadata about the content. 
The intent is to allow for a variety of XML schemas. Further information about 
the project can be found on its 
[https://commons.wikimedia.org/wiki/Commons:GLAMToolset_project project page]. 
Feel free to contact us on that page as well. Select one of the menu items 
above to begin the upload process.',
 
        /**
+        * permission labels
+        */
+       'right-gwtoolset' => 'Use GWToolset',
+       'action-gwtoolset' => 'use gwtoolset',
+       'group-gwtoolset' => 'GWToolset users',
+       'group-gwtoolset-member' => '{{GENDER:$1|GWToolset user}}',
+       'grouppage-gwtoolset' => '{{ns:project}}:GWToolset users',
+
+       /**
         * developer issues
         */
        'gwtoolset-batchjob-creation-failure' => 'Could not create a batch job 
of type "$1".',
@@ -284,6 +293,10 @@
  * @author dan-nl
  */
 $messages['qqq'] = array(
+       'action-gwtoolset' => '{{doc-action|gwtoolset}}',
+       'group-gwtoolset' => '{{doc-group|upwizcampeditors}}',
+       'group-gwtoolset-member' => '{{doc-group|gwtoolset|member}}',
+       'grouppage-gwtoolset' => '{{doc-group|gwtoolset|page}}',
        'gwtoolset' => 'extension name',
        'gwtoolset-desc' => 
'{{desc|name=GWToolset|url=https://www.mediawiki.org/wiki/Extension:GWToolset}}',
        'gwtoolset-intro' => 'Introduction paragraph for the extension used on 
the initial [[Special:GWToolset]] landing page.',
@@ -477,6 +490,7 @@
 Followed by the "Record element name" input box.
 
 Also used in {{msg-mw|Gwtoolset-no-xml-element-found}}.',
+       'right-gwtoolset' => '{{doc-right|gwtoolset}}',
        'gwtoolset-step-1-heading' => 'Heading for step 1.
 
 Used in {{msg-mw|Gwtoolset-step-3-instructions-3}}.
diff --git a/GWToolset.php b/GWToolset.php
index 37bb1d6..3f7a5a7 100644
--- a/GWToolset.php
+++ b/GWToolset.php
@@ -49,7 +49,10 @@
 $wgGroupPermissions["gwtoolset"]["gwtoolset"] = true;
 $wgGroupPermissions["gwtoolset"]["upload_by_url"] = true;
 $wgGroupPermissions['sysop']['gwtoolset'] = true;
-$wgGroupPermissions['sysop']['gwtoolset-debug'] = true;
+
+// make sure sysop can add/remove gwtoolset group
+$wgAddGroups['sysop'][] = 'gwtoolset';
+$wgRemoveGroups['sysop'][] = 'gwtoolset';
 
 // add autoloader classes
 $wgAutoloadClasses = $wgAutoloadClasses + array(

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6bfc5395450fe14b2b033f4ca25c00336c76ecbc
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/GWToolset
Gerrit-Branch: master
Gerrit-Owner: Dan-nl <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Dan-nl <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Multichill <[email protected]>
Gerrit-Reviewer: Nikerabbit <[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