Revision: 46291
Author:   brion
Date:     2009-01-26 21:56:05 +0000 (Mon, 26 Jan 2009)

Log Message:
-----------
revert r45343 on branch as well

Modified Paths:
--------------
    branches/REL1_14/phase3/includes/SkinTemplate.php

Modified: branches/REL1_14/phase3/includes/SkinTemplate.php
===================================================================
--- branches/REL1_14/phase3/includes/SkinTemplate.php   2009-01-26 21:53:19 UTC 
(rev 46290)
+++ branches/REL1_14/phase3/includes/SkinTemplate.php   2009-01-26 21:56:05 UTC 
(rev 46291)
@@ -879,10 +879,9 @@
 
                        // Also add a "permalink" while we're at it
                        if ( $this->mRevisionId ) {
-                               global $wgScript;
                                $nav_urls['permalink'] = array(
                                        'text' => wfMsg( 'permalink' ),
-                                       'href' => 
"{$wgScript}?oldid={$this->mRevisionId}"
+                                       'href' => $wgTitle->getLocalURL( 
"oldid=$this->mRevisionId" )
                                );
                        }
 



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to