On 11-05-13 04:27 PM, Happy-melon wrote:
"Daniel Friesen"
<lists(a)nadir-seen-fire.com> wrote in message
news:4DCDB7AF.7020909@nadir-seen-fire.com...
Fortunately I think most of the space/underscore
switching done by code
is actually isolated to a subset of Title and perhaps a few other core
classes (probably ones like User and the filerepo stuff), most code
should be using the title interface.
http://toolserver.org/~krinkle/wikimedia-svn-search/do-live.php?path=%2Ftru…
Sure, keep telling yourself that... :-P
--HM
Doesn't look that bad...
- Some arcane maintenance scripts.
- Some .js that can't interact with Title working with urls.
- The expected User, Title, Parser, file related, etc... core api stuff
that's easy to tweak.
- Some hardcoded stuff for namespaces which could be improved, but
actually isn't all that applicable to what we're trying to fix.
- Some special pages cleaning up inputs where we might want to provide
something inside Title for that.
And plenty of '_' matches that aren't actually relevant, things like the
Database doing SQL Like escapes, Xml stuff replacing spaces with _ in
tag names, string concatenation of '_', the installer doing some Title
like replacements to clean up the sitename but not doing anything that
would affect our working with page related stuff.
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://daniel.friesen.name]