Index: trunk/phase3/includes/SpecialRecentchanges.php |
— | — | @@ -497,9 +497,14 @@ |
498 | 498 | $options = $nondefaults + $defaults; |
499 | 499 | |
500 | 500 | if( $options['from'] ) |
501 | | - $note = wfMsg( 'rcnotefrom', $wgLang->formatNum( $options['limit'] ), $wgLang->timeanddate( $options['from'], true ) ); |
| 501 | + $note = wfMsgExt( 'rcnotefrom', array( 'parseinline' ), |
| 502 | + $wgLang->formatNum( $options['limit'] ), |
| 503 | + $wgLang->timeanddate( $options['from'], true ) ); |
502 | 504 | else |
503 | | - $note = wfMsg( 'rcnote', $wgLang->formatNum( $options['limit'] ), $wgLang->formatNum( $options['days'] ), $wgLang->timeAndDate( wfTimestampNow(), true ) ); |
| 505 | + $note = wfMsgExt( 'rcnote', array( 'parseinline' ), |
| 506 | + $wgLang->formatNum( $options['limit'] ), |
| 507 | + $wgLang->formatNum( $options['days'] ), |
| 508 | + $wgLang->timeAndDate( wfTimestampNow(), true ) ); |
504 | 509 | |
505 | 510 | // limit links |
506 | 511 | $options_limit = array(50, 100, 250, 500); |
— | — | @@ -546,8 +551,9 @@ |
547 | 552 | $now = $wgLang->timeanddate( wfTimestampNow(), true ); |
548 | 553 | $tl = makeOptionsLink( $now, array( 'from' => wfTimestampNow()), $nondefaults ); |
549 | 554 | |
550 | | - $rclinks = wfMsg( 'rclinks', $cl, $dl, $hl ); |
551 | | - $rclistfrom = wfMsg( 'rclistfrom', $tl ); |
| 555 | + $rclinks = wfMsgExt( 'rclinks', array( 'parseinline', 'replaceafter'), |
| 556 | + $cl, $dl, $hl ); |
| 557 | + $rclistfrom = wfMsgExt( 'rclistfrom', array( 'parseinline', 'replaceafter'), $tl ); |
552 | 558 | return "$note<br />$rclinks<br />$rclistfrom"; |
553 | 559 | |
554 | 560 | } |
— | — | @@ -578,11 +584,11 @@ |
579 | 585 | $cb_arr = array( 'type' => 'checkbox', 'name' => 'categories_any', 'value' => "1" ) ; |
580 | 586 | if ( $categories_any ) $cb_arr['checked'] = "checked" ; |
581 | 587 | $catbox = "<br/>" ; |
582 | | - $catbox .= wfMsg('rc_categories') . " "; |
| 588 | + $catbox .= wfMsgExt('rc_categories', array('parseinline')) . " "; |
583 | 589 | $catbox .= wfElement('input', array( 'type' => 'text', 'name' => 'categories', 'value' => $categories)); |
584 | 590 | $catbox .= " " ; |
585 | 591 | $catbox .= wfElement('input', $cb_arr ); |
586 | | - $catbox .= wfMsg('rc_categories_any'); |
| 592 | + $catbox .= wfMsgExt('rc_categories_any', array('parseinline')); |
587 | 593 | } else { |
588 | 594 | $catbox = "" ; |
589 | 595 | } |