Index: trunk/phase3/includes/specials/SpecialJavaScriptTest.php |
— | — | @@ -37,16 +37,16 @@ |
38 | 38 | |
39 | 39 | // No framework specified |
40 | 40 | if ( $par == '' ) { |
41 | | - $out->setPagetitle( wfMsg( 'javascripttest' ) ); |
| 41 | + $out->setPagetitle( wfMsgHtml( 'javascripttest' ) ); |
42 | 42 | $summary = $this->wrapSummaryHtml( |
43 | | - wfMsg( 'javascripttest-pagetext-noframework' ) . $this->getFrameworkListHtml(), |
| 43 | + wfMsgHtml( 'javascripttest-pagetext-noframework' ) . $this->getFrameworkListHtml(), |
44 | 44 | 'noframework' |
45 | 45 | ); |
46 | 46 | $out->addHtml( $summary ); |
47 | 47 | |
48 | 48 | // Matched! Display proper title and initialize the framework |
49 | 49 | } elseif ( isset( self::$frameworks[$framework] ) ) { |
50 | | - $out->setPagetitle( wfMsg( 'javascripttest-title', wfMsg( "javascripttest-$framework-name" ) ) ); |
| 50 | + $out->setPagetitle( wfMsgHtml( 'javascripttest-title', wfMsgHtml( "javascripttest-$framework-name" ) ) ); |
51 | 51 | $out->setSubtitle( |
52 | 52 | wfMessage( 'javascripttest-backlink' )->rawParams( Linker::linkKnown( $this->getTitle() ) )->escaped() |
53 | 53 | ); |
— | — | @@ -54,9 +54,9 @@ |
55 | 55 | |
56 | 56 | // Framework not found, display error |
57 | 57 | } else { |
58 | | - $out->setPagetitle( wfMsg( 'javascripttest' ) ); |
| 58 | + $out->setPagetitle( wfMsgHtml( 'javascripttest' ) ); |
59 | 59 | $summary = $this->wrapSummaryHtml( '<p class="error">' |
60 | | - . wfMsg( 'javascripttest-pagetext-unknownframework', $par ) |
| 60 | + . wfMsgHtml( 'javascripttest-pagetext-unknownframework', $par ) |
61 | 61 | . '</p>' |
62 | 62 | . $this->getFrameworkListHtml(), |
63 | 63 | 'unknownframework' |
— | — | @@ -75,7 +75,7 @@ |
76 | 76 | $list .= Html::rawElement( |
77 | 77 | 'li', |
78 | 78 | array(), |
79 | | - Linker::link( $this->getTitle( $framework ), wfMsg( "javascripttest-$framework-name" ) ) |
| 79 | + Linker::link( $this->getTitle( $framework ), wfMsgHtml( "javascripttest-$framework-name" ) ) |
80 | 80 | ); |
81 | 81 | } |
82 | 82 | $list .= '</ul>'; |