r47165 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47164‎ | r47165 | r47166 >
Date:21:14, 11 February 2009
Author:ialex
Status:deferred
Tags:
Comment:
Fix escaping of pipe-separator in revision (included via {{int:...}} in it)
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -3037,8 +3037,8 @@
30383038 $r = "\n\t\t\t\t<div id=\"mw-{$infomsg}\">" . wfMsgExt( $infomsg, array( 'parseinline', 'replaceafter' ),
30393039 $td, $userlinks, $revision->getID() ) . "</div>\n" .
30403040
3041 - "\n\t\t\t\t<div id=\"mw-revision-nav\">" . $cdel . wfMsgHtml( 'revision-nav', $prevdiff,
3042 - $prevlink, $lnk, $curdiff, $nextlink, $nextdiff ) . "</div>\n\t\t\t";
 3041+ "\n\t\t\t\t<div id=\"mw-revision-nav\">" . $cdel . wfMsgExt( 'revision-nav', array( 'escapenoentities', 'parsemag', 'replaceafter' ),
 3042+ $prevdiff, $prevlink, $lnk, $curdiff, $nextlink, $nextdiff ) . "</div>\n\t\t\t";
30433043 $wgOut->setSubtitle( $r );
30443044 }
30453045

Follow-up revisions

RevisionCommit summaryAuthorDate
r47277Backport r47165: Fix escaping of pipe-separator in revision (included via {{i...siebrand20:58, 14 February 2009

Status & tagging log