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