From d9022f63880ce039446fba8364f68e656b7bf4cb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 3 May 2012 13:01:35 +0200 Subject: Update to MediaWiki 1.19.0 --- includes/specials/SpecialWantedpages.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'includes/specials/SpecialWantedpages.php') 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 ); } -- cgit v1.2.3-54-g00ecf