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:
7450051
)
Fix regression from r38325 -- caused first character of section name in a history...
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 1 Aug 2008 02:02:08 +0000
(
02:02
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 1 Aug 2008 02:02:08 +0000
(
02:02
+0000)
Title::setFragment() does not do what you'd think it does. :)
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
5a820d4
..
852ea80
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-1233,7
+1233,7
@@
class Linker {
$sectionTitle = Title::newFromText( '#' . $section );
} else {
$sectionTitle = wfClone( $title );
- $sectionTitle->
setFragment( $section )
;
+ $sectionTitle->
mFragment = $section
;
}
$link = $this->link( $sectionTitle, wfMsgForContent( 'sectionlink' ) );
}