Fix r40194, which was obviously incorrect. There's no reason $sectionTitle should...
authorTim Starling <tstarling@users.mediawiki.org>
Mon, 1 Sep 2008 15:05:25 +0000 (15:05 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Mon, 1 Sep 2008 15:05:25 +0000 (15:05 +0000)
commit97e30d9bdfef30780bd432494df75dd5355516f2
tree2a76f6627578f4357918491171ff139c826df484
parent0d5541953683911bb45bffa64cadaf081af82160
Fix r40194, which was obviously incorrect. There's no reason $sectionTitle should be valid, so you should probably check to see if Title::newFromText() succeeded, rather than checking the validity of some unrelated variable. Also: use the new three-parameter Title::makeTitleSafe(), instead of cloning and setting mFragment directly.
includes/Linker.php