From: Aaron Schulz Date: Mon, 14 Apr 2008 12:36:20 +0000 (+0000) Subject: Fix doc X-Git-Tag: 1.31.0-rc.0~48346 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=b3f79c7879351b661da10f7c38b717bd705cf904;p=lhc%2Fweb%2Fwiklou.git Fix doc --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 9d406340ec..d65cae8b7f 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -352,10 +352,7 @@ class SpecialPage * method for adding special pages in extensions. It's now suggested that you add * an associative record to $wgSpecialPages. This avoids autoloading SpecialPage. * - * @param mixed $page Must either be an array specifying a class name and - * constructor parameters, or an object. The object, - * when constructed, must have an execute() method which - * sends HTML to $wgOut. + * @param SpecialPage $page * @static */ static function addPage( &$page ) { @@ -368,8 +365,7 @@ class SpecialPage /** * Add a page to a certain display group for Special:SpecialPages * - * @param mixed $page Must either be an array specifying a class name and - * constructor parameters, or an object. + * @param SpecialPage $page * @param string $group * @static */ @@ -383,8 +379,7 @@ class SpecialPage /** * Add a page to a certain display group for Special:SpecialPages * - * @param mixed $page Must either be an array specifying a class name and - * constructor parameters, or an object. + * @param SpecialPage $page * @static */ static function getGroup( &$page ) {