Wikia code/includes/specials/SpecialWantedpages.php

'; +		$form .= Xml::hidden( 'offset', $this->offset ). Xml::hidden( 'limit', $this->limit ). ' '; +		return $form; +	} + +	function linkParameters { +		return( array( 'excludetitles' => $this->excludeorig ) ); +	} } /** * constructor */ function wfSpecialWantedpages( $par = null, $specialPage ) { +	global $wgRequest; + 	$inc = $specialPage->including; if ( $inc ) { @@ -62,7 +163,16 @@ 		$nlinks = true; } +	/** Wikia improvements **/ +	$excludetitles = ''; +	if( $et = $wgRequest->getText( 'excludetitles' ) ) +		$excludetitles = $et; + +	/** 	$wpp = new WantedPagesPage( $inc, $nlinks ); +	/**/ +	$wpp = new WantedPagesPageWikia( $inc, $nlinks, $excludetitles ); +	if ( ! $wpp->doFeed( $wgRequest->getVal( 'feed' ), $limit ) ) $wpp->doQuery( $offset, $limit, !$inc ); }