From: Happy-melon Date: Mon, 18 Apr 2011 21:07:30 +0000 (+0000) Subject: Warn that SpecialPage::execute() will be made abstract at some point in the future... X-Git-Tag: 1.31.0-rc.0~30722 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=9e86924b261652b5b9912aa2c98553735d23802a;p=lhc%2Fweb%2Fwiklou.git Warn that SpecialPage::execute() will be made abstract at some point in the future, which is the endpoint of getting rid of the define-special-pages-by-global-functions structure. Committing this separate to the other changes because it should be backported to 1.17. --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 5f0c9709e8..dd1e8d2315 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -466,7 +466,7 @@ class SpecialPage { * Default execute method * Checks user permissions, calls the function given in mFunction * - * This may be overridden by subclasses. + * This must be overridden by subclasses; it will be made abstract in a future version */ function execute( $par ) { $this->setHeaders();