Dan-nl has uploaded a new change for review.
https://gerrit.wikimedia.org/r/101861
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, 13 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GWToolset
refs/changes/61/101861/1
diff --git a/GWToolset.i18n.php b/GWToolset.i18n.php
index b900f08..f1541bc 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".',
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: newchange
Gerrit-Change-Id: I6bfc5395450fe14b2b033f4ca25c00336c76ecbc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GWToolset
Gerrit-Branch: master
Gerrit-Owner: Dan-nl <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits