r46290 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r46289
|
r46290
|
r46291
>
Date:
21:53, 26 January 2009
Author:
brion
Status:
ok
Tags:
Comment:
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)
Modified paths:
/trunk/phase3/includes/SkinTemplate.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/SkinTemplate.php
—
—
@@ -880,10 +880,9 @@
881
881
882
882
// Also add a "permalink" while we're at it
883
883
if ( $this->mRevisionId ) {
884
- global $wgScript;
885
884
$nav_urls['permalink'] = array(
886
885
'text' => wfMsg( 'permalink' ),
887
- 'href' => "{$wgScript}?oldid={$this->mRevisionId}"
886
+ 'href' => $wgTitle->getLocalURL( "oldid=$this->mRevisionId" )
888
887
);
889
888
}
890
889
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r45343
(
bug 16659
) Prettify permalinks. Just use ?oldid=x
aaron
20:50, 2 January 2009
Status & tagging log
20:44, 27 January 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r46290
[
removed:
new
added:
ok]