From 0eefca0d874d506f2523b83fb42736ec5d5abaec Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 26 Jan 2009 21:53:19 +0000 Subject: [PATCH] Revert r45343 "(bug 16659) Prettify permalinks. Just use ?oldid=x" for now. This hasn't been very popular so far; pulling it back pending further discussion (as on bug) --- includes/SkinTemplate.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 1785fa0f00..59596718e8 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -880,10 +880,9 @@ class SkinTemplate extends Skin { // 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" ) ); } -- 2.20.1