* Use this to add an "all" value to the limit form in Special:AllMessages. In reality, "all" is only 5000, but this is plenty more than most wikis should have.
* (bug 9691) Add type (signup or login) parameter to AuthPlugin::ModifyUITemplate()
* (bug 14454) "Member of group(s)" in Special:Preferences causes language difficulties
* (bug 16697) Unicode combining characters are difficult to edit in some browsers
+* IndexPager->mLimitsShown can now be an associative array of limit => text-to-
+ display-in-limit-form.
* Parser test supports uploading results to remote CodeReview instance
* (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the
extension version in Special:Version
function getLimitSelect() {
global $wgLang;
$s = "<select name=\"limit\">";
- foreach ( $this->mLimitsShown as $limit ) {
+ foreach ( $this->mLimitsShown as $limit => $text ) {
$selected = $limit == $this->mLimit ? 'selected="selected"' : '';
- $formattedLimit = $wgLang->formatNum( $limit );
+ $formattedLimit = $text ? $text : $wgLang->formatNum( $limit );
$s .= "<option value=\"$limit\" $selected>$formattedLimit</option>\n";
}
$s .= "</select>";
var $messages = null;
var $talkPages = null;
+ public $mLimitsShown;
function __construct( $page, $conds, $langObj = null ) {
parent::__construct();
$this->mPage = $page;
$this->mConds = $conds;
$this->mDefaultDirection = true; // always sort ascending
+ // We want to have an option for people to view *all* the messages,
+ // so they can use Ctrl+F to search them. 5000 is the maximum that
+ // will get through WebRequest::getLimitOffset().
+ $this->mLimitsShown = array( 20, 50, 100, 250, 500, 5000 => wfMsg('messagesall') );
global $wgLang, $wgContLang, $wgRequest;
'watchlistall2' => 'all',
'namespacesall' => 'all',
'monthsall' => 'all',
+'messagesall' => 'all',
# E-mail address confirmation
'confirmemail' => 'Confirm e-mail address',