X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWantedpages.php;h=ca26bb4babda63b519e521b556a19af3e450f968;hb=486d3e3eb88ca713f6a02967fc2e79adede46439;hp=dd4eb0a8b2bb5eb4ce5f6762540fd8f24c9019bd;hpb=f873b499650ef5d27570f9cb96d01d1477f9e089;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWantedpages.php b/includes/specials/SpecialWantedpages.php index dd4eb0a8b2..ca26bb4bab 100644 --- a/includes/specials/SpecialWantedpages.php +++ b/includes/specials/SpecialWantedpages.php @@ -40,13 +40,8 @@ class WantedPagesPage extends WantedQueryPage { $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;