* Section anchors now have an "id" attribute as well as a "name" attribute,
even when Tidy is not used
* (bug 16026) revision-info, revision-info-current, cannotdelete,
- redirectedfrom and historywarning messages now use Wiki text rather than raw
- HTML markup
+ redirectedfrom, historywarning and difference messages now use Wiki text
+ rather than raw HTML markup
* (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
=== API changes in 1.14 ===
} else {
$wgOut->setPageTitle( $oldTitle . ', ' . $newTitle );
}
- $wgOut->setSubtitle( wfMsg( 'difference' ) );
+ $wgOut->setSubtitle( wfMsgExt( 'difference', array( 'parseinline' ) ) );
$wgOut->setRobotPolicy( 'noindex,nofollow' );
if ( !( $this->mOldPage->userCanRead() && $this->mNewPage->userCanRead() ) ) {
$newminor = '';
if ($this->mOldRev->mMinorEdit == 1) {
- $oldminor = Xml::span( wfMsg( 'minoreditletter'), 'minor' ) . ' ';
+ $oldminor = Xml::span( wfMsg( 'minoreditletter' ), 'minor' ) . ' ';
}
if ($this->mNewRev->mMinorEdit == 1) {
- $newminor = Xml::span( wfMsg( 'minoreditletter'), 'minor' ) . ' ';
+ $newminor = Xml::span( wfMsg( 'minoreditletter' ), 'minor' ) . ' ';
}
$rdel = ''; $ldel = '';
$revdel = SpecialPage::getTitleFor( 'Revisiondelete' );
if( !$this->mOldRev->userCan( Revision::DELETED_RESTRICTED ) ) {
// If revision was hidden from sysops
- $ldel = wfMsgHtml('rev-delundel');
+ $ldel = wfMsgHtml( 'rev-delundel' );
} else {
$ldel = $sk->makeKnownLinkObj( $revdel,
- wfMsgHtml('rev-delundel'),
+ wfMsgHtml( 'rev-delundel' ),
'target=' . urlencode( $this->mOldRev->mTitle->getPrefixedDbkey() ) .
'&oldid=' . urlencode( $this->mOldRev->getId() ) );
// Bolden oversighted content
// We don't currently handle well changing the top revision's settings
if( $this->mNewRev->isCurrent() ) {
// If revision was hidden from sysops
- $rdel = wfMsgHtml('rev-delundel');
+ $rdel = wfMsgHtml( 'rev-delundel' );
} else if( !$this->mNewRev->userCan( Revision::DELETED_RESTRICTED ) ) {
// If revision was hidden from sysops
- $rdel = wfMsgHtml('rev-delundel');
+ $rdel = wfMsgHtml( 'rev-delundel' );
} else {
$rdel = $sk->makeKnownLinkObj( $revdel,
- wfMsgHtml('rev-delundel'),
+ wfMsgHtml( 'rev-delundel' ),
'target=' . urlencode( $this->mNewRev->mTitle->getPrefixedDbkey() ) .
'&oldid=' . urlencode( $this->mNewRev->getId() ) );
// Bolden oversighted content
$wgOut->addHTML( $header );
- $wgOut->setSubtitle( wfMsg( 'difference' ) );
+ $wgOut->setSubtitle( wfMsgExt( 'difference', array( 'parseinline' ) ) );
$wgOut->setRobotPolicy( 'noindex,nofollow' );
wfProfileOut( __METHOD__ );
function localiseLineNumbersCb( $matches ) {
global $wgLang;
- return wfMsgExt( 'lineno', array('parseinline'), $wgLang->formatNum( $matches[1] ) );
+ return wfMsgExt( 'lineno', array( 'parseinline' ), $wgLang->formatNum( $matches[1] ) );
}