jenkins-bot has submitted this change and it was merged. 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(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified 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: merged Gerrit-Change-Id: I3eaed9081761d08ea2440969aefae3e6c56139dd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WatchSubpages Gerrit-Branch: master Gerrit-Owner: Hashar <[email protected]> Gerrit-Reviewer: Legoktm <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
