Index: branches/REL1_14/phase3/includes/SkinTemplate.php |
— | — | @@ -879,10 +879,9 @@ |
880 | 880 | |
881 | 881 | // Also add a "permalink" while we're at it |
882 | 882 | if ( $this->mRevisionId ) { |
883 | | - global $wgScript; |
884 | 883 | $nav_urls['permalink'] = array( |
885 | 884 | 'text' => wfMsg( 'permalink' ), |
886 | | - 'href' => "{$wgScript}?oldid={$this->mRevisionId}" |
| 885 | + 'href' => $wgTitle->getLocalURL( "oldid=$this->mRevisionId" ) |
887 | 886 | ); |
888 | 887 | } |
889 | 888 | |