(bug 15351) Fix fatal error for invalid section fragments in autocomments
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 28 Aug 2008 23:12:57 +0000 (23:12 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 28 Aug 2008 23:12:57 +0000 (23:12 +0000)
commit5c1176af6a5e3e2d9ed4df686cfdc0ace0cf9d25
tree8f36174eab4f2d550212ac4ce3c3e6cd3211caa4
parentdb843ebfd6549a395e092aa81ea57aa93988996e
(bug 15351) Fix fatal error for invalid section fragments in autocomments

. . . probably.  Actually I can't reproduce the problem, so I can't be sure if this fixes it.  But it should.  I'm not at all sure if this is a real fix or more of a workaround.  One code path (!$local) normalizes the fragment and rejects it as invalid, while the other code path ($local) sets the fragment unquestioningly and doesn't validate it.  I don't know which behavior is correct.
RELEASE-NOTES
includes/Linker.php