Core changes for GlobalBlocking and TorBlock extensions, plus some core refactoring...
authorAndrew Garrett <werdna@users.mediawiki.org>
Fri, 23 May 2008 10:34:11 +0000 (10:34 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Fri, 23 May 2008 10:34:11 +0000 (10:34 +0000)
commitbc23aede55e1fd3dcbcf26599a37617953b58628
tree4df99cb6d3b8f6c6f243deb03677c5ace2419e22
parent079a37ef22b900f566ae66ef1603682b941737ad
Core changes for GlobalBlocking and TorBlock extensions, plus some core refactoring work:
* Instead of saying 'do that' in a permissions error, actually list what the action is (drawn from the right-$1 messages). This isn't perfect - it says you don't have permission to edit pages when
you can't edit a single page, but it's better than 'do that'.
* Refactor out some code from various block files into Block::formatExpiry and Block::parseExpiryInput.
* Don't display 'you cannot edit special pages' when you're trying to execute, or create an account, or something like that.
* New AbortAutoblock hook (for use in TorBlock extension), which allows extensions to cancel autoblocks.
docs/hooks.txt
includes/Block.php
includes/EditPage.php
includes/OutputPage.php
includes/SpecialBlockip.php
includes/SpecialIpblocklist.php
includes/SpecialUserlogin.php
includes/Title.php
includes/User.php
languages/messages/MessagesEn.php