On 11-05-13 04:27 PM, Happy-melon wrote:
> "Daniel Friesen" <[email protected]> wrote in message 
> news:[email protected]...
>> 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=%2Ftrunk%2Fphase3&recursive=on&searchphrase=%27_%27&timestamp=1305329107
>
> 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]


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to