Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -1579,6 +1579,7 @@ |
1580 | 1580 | 'protect-otherreason-op', |
1581 | 1581 | 'protect-dropdown', |
1582 | 1582 | 'protect-edit-reasonlist', |
| 1583 | + 'protect-expiry-options', |
1583 | 1584 | 'restriction-type', |
1584 | 1585 | 'restriction-level', |
1585 | 1586 | 'minimum-size', |
Index: trunk/phase3/includes/ProtectionForm.php |
— | — | @@ -322,7 +322,7 @@ |
323 | 323 | wfMsgForContent( 'protect-otherreason-op' ), |
324 | 324 | $this->mReasonSelection, |
325 | 325 | 'mwProtect-reason', 4 ); |
326 | | - $scExpiryOptions = wfMsgForContent( 'ipboptions' ); // FIXME: use its own message |
| 326 | + $scExpiryOptions = wfMsgForContent( 'protect-expiry-options' ); |
327 | 327 | |
328 | 328 | $showProtectOptions = ($scExpiryOptions !== '-' && !$this->disabled); |
329 | 329 | |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -2393,6 +2393,7 @@ |
2394 | 2394 | ** Counter-productive edit warring |
2395 | 2395 | ** High traffic page', |
2396 | 2396 | 'protect-edit-reasonlist' => 'Edit protection reasons', |
| 2397 | +'protect-expiry-options' => '1 hour:1 hour,1 day:1 day,1 week:1 week,2 weeks:2 weeks,1 month:1 month,3 months:3 months,6 months:6 months,1 year:1 year,infinite:infinite', |
2397 | 2398 | 'restriction-type' => 'Permission:', |
2398 | 2399 | 'restriction-level' => 'Restriction level:', |
2399 | 2400 | 'minimum-size' => 'Min size', |