Small tweak to section editing- try to generate a section (toc-)anchor from the edite...
authorGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 14 May 2004 13:03:57 +0000 (13:03 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 14 May 2004 13:03:57 +0000 (13:03 +0000)
commitf48f6617c81d50cd280957ac9d2a0f386549b7dc
tree42fc4983f55894b6d8c794540c2304b3f7a137b7
parent51be5ecccf27f6d496177f9e658d8ab9a18299cb
Small tweak to section editing- try to generate a section (toc-)anchor from the edited section
and append that anchor to the url redirected to, so just edited section is shown by default

Shortcomings:
* won't append a number to duplicate headlines on a page (result: will go to first header with that content)
* doesn't actually parse the headline, headlines with [\\['{<>] in them will just fall back to the old behaviour
includes/Article.php
includes/EditPage.php