Do not register Special:JavaScriptTest, if disabled
[lhc/web/wiklou.git] / includes / specials / SpecialWantedpages.php
index 7673305..dec123d 100644 (file)
@@ -30,7 +30,10 @@ class WantedPagesPage extends WantedQueryPage {
        
        function __construct( $name = 'Wantedpages' ) {
                parent::__construct( $name );
-               $this->mIncludable = true;
+       }
+
+       function isIncludable() {
+               return true;
        }
 
        function execute( $par ) {