Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/257211

Change subject: Remove dead code about nlinks from Special:Wantedpages
......................................................................

Remove dead code about nlinks from Special:Wantedpages

No idea how to resolve the fixme, so remove the dead code and let the
$par only set the limit

Change-Id: I9b29c4ee4ccc5578900e45cb559c5b05e34e679a
---
M includes/specials/SpecialWantedpages.php
1 file changed, 1 insertion(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/11/257211/1

diff --git a/includes/specials/SpecialWantedpages.php 
b/includes/specials/SpecialWantedpages.php
index 02a1f73..ca26bb4 100644
--- a/includes/specials/SpecialWantedpages.php
+++ b/includes/specials/SpecialWantedpages.php
@@ -40,13 +40,8 @@
                $inc = $this->including();
 
                if ( $inc ) {
-                       $parts = explode( '/', $par, 2 );
-                       $this->limit = (int)$parts[0];
-                       // @todo FIXME: nlinks is ignored
-                       // $nlinks = isset( $parts[1] ) && $parts[1] === 
'nlinks';
+                       $this->limit = (int)$par;
                        $this->offset = 0;
-               } else {
-                       // $nlinks = true;
                }
                $this->setListoutput( $inc );
                $this->shownavigation = !$inc;

-- 
To view, visit https://gerrit.wikimedia.org/r/257211
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b29c4ee4ccc5578900e45cb559c5b05e34e679a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to