r95460 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r95459
|
r95460
|
r95461
>
Date:
07:03, 25 August 2011
Author:
dantman
Status:
ok
Tags:
needs-php-test
Comment:
Use getLinkURL instead of getLocalURL for titles from MediaWiki:Sidebar so that #Fragments are not discarded when the user uses them.
Modified paths:
/trunk/phase3/includes/Skin.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Skin.php
—
—
@@ -1168,7 +1168,7 @@
1169
1169
1170
1170
if ( $title ) {
1171
1171
$title = $title->fixSpecialName();
1172
- $href = $title->getLocalURL();
1172
+ $href = $title->getLinkURL();
1173
1173
} else {
1174
1174
$href = 'INVALID-TITLE';
1175
1175
}
Status & tagging log
11:07, 21 September 2011
Nikerabbit
(
talk
|
contribs
)
changed the
status
of r95460
[
removed:
new
added:
ok]
08:15, 25 August 2011
Hashar
(
talk
|
contribs
)
changed the
tags
for r95460
[
added:
needs-php-test]