Allow SpecialPage::beforeExecute to prevent execution
authorGergő Tisza <tgr.huwiki@gmail.com>
Fri, 1 Apr 2016 12:51:04 +0000 (15:51 +0300)
committerGergő Tisza <tgr.huwiki@gmail.com>
Fri, 1 Apr 2016 12:51:04 +0000 (15:51 +0300)
commit5f1d4591d95cea154b0a5f8d40a856cac97aa27e
tree58fef0e7c5afc0d5cfd04e4084185a9bdd771e03
parent4e8459370271325d0eea8158e346f0718fe65026
Allow SpecialPage::beforeExecute to prevent execution

Allos SpecialPage::beforeExecute() (and the equivalent
SpecialPageBeforeExecute hook) to prevent execution of the page
by returning false.

Needed by I8b52ec8ddf494f23941807638f149f15b5e46b0c.

Change-Id: I71423b920d596ee9ae6da60d95b14255eddfbcd6
docs/hooks.txt
includes/specialpage/SpecialPage.php