r38331 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r38330
|
r38331
|
r38332
>
Date:
02:02, 1 August 2008
Author:
brion
Status:
old
Tags:
Comment:
Fix regression from
r38325
-- caused first character of section name in a history link to be trimmed.
Title::setFragment() does not do what you'd think it does. :)
Modified paths:
/trunk/phase3/includes/Linker.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Linker.php
—
—
@@ -1233,7 +1233,7 @@
1234
1234
$sectionTitle = Title::newFromText( '#' . $section );
1235
1235
} else {
1236
1236
$sectionTitle = wfClone( $title );
1237
- $sectionTitle->setFragment( $section );
1237
+ $sectionTitle->mFragment = $section;
1238
1238
}
1239
1239
$link = $this->link( $sectionTitle, wfMsgForContent( 'sectionlink' ) );
1240
1240
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r38325
(
bug 14995
) Some link fragments in the interface stopped appearing, because T...
simetrical
00:47, 1 August 2008
Status & tagging log
15:29, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r38331
[
removed:
ok
added:
old]