Various Userrights-related fixes:
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 3 Jan 2008 23:43:24 +0000 (23:43 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 3 Jan 2008 23:43:24 +0000 (23:43 +0000)
commitc7c46174844f697800a9d4f2dfb543b73b14f3b6
tree57f3b94a354965fe3b4b2234f76607ddde04a2d7
parent49e10ba5eb0e0161487b3143b410511c952c8585
Various Userrights-related fixes:
* Adjust UserrightsForm so that it inherits from SpecialPage; nuke HTMLForm.  Since this breaks backward compatibility, renamed to UserrightsPage.
* Created SpecialPage::isRestricted() and enforced use of SpecialPage::userCanExecute() instead of hardcoded checks.  These can now be overridden so that more complicated restriction systems work sanely.  Used them for UserrightsPage (fixes bug 12489).
* A few random comment/documentation tweaks.
Also, update Special:Version date.
includes/AutoLoader.php
includes/HTMLForm.php [deleted file]
includes/SpecialPage.php
includes/SpecialUserrights.php
includes/SpecialVersion.php