diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
commit | d9022f63880ce039446fba8364f68e656b7bf4cb (patch) | |
tree | 16b40fbf17bf7c9ee6f4ead25b16dd192378050a /includes/specials/SpecialWantedpages.php | |
parent | 27cf83d177256813e2e802241085fce5dd0f3fb9 (diff) |
Update to MediaWiki 1.19.0
Diffstat (limited to 'includes/specials/SpecialWantedpages.php')
-rw-r--r-- | includes/specials/SpecialWantedpages.php | 9 |
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 ); } |