* Implement an extensible Block::prevents( <action> ) function to replace the plethor...
authorHappy-melon <happy-melon@users.mediawiki.org>
Sat, 19 Mar 2011 23:47:08 +0000 (23:47 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sat, 19 Mar 2011 23:47:08 +0000 (23:47 +0000)
commit7eac649e6d3891bc360dcd0c012d121ce147121d
treeb94fa15e566e9bd425d2f2821d605bd624377ec3
parent4569f31e097a8ee186bfa21ede1f734f52d9edb6
* Implement an extensible Block::prevents( <action> ) function to replace the plethora of direct member variable accesses  This pushes the historic *disable*-createaccount-vs-*allow* usertalk-edit wierdness down to the database layer
* Implement accessors for isHardblock() and getRangeStart()/getRangeEnd() in the same fashion.
* Make the corresponding variables private, removing external accessors.  This required updating AbuseFilter with non-B/C code, so I also implemented the rest of the changes I've made to the blocking backend in that extension.
* Move the "get an IP range which encompasses the given IP/range" logic to Block.php; will be needed later... :D
includes/Block.php
includes/User.php
includes/specials/SpecialBlock.php
includes/specials/SpecialBlockList.php