*/
$wgPutIPinRC = true;
+/**
+ * Integer defining default number of entries to show on
+ * Special:Whatlinkshere
+ */
+$wgWhatlinkshereLimit = 50;
+
/**
* Limit password attempts to X attempts per Y seconds per IP per account.
* Requires memcached.
}
function execute( $par ) {
+ global $wgWhatlinkshereLimit;
$out = $this->getOutput();
$this->setHeaders();
$opts->add( 'target', '' );
$opts->add( 'namespace', '', FormOptions::INTNULL );
- $opts->add( 'limit', 50 );
+ $opts->add( 'limit', $wgWhatlinkshereLimit );
$opts->add( 'from', 0 );
$opts->add( 'back', 0 );
$opts->add( 'hideredirs', false );