Bugs of the month
There’s a few outstanding bugs that I’d like to see get fixed in MediaWiki before the end of the month, but I might be asking a bit much :p
- Bug 11209 – Image directories vulnerable to other local users – I did some work on this off-and-on over the summer mostly. Largely, this is probably done (removing all the many many calls to
mkdir()and replacing them withwfMkdirParents()and letting it control the file/directory mode helped), but it could use a bit of cleanup and resolution. I think there’s a fewmkdir()calls left lingering in./maintenance, and I belive there’s achmod()call in MessageCache or somesuch. - Bug 13750 – $wgCapitalLinks should be a per-namespace setting – I filed this bug quite some time ago, in an attempt to help ease the first-case-sensitive woes surrounding MediaWiki. As everyone knows, default behavior is to leave the first first letter of every page capitalized. Why this was initially done, I don’t know (anyone have a clue?), but it’s created for some fun over the years
This bug would allow configuration of this setting on a per-namespace basis, but it probably needs a bunch of regression checks to make sure we’re not arbitrarily calling ucfirst()anywhere outside of what $wgCapitalLinks will allow. - Bug 14418 – Add rd_interwiki column to redirect table – This is a long-standing request of mine, and the code’s all there too
Just waiting for Brion to greenlight the schema changes on WMF sites so we can push this code live. Just needs some prodding, not work. - Bug 15008 – Redirect images not subject to bad image list rules – Oops :p Well, I think the entire system might need a bit of a cleanup anyway. I noticed in testing that redirected images load the image object _several times_ during their codepath. For local images, this is negligible. When redirecting to an image fetched via a ForeignApiRepo, it makes a large difference (and ultimately fails…which is odd, if you can’t redirect to them, why bother loading?).
And, as always, I want to cleanup ForeignApiRepo/ForeignApiFile and make them Not Suck.
