Index: trunk/phase3/includes/PageHistory.php |
— | — | @@ -174,7 +174,7 @@ |
175 | 175 | function beginHistoryList() { |
176 | 176 | global $wgTitle; |
177 | 177 | $this->lastdate = ''; |
178 | | - $s = wfMsgWikiHtml( 'histlegend' ); |
| 178 | + $s = wfMsgExt( 'histlegend', array( 'parse') ); |
179 | 179 | $s .= '<form action="' . $wgTitle->escapeLocalURL( '-' ) . '" method="get">'; |
180 | 180 | $prefixedkey = htmlspecialchars($wgTitle->getPrefixedDbKey()); |
181 | 181 | |
— | — | @@ -198,8 +198,6 @@ |
199 | 199 | |
200 | 200 | /** @todo document */ |
201 | 201 | function endHistoryList() { |
202 | | - $last = wfMsg( 'last' ); |
203 | | - |
204 | 202 | $s = '</ul>'; |
205 | 203 | $s .= $this->submitButton( array( 'id' => 'historysubmit' ) ); |
206 | 204 | $s .= '</form>'; |
— | — | @@ -213,9 +211,9 @@ |
214 | 212 | array( |
215 | 213 | 'class' => 'historysubmit', |
216 | 214 | 'type' => 'submit', |
217 | | - 'accesskey' => wfMsgHtml( 'accesskey-compareselectedversions' ), |
218 | | - 'title' => wfMsgHtml( 'tooltip-compareselectedversions' ), |
219 | | - 'value' => wfMsgHtml( 'compareselectedversions' ), |
| 215 | + 'accesskey' => wfMsg( 'accesskey-compareselectedversions' ), |
| 216 | + 'title' => wfMsg( 'tooltip-compareselectedversions' ), |
| 217 | + 'value' => wfMsg( 'compareselectedversions' ), |
220 | 218 | ) ) ) |
221 | 219 | : ''; |
222 | 220 | } |
— | — | @@ -251,7 +249,7 @@ |
252 | 250 | $s .= " $link <span class='history-user'>$user</span>"; |
253 | 251 | |
254 | 252 | if( $row->rev_minor_edit ) { |
255 | | - $s .= ' ' . wfElement( 'span', array( 'class' => 'minor' ), wfMsgHtml( 'minoreditletter') ); |
| 253 | + $s .= ' ' . wfElement( 'span', array( 'class' => 'minor' ), wfMsg( 'minoreditletter') ); |
256 | 254 | } |
257 | 255 | |
258 | 256 | $s .= $this->mSkin->revComment( $rev ); |
— | — | @@ -284,7 +282,7 @@ |
285 | 283 | |
286 | 284 | /** @todo document */ |
287 | 285 | function curLink( $rev, $latest ) { |
288 | | - $cur = wfMsgHtml( 'cur' ); |
| 286 | + $cur = wfMsgExt( 'cur', array( 'escape') ); |
289 | 287 | if( $latest || !$rev->userCan( MW_REV_DELETED_TEXT ) ) { |
290 | 288 | return $cur; |
291 | 289 | } else { |
— | — | @@ -297,7 +295,7 @@ |
298 | 296 | |
299 | 297 | /** @todo document */ |
300 | 298 | function lastLink( $rev, $next, $counter ) { |
301 | | - $last = htmlspecialchars( wfMsg( 'last' ) ); |
| 299 | + $last = wfMsgExt( 'last', array( 'escape' ) ); |
302 | 300 | if( is_null( $next ) ) { |
303 | 301 | if( $rev->getTimestamp() == $this->getEarliestOffset() ) { |
304 | 302 | return $last; |