From 9e86924b261652b5b9912aa2c98553735d23802a Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Mon, 18 Apr 2011 21:07:30 +0000 Subject: [PATCH] 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. --- includes/SpecialPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1