Index: trunk/extensions/Interwiki/SpecialInterwiki_body.php |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | $dbr = wfGetDB( DB_SLAVE ); |
76 | 76 | $row = $dbr->selectRow( 'interwiki', '*', array( 'iw_prefix' => $prefix ) ); |
77 | 77 | if( !$row ){ |
78 | | - $errormessage = wfMsgHtml( 'interwiki_editerror' ); |
| 78 | + $errormessage = wfMsgHtml( 'interwiki_editerror', $prefix ); |
79 | 79 | $wgOut->addWikiText( "<br /><div class=\"error\">$errormessage</div><br />" ); |
80 | 80 | return; |
81 | 81 | } |
— | — | @@ -85,7 +85,7 @@ |
86 | 86 | $local = $row->iw_local ? " checked='checked'" : ''; |
87 | 87 | $old = "<input type='hidden' name='prefix' value='" . htmlspecialchars( $row->iw_prefix ) . "' />"; |
88 | 88 | $topmessage = wfMsgHtml( 'interwiki_edittext' ); |
89 | | - $intromessage = wfMsg( 'interwiki_editintro' ); |
| 89 | + $intromessage = wfMsgHtml( 'interwiki_editintro' ); |
90 | 90 | $button = wfMsgHtml( 'edit' ); |
91 | 91 | } else { |
92 | 92 | $prefix = "<input tabindex='1' type='text' name='prefix' maxlength='20' size='20' />"; |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | $old = ''; |
96 | 96 | $defaulturl = wfMsgHtml( 'interwiki_defaulturl' ); |
97 | 97 | $topmessage = wfMsgHtml( 'interwiki_addtext' ); |
98 | | - $intromessage = wfMsg( 'interwiki_addintro' ); |
| 98 | + $intromessage = wfMsgHtml( 'interwiki_addintro' ); |
99 | 99 | $button = wfMsgHtml( 'interwiki_addbutton' ); |
100 | 100 | } |
101 | 101 | |
— | — | @@ -105,7 +105,7 @@ |
106 | 106 | $reasonmessage = wfMsgHtml( 'interwiki_reasonfield' ); |
107 | 107 | $urlmessage = wfMsgHtml( 'interwiki_url' ); |
108 | 108 | $token = htmlspecialchars( $wgUser->editToken() ); |
109 | | - $defaultreason = wfMsgForContent( 'interwiki_defaultreason' ); |
| 109 | + $defaultreason = htmlspecialchars( wfMsgForContent( 'interwiki_defaultreason' ) ); |
110 | 110 | |
111 | 111 | $wgOut->addHTML( |
112 | 112 | "<fieldset> |