r42245 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42244‎ | r42245 | r42246 >
Date:01:27, 20 October 2008
Author:werdna
Status:old
Tags:
Comment:
Add revision ID to revision-info-current, revision-info messages, for diffs and stuff.
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -2968,7 +2968,7 @@
29692969 ? 'revision-info-current'
29702970 : 'revision-info';
29712971
2972 - $r = "\n\t\t\t\t<div id=\"mw-{$infomsg}\">" . wfMsg( $infomsg, $td, $userlinks ) . "</div>\n" .
 2972+ $r = "\n\t\t\t\t<div id=\"mw-{$infomsg}\">" . wfMsg( $infomsg, $td, $userlinks, $revision->getID() ) . "</div>\n" .
29732973
29742974 "\n\t\t\t\t<div id=\"mw-revision-nav\">" . $cdel . wfMsg( 'revision-nav', $prevdiff,
29752975 $prevlink, $lnk, $curdiff, $nextlink, $nextdiff ) . "</div>\n\t\t\t";

Follow-up revisions

RevisionCommit summaryAuthorDate
r42260Per r42245: Document available parametersraymond11:28, 20 October 2008

Status & tagging log