r24689 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24688‎ | r24689 | r24690 >
Date:19:52, 8 August 2007
Author:robchurch
Status:old
Tags:
Comment:
Nothing clumsy about it in the first place; having the file name in the title is helpful
Modified paths:
  • /trunk/phase3/includes/FileRevertForm.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/FileRevertForm.php
@@ -133,7 +133,7 @@
134134 */
135135 private function setHeaders() {
136136 global $wgOut;
137 - $wgOut->setPageTitle( wfMsg( 'filerevert' ) );
 137+ $wgOut->setPageTitle( wfMsg( 'filerevert', $this->title->getText() ) );
138138 $wgOut->setRobotPolicy( 'noindex,nofollow' );
139139 }
140140
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -1483,7 +1483,7 @@
14841484
14851485 # File reversion
14861486 'filerevert' => 'Revert $1',
1487 -'filerevert-legend' => 'Confirm file revert',
 1487+'filerevert-legend' => 'Revert file',
14881488 'filerevert-intro' => "<span class=\"plainlinks\">You are reverting '''[[Media:$1|$1]]''' to the [$4 version as of $2, $3].</span>",
14891489 'filerevert-comment' => 'Comment:',
14901490 'filerevert-defaultcomment' => 'Reverted to version as of $1, $2',

Follow-up revisions

RevisionCommit summaryAuthorDate
r24705Merged revisions 24632-24693 via svnmerge from...david19:15, 9 August 2007

Status & tagging log