r46291 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46290‎ | r46291 | r46292 >
Date:21:56, 26 January 2009
Author:brion
Status:ok
Tags:
Comment:
revert r45343 on branch as well
Modified paths:
  • /branches/REL1_14/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: branches/REL1_14/phase3/includes/SkinTemplate.php
@@ -879,10 +879,9 @@
880880
881881 // Also add a "permalink" while we're at it
882882 if ( $this->mRevisionId ) {
883 - global $wgScript;
884883 $nav_urls['permalink'] = array(
885884 'text' => wfMsg( 'permalink' ),
886 - 'href' => "{$wgScript}?oldid={$this->mRevisionId}"
 885+ 'href' => $wgTitle->getLocalURL( "oldid=$this->mRevisionId" )
887886 );
888887 }
889888

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r45343(bug 16659) Prettify permalinks. Just use ?oldid=xaaron20:50, 2 January 2009

Status & tagging log