Refactor somewhat so that escapeId() works right
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 5 Jan 2009 15:59:35 +0000 (15:59 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 5 Jan 2009 15:59:35 +0000 (15:59 +0000)
commit4fde66f28dd0dc20cf0e4ecbe8e56a0419a91ce5
tree7cb94b5c18dac6b119dc5c2d6dfbc1d89b625e5e
parent3272f4a08a1965a0a9e2c7bd2261b16300bdadfa
Refactor somewhat so that escapeId() works right

r45267 commented out the logic prohibiting numbers and so on at the
start of id's.  I've uncommented this logic, but passed 'noninitial' as
an option to escapeId() in all necessary circumstances.  Shouldn't
change behavior, this is to simplify some further work I'm about to do.
includes/Sanitizer.php
includes/Title.php
includes/parser/Parser.php