simplify r107833 per CR, just use wfExpandUrl()
[lhc/web/wiklou.git] / includes / specials / SpecialWantedpages.php
index 3824df0..4624b35 100644 (file)
  * @ingroup SpecialPage
  */
 class WantedPagesPage extends WantedQueryPage {
+       
        function __construct( $name = 'Wantedpages' ) {
                parent::__construct( $name );
+               $this->mIncludable = true;
        }
 
        function execute( $par ) {
@@ -38,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 );
        }