(bug 16026) MediaWiki:Revision-info should accept wikimarkup
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 1 Dec 2008 21:36:20 +0000 (21:36 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 1 Dec 2008 21:36:20 +0000 (21:36 +0000)
RELEASE-NOTES
includes/Article.php

index f033e4d..24fbd0f 100644 (file)
@@ -385,6 +385,8 @@ The following extensions are migrated into MediaWiki 1.14:
   had marked them as having created another account, when their last account
   creation had actually failed.
 * (bug 12647) Allow autogenerated edit summary messages to be blanked with '-'
+* (bug 16026) 'Revision-info' and 'revision-info-current' both accept wiki 
+  markup now.
 
 === API changes in 1.14 ===
 
index 1578e88..0600546 100644 (file)
@@ -2921,9 +2921,9 @@ class Article {
                        ? 'revision-info-current'
                        : 'revision-info';
 
-               $r = "\n\t\t\t\t<div id=\"mw-{$infomsg}\">" . wfMsg( $infomsg, $td, $userlinks, $revision->getID() ) . "</div>\n" .
-
-                    "\n\t\t\t\t<div id=\"mw-revision-nav\">" . $cdel . wfMsg( 'revision-nav', $prevdiff, 
+               $r = "\n\t\t\t\t<div id=\"mw-{$infomsg}\">" . wfMsgExt( $infomsg, 
+                               array( 'parseinline', 'escapenoentities' ), $td, $userlinks, $revision->getID() ) . "</div>\n" .
+                               "\n\t\t\t\t<div id=\"mw-revision-nav\">" . $cdel . wfMsg( 'revision-nav', $prevdiff, 
                                $prevlink, $lnk, $curdiff, $nextlink, $nextdiff ) . "</div>\n\t\t\t";
                $wgOut->setSubtitle( $r );
        }