Hi Everyone,
just wanted to quickly let you know that MediaWiki will verify that extensions register all rights they define in $wgAvailableRights (or using the "UserGetAllRights" hook).
To make sure your extension complies with that just add all the rights your extension defines to $wgAvailableRights (which is a simple string[] of theses user rights).
This test will be introduced with https://gerrit.wikimedia.org/r/192087
Cheers,
Marius
This has been merged now.
On Sat, 2015-02-21 at 18:27 +0100, hoo wrote:
Hi Everyone,
just wanted to quickly let you know that MediaWiki will verify that extensions register all rights they define in $wgAvailableRights (or using the "UserGetAllRights" hook).
To make sure your extension complies with that just add all the rights your extension defines to $wgAvailableRights (which is a simple string[] of theses user rights).
This test will be introduced with https://gerrit.wikimedia.org/r/192087
Cheers,
Marius
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org