r49349 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49348‎ | r49349 | r49350 >
Date:19:05, 9 April 2009
Author:aaron
Status:ok
Tags:
Comment:
Preserve default limit on submit
Modified paths:
  • /trunk/phase3/includes/specials/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialContributions.php
@@ -39,7 +39,7 @@
4040 return;
4141 }
4242
43 - $this->opts['limit'] = $wgRequest->getInt( 'limit', 50 );
 43+ $this->opts['limit'] = $wgRequest->getInt( 'limit', $wgUser->getOption('rclimit') );
4444 $this->opts['target'] = $target;
4545
4646 $nt = Title::makeTitleSafe( NS_USER, $target );

Status & tagging log