dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c295e
)
Revert r45343 "(bug 16659) Prettify permalinks. Just use ?oldid=x" for now.
author
Brion Vibber
<brion@users.mediawiki.org>
Mon, 26 Jan 2009 21:53:19 +0000
(21:53 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Mon, 26 Jan 2009 21:53:19 +0000
(21:53 +0000)
This hasn't been very popular so far; pulling it back pending further discussion (as on bug)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
1785fa0
..
5959671
100644
(file)
--- 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" )
);
}