Index: trunk/phase3/includes/Status.php |
— | — | @@ -142,7 +142,7 @@ |
143 | 143 | $params = $this->cleanParams( $item['params'] ); |
144 | 144 | $xml = "<{$item['type']}>\n" . |
145 | 145 | Xml::element( 'message', null, $item['message'] ) . "\n" . |
146 | | - Xml::element( 'text', null, wfMsgReal( $item['message'], $params ) ) ."\n"; |
| 146 | + Xml::element( 'text', null, wfMsg( $item['message'], $params ) ) ."\n"; |
147 | 147 | foreach ( $params as $param ) { |
148 | 148 | $xml .= Xml::element( 'param', null, $param ); |
149 | 149 | } |
— | — | @@ -211,17 +211,15 @@ |
212 | 212 | protected function getWikiTextForError( $error ) { |
213 | 213 | if ( is_array( $error ) ) { |
214 | 214 | if ( isset( $error['message'] ) && isset( $error['params'] ) ) { |
215 | | - return wfMsgReal( $error['message'], |
216 | | - array_map( 'wfEscapeWikiText', $this->cleanParams( $error['params'] ) ), |
217 | | - true, false, false ); |
| 215 | + return wfMsgNoTrans( $error['message'], |
| 216 | + array_map( 'wfEscapeWikiText', $this->cleanParams( $error['params'] ) ) ); |
218 | 217 | } else { |
219 | 218 | $message = array_shift($error); |
220 | | - return wfMsgReal( $message, |
221 | | - array_map( 'wfEscapeWikiText', $this->cleanParams( $error ) ), |
222 | | - true, false, false ); |
| 219 | + return wfMsgNoTrans( $message, |
| 220 | + array_map( 'wfEscapeWikiText', $this->cleanParams( $error ) ) ); |
223 | 221 | } |
224 | 222 | } else { |
225 | | - return wfMsgReal( $error, array(), true, false, false); |
| 223 | + return wfMsgNoTrans( $error ); |
226 | 224 | } |
227 | 225 | } |
228 | 226 | |