Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -2822,7 +2822,6 @@ |
2823 | 2823 | 'watchlistall2', |
2824 | 2824 | 'namespacesall', |
2825 | 2825 | 'monthsall', |
2826 | | - 'messagesall', |
2827 | 2826 | ), |
2828 | 2827 | 'confirmemail' => array( |
2829 | 2828 | 'confirmemail', |
Index: trunk/phase3/includes/specials/SpecialAllmessages.php |
— | — | @@ -128,7 +128,6 @@ |
129 | 129 | |
130 | 130 | var $messages = null; |
131 | 131 | var $talkPages = null; |
132 | | - public $mLimitsShown; |
133 | 132 | |
134 | 133 | function __construct( $page, $conds, $langObj = null ) { |
135 | 134 | parent::__construct(); |
— | — | @@ -136,10 +135,6 @@ |
137 | 136 | $this->mPage = $page; |
138 | 137 | $this->mConds = $conds; |
139 | 138 | $this->mDefaultDirection = true; // always sort ascending |
140 | | - // We want to have an option for people to view *all* the messages, |
141 | | - // so they can use Ctrl+F to search them. 5000 is the maximum that |
142 | | - // will get through WebRequest::getLimitOffset(). |
143 | | - $this->mLimitsShown = array( 20, 50, 100, 250, 500, 5000 => wfMsg('messagesall') ); |
144 | 139 | |
145 | 140 | global $wgLang, $wgContLang, $wgRequest; |
146 | 141 | |
Index: trunk/phase3/includes/Pager.php |
— | — | @@ -879,9 +879,9 @@ |
880 | 880 | function getLimitSelect() { |
881 | 881 | global $wgLang; |
882 | 882 | $s = "<select name=\"limit\">"; |
883 | | - foreach ( $this->mLimitsShown as $limit => $text ) { |
| 883 | + foreach ( $this->mLimitsShown as $limit ) { |
884 | 884 | $selected = $limit == $this->mLimit ? 'selected="selected"' : ''; |
885 | | - $formattedLimit = $text ? $text : $wgLang->formatNum( $limit ); |
| 885 | + $formattedLimit = $wgLang->formatNum( $limit ); |
886 | 886 | $s .= "<option value=\"$limit\" $selected>$formattedLimit</option>\n"; |
887 | 887 | } |
888 | 888 | $s .= "</select>"; |
Index: trunk/phase3/languages/messages/MessagesZh_hans.php |
— | — | @@ -2993,7 +2993,6 @@ |
2994 | 2994 | 'watchlistall2' => '全部', |
2995 | 2995 | 'namespacesall' => '全部', |
2996 | 2996 | 'monthsall' => '全部', |
2997 | | -'messagesall' => '全部', |
2998 | 2997 | |
2999 | 2998 | # E-mail address confirmation |
3000 | 2999 | 'confirmemail' => '确认邮箱地址', |
Index: trunk/phase3/languages/messages/MessagesYue.php |
— | — | @@ -2956,7 +2956,6 @@ |
2957 | 2957 | 'watchlistall2' => '全部', |
2958 | 2958 | 'namespacesall' => '全部', |
2959 | 2959 | 'monthsall' => '全部', |
2960 | | -'messagesall' => '全部', |
2961 | 2960 | |
2962 | 2961 | # E-mail address confirmation |
2963 | 2962 | 'confirmemail' => '確認電郵地址', |
Index: trunk/phase3/languages/messages/MessagesZh_hant.php |
— | — | @@ -2981,7 +2981,6 @@ |
2982 | 2982 | 'watchlistall2' => '全部', |
2983 | 2983 | 'namespacesall' => '全部', |
2984 | 2984 | 'monthsall' => '全部', |
2985 | | -'messagesall' => '全部', |
2986 | 2985 | |
2987 | 2986 | # E-mail address confirmation |
2988 | 2987 | 'confirmemail' => '確認郵箱位址', |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -3814,7 +3814,6 @@ |
3815 | 3815 | 'watchlistall2' => 'all', |
3816 | 3816 | 'namespacesall' => 'all', |
3817 | 3817 | 'monthsall' => 'all', |
3818 | | -'messagesall' => 'all', |
3819 | 3818 | |
3820 | 3819 | # E-mail address confirmation |
3821 | 3820 | 'confirmemail' => 'Confirm e-mail address', |
Index: trunk/phase3/languages/messages/MessagesLzh.php |
— | — | @@ -2433,7 +2433,6 @@ |
2434 | 2434 | 'watchlistall2' => '全', |
2435 | 2435 | 'namespacesall' => '全', |
2436 | 2436 | 'monthsall' => '全', |
2437 | | -'messagesall' => '全', |
2438 | 2437 | |
2439 | 2438 | # E-mail address confirmation |
2440 | 2439 | 'confirmemail' => '核郵驛', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -197,8 +197,6 @@ |
198 | 198 | * (bug 20404) Custom fields in the user creation form template can now have |
199 | 199 | detail labels in prefsectiontip divs. |
200 | 200 | * MakeSysop and MakeBot are now aliases for Special:UserRights |
201 | | -* IndexPager->mLimitsShown can now be an associative array of limit => text-to- |
202 | | - display-in-limit-form. |
203 | 201 | |
204 | 202 | === Bug fixes in 1.16 === |
205 | 203 | |