* (bug 20404) Custom fields in the user creation form template can now have
detail labels in prefsectiontip divs.
* MakeSysop and MakeBot are now aliases for Special:UserRights
-* IndexPager->mLimitsShown can now be an associative array of limit => text-to-
- display-in-limit-form.
=== Bug fixes in 1.16 ===
function getLimitSelect() {
global $wgLang;
$s = "<select name=\"limit\">";
- foreach ( $this->mLimitsShown as $limit => $text ) {
+ foreach ( $this->mLimitsShown as $limit ) {
$selected = $limit == $this->mLimit ? 'selected="selected"' : '';
- $formattedLimit = $text ? $text : $wgLang->formatNum( $limit );
+ $formattedLimit = $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',
'watchlistall2' => '全',
'namespacesall' => '全',
'monthsall' => '全',
-'messagesall' => '全',
# E-mail address confirmation
'confirmemail' => '核郵驛',
'watchlistall2' => '全部',
'namespacesall' => '全部',
'monthsall' => '全部',
-'messagesall' => '全部',
# E-mail address confirmation
'confirmemail' => '確認電郵地址',
'watchlistall2' => '全部',
'namespacesall' => '全部',
'monthsall' => '全部',
-'messagesall' => '全部',
# E-mail address confirmation
'confirmemail' => '确认邮箱地址',
'watchlistall2' => '全部',
'namespacesall' => '全部',
'monthsall' => '全部',
-'messagesall' => '全部',
# E-mail address confirmation
'confirmemail' => '確認郵箱位址',
'watchlistall2',
'namespacesall',
'monthsall',
- 'messagesall',
),
'confirmemail' => array(
'confirmemail',