Hashar has uploaded a new change for review.

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

Change subject: Add 'watchsubpages' to $wgAvailableRights
......................................................................

Add 'watchsubpages' to $wgAvailableRights

Any rights defined by an extension must be added to $wgAvailableRights.
The MediaWiki core 'structure' test suite recently added a check that is
run for extensions and causes a test failure.

Change-Id: I3eaed9081761d08ea2440969aefae3e6c56139dd
---
M WatchSubpages.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WatchSubpages 
refs/changes/80/198080/1

diff --git a/WatchSubpages.php b/WatchSubpages.php
index 98537e4..285e211 100644
--- a/WatchSubpages.php
+++ b/WatchSubpages.php
@@ -35,4 +35,5 @@
 $wgExtensionMessagesFiles['WatchSubpagesAlias'] = $dir . 
'WatchSubpages.alias.php';
 $wgAutoloadClasses['WatchSubpages'] = $dir . 'WatchSubpages_body.php';
 $wgSpecialPages['WatchSubpages'] = 'WatchSubpages';
+$wgAvailableRights[] = 'watchsubpages';
 $wgGroupPermissions['user']['watchsubpages'] = true;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3eaed9081761d08ea2440969aefae3e6c56139dd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WatchSubpages
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

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

Reply via email to