r48790 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48789‎ | r48790 | r48791 >
Date:07:45, 25 March 2009
Author:aaron
Status:ok
Tags:
Comment:
(bug 18146) Include revision number at beginning in Special:Code page title
Modified paths:
  • /trunk/extensions/CodeReview/CodeReview.i18n.php (modified) (history)
  • /trunk/extensions/CodeReview/CodeRevisionView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeReview.i18n.php
@@ -10,6 +10,7 @@
1111
1212 $messages['en'] = array(
1313 'code' => 'Code Review',
 14+ 'code-rev-title' => 'r$1 - Code Review',
1415 'code-comments' => 'Comments',
1516 'code-change-status' => 'changed the \'\'\'status\'\'\' of r$1',
1617 'code-change-tags' => 'changed the \'\'\'tags\'\'\' for r$1',
Index: trunk/extensions/CodeReview/CodeRevisionView.php
@@ -43,6 +43,8 @@
4444 return;
4545 }
4646
 47+ $wgOut->setPageTitle( wfMsgHtml('code-rev-title',$this->mRev->getId()) );
 48+
4749 $repoLink = $wgUser->getSkin()->link( SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() ),
4850 htmlspecialchars( $this->mRepo->getName() ) );
4951 $revText = $this->navigationLinks();

Status & tagging log