r44700 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44699‎ | r44700 | r44701 >
Date:01:35, 17 December 2008
Author:aaron
Status:resolved (Comments)
Tags:
Comment:
Add fragment to nav links to set location
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -967,6 +967,7 @@
968968 parent::__construct();
969969 $this->mImagePage =& $imagePage;
970970 $this->mTitle = $imagePage->getTitle();
 971+ $this->mTitle->setFragment( '#filehistory' );
971972 $this->mImg = NULL;
972973 $this->mHist = array();
973974 $this->mRange = array( 0, 0 ); // display range

Follow-up revisions

RevisionCommit summaryAuthorDate
r44959Cleanup for r44700 -- work on a clone of $wgTitle instead of modifying the fr...brion17:58, 23 December 2008

Comments

#Comment by Brion VIBBER (talk | contribs)   17:50, 23 December 2008

This is altering other links on the image page; should clone the title object before modifying...

#Comment by Brion VIBBER (talk | contribs)   17:58, 23 December 2008

Fixed in r44959

Status & tagging log