Index: trunk/phase3/includes/specials/SpecialRecentchangeslinked.php |
— | — | @@ -25,8 +25,7 @@ |
26 | 26 | var $rclTargetTitle; |
27 | 27 | |
28 | 28 | function __construct(){ |
29 | | - SpecialPage::SpecialPage( 'Recentchangeslinked' ); |
30 | | - $this->includable( true ); |
| 29 | + parent::__construct( 'Recentchangeslinked' ); |
31 | 30 | } |
32 | 31 | |
33 | 32 | public function getDefaultOptions() { |
Index: trunk/phase3/includes/specials/SpecialNewpages.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | * implements Special:Newpages |
23 | 23 | * @ingroup SpecialPage |
24 | 24 | */ |
25 | | -class SpecialNewpages extends SpecialPage { |
| 25 | +class SpecialNewpages extends IncludableSpecialPage { |
26 | 26 | |
27 | 27 | // Stored objects |
28 | 28 | protected $opts, $skin; |
— | — | @@ -31,7 +31,6 @@ |
32 | 32 | |
33 | 33 | public function __construct() { |
34 | 34 | parent::__construct( 'Newpages' ); |
35 | | - $this->includable( true ); |
36 | 35 | } |
37 | 36 | |
38 | 37 | protected function setup( $par ) { |
Index: trunk/phase3/includes/specials/SpecialRecentchanges.php |
— | — | @@ -21,12 +21,11 @@ |
22 | 22 | * Implements Special:Recentchanges |
23 | 23 | * @ingroup SpecialPage |
24 | 24 | */ |
25 | | -class SpecialRecentChanges extends SpecialPage { |
| 25 | +class SpecialRecentChanges extends IncludableSpecialPage { |
26 | 26 | var $rcOptions, $rcSubpage; |
27 | 27 | |
28 | | - public function __construct() { |
29 | | - parent::__construct( 'Recentchanges' ); |
30 | | - $this->includable( true ); |
| 28 | + public function __construct( $name = 'Recentchanges' ) { |
| 29 | + parent::__construct( $name ); |
31 | 30 | } |
32 | 31 | |
33 | 32 | /** |