Re: [Wikitech-l] MediaWiki tests will verify the completeness of $wgAvailableRights

2015-03-16 Thread hoo
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 mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] MediaWiki tests will verify the completeness of $wgAvailableRights

2015-02-21 Thread hoo
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