/**
* Integer defining default number of entries to show on
- * Special:Whatlinkshere
+ * special pages which are query-pages such as Special:Whatlinkshere.
*/
-$wgWhatlinkshereLimit = 50;
+$wgQueryPageDefaultLimit = 50;
/**
* Limit password attempts to X attempts per Y seconds per IP per account.
* @param $par String: (optional) user name of the user for which to show the contributions
*/
function execute( $par ) {
+ global $wgQueryPageDefaultLimit;
$this->setHeaders();
$user = $this->getUser();
return;
}
- $options['limit'] = $request->getInt( 'limit', 50 );
+ $options['limit'] = $request->getInt( 'limit', $wgQueryPageDefaultLimit );
$options['target'] = $target;
$nt = Title::makeTitleSafe( NS_USER, $target );
}
function execute( $par ) {
- global $wgWhatlinkshereLimit;
+ global $wgQueryPageDefaultLimit;
$out = $this->getOutput();
$this->setHeaders();
$opts->add( 'target', '' );
$opts->add( 'namespace', '', FormOptions::INTNULL );
- $opts->add( 'limit', $wgWhatlinkshereLimit );
+ $opts->add( 'limit', $wgQueryPageDefaultLimit );
$opts->add( 'from', 0 );
$opts->add( 'back', 0 );
$opts->add( 'hideredirs', false );