summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialWantedpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specials/SpecialWantedpages.php')
-rw-r--r--includes/specials/SpecialWantedpages.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/includes/specials/SpecialWantedpages.php b/includes/specials/SpecialWantedpages.php
index a4233155..4624b355 100644
--- a/includes/specials/SpecialWantedpages.php
+++ b/includes/specials/SpecialWantedpages.php
@@ -27,9 +27,10 @@
* @ingroup SpecialPage
*/
class WantedPagesPage extends WantedQueryPage {
+
function __construct( $name = 'Wantedpages' ) {
parent::__construct( $name );
- $this->includable( true );
+ $this->mIncludable = true;
}
function execute( $par ) {
@@ -39,12 +40,12 @@ class WantedPagesPage extends WantedQueryPage {
$parts = explode( '/', $par, 2 );
$this->limit = (int)$parts[0];
// @todo FIXME: nlinks is ignored
- $nlinks = isset( $parts[1] ) && $parts[1] === 'nlinks';
+ //$nlinks = isset( $parts[1] ) && $parts[1] === 'nlinks';
$this->offset = 0;
} else {
- $nlinks = true;
+ //$nlinks = true;
}
- $this->setListOutput( $inc );
+ $this->setListoutput( $inc );
$this->shownavigation = !$inc;
parent::execute( $par );
}