Index: trunk/phase3/includes/Preferences.php |
— | — | @@ -583,8 +583,8 @@ |
584 | 584 | ); |
585 | 585 | } |
586 | 586 | |
587 | | - $stubThresholdValues = array( 0, 50, 100, 500, 1000, 2000, 5000, 10000 ); |
588 | | - $stubThresholdOptions = array(); |
| 587 | + $stubThresholdValues = array( 50, 100, 500, 1000, 2000, 5000, 10000 ); |
| 588 | + $stubThresholdOptions = array( wfMsg( 'stub-threshold-disabled' ) => 0 ); |
589 | 589 | foreach ( $stubThresholdValues as $value ) { |
590 | 590 | $stubThresholdOptions[wfMsg( 'size-bytes', $value )] = $value; |
591 | 591 | } |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1751,6 +1751,7 @@ |
1752 | 1752 | 'contextlines' => 'Lines per hit:', |
1753 | 1753 | 'contextchars' => 'Context per line:', |
1754 | 1754 | 'stub-threshold' => 'Threshold for <a href="#" class="stub">stub link</a> formatting (bytes):', |
| 1755 | +'stub-threshold-disabled' => 'Disabled', |
1755 | 1756 | 'recentchangesdays' => 'Days to show in recent changes:', |
1756 | 1757 | 'recentchangesdays-max' => 'Maximum $1 {{PLURAL:$1|day|days}}', |
1757 | 1758 | 'recentchangescount' => 'Number of edits to show by default:', |