Wikinaut has submitted this change and it was merged.
Change subject: adding missing "rights" and "action" texts for
Special:ListGroupRights
......................................................................
adding missing "rights" and "action" texts for Special:ListGroupRights
Change-Id: I6f09fe5d6fb3c3bde1154d333dad2bddd051155c
---
M AJAXPoll.i18n.php
M AJAXPoll.php
2 files changed, 17 insertions(+), 3 deletions(-)
Approvals:
Wikinaut: Verified; Looks good to me, approved
diff --git a/AJAXPoll.i18n.php b/AJAXPoll.i18n.php
index e93f92b..98f4872 100644
--- a/AJAXPoll.i18n.php
+++ b/AJAXPoll.i18n.php
@@ -31,7 +31,15 @@
'ajaxpoll-vote-revoked' => 'Your vote has been revoked.',
'ajaxpoll-error-csrf-wrong-token' => 'A wrong token was received, and
your vote is ignored.',
+ # Rights
'right-ajaxpoll-vote' => 'Can vote in AJAX-based polls',
+ 'right-ajaxpoll-view-results' => 'Can view results in AJAX-based polls',
+ 'right-ajaxpoll-view-results-before-vote' => 'Can view results in
AJAX-based polls before having voted',
+
+ # Associated actions - in the sentence "You do not have permission to X"
+ 'action-ajaxpoll-vote' => 'vote in AJAX-based polls.',
+ 'action-ajaxpoll-view-results' => 'view results in AJAX-based polls',
+ 'action-ajaxpoll-view-results-before-vote' => 'view results in
AJAX-based polls before having voted',
);
/** Message documentation (Message documentation)
@@ -90,7 +98,13 @@
If error, the following message is used:
* {{msg-mw|Ajaxpoll-vote-error}}',
'ajaxpoll-error-csrf-wrong-token' => 'An error message in case of a
wrong received anti-CSRF token',
+
'right-ajaxpoll-vote' => '{{doc-right|ajaxpoll-vote}}',
+ 'right-ajaxpoll-view-results' => '{{doc-right|ajaxpoll-view-results}}',
+ 'right-ajaxpoll-vote' =>
'{{doc-right|ajaxpoll-view-results-before-vote}}',
+ 'action-ajaxpoll-vote' => '{{doc-action|ajaxpoll-vote}}',
+ 'action-ajaxpoll-view-results' =>
'{{doc-action|ajaxpoll-view-results}}',
+ 'action-ajaxpoll-view-results-before-vote' =>
'{{doc-action|ajaxpoll-view-results-before-vote}}',
);
/** Afrikaans (Afrikaans)
diff --git a/AJAXPoll.php b/AJAXPoll.php
index 6b60fca..3de2fd3 100644
--- a/AJAXPoll.php
+++ b/AJAXPoll.php
@@ -47,7 +47,7 @@
$wgExtensionCredits['parserhook'][] = array(
'path' => __FILE__,
'name' => 'AJAX Poll',
- 'version' => '1.86 20131009',
+ 'version' => '1.87 20131112',
'author' => array( 'Dariusz Siedlecki', 'Jack Phoenix', 'Thomas Gries'
),
'descriptionmsg' => 'ajaxpoll-desc',
'url' => 'https://www.mediawiki.org/wiki/Extension:AJAX_Poll',
@@ -82,8 +82,8 @@
# new user rights
$wgAvailableRights[] = 'ajaxpoll-vote';
-$wgAvailableRights[] = 'ajaxpoll-viewresults';
-$wgAvailableRights[] = 'ajaxpoll-viewresults-before-vote';
+$wgAvailableRights[] = 'ajaxpoll-view-results';
+$wgAvailableRights[] = 'ajaxpoll-view-results-before-vote';
# The 'ajaxpoll-view-results-before-vote' group permission allows the specified
# group members to view poll results even without having voted
--
To view, visit https://gerrit.wikimedia.org/r/94961
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6f09fe5d6fb3c3bde1154d333dad2bddd051155c
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/AJAXPoll
Gerrit-Branch: master
Gerrit-Owner: Wikinaut <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: Wikinaut <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits