On Sat, Aug 14, 2010 at 5:54 AM, Strainu <strainu10(a)gmail.com> wrote:
2010/8/14 Strainu <strainu10(a)gmail.com>om>:
I remember last year image redirects used to work
flawlessly. Tonight
I can't seem to get one working. Has the behavior of MediaWiki changed
or am I doing something wrong?
Thanks to a user from wikimedia-tech, I found out that the issue was
that I was trying to redirect to a commons image, which is not yet
supported. I think it would be a pretty good idea to have something
like that. How hard would it be to actually implement this kind of
redirections? Is anyone willing to do it? I would be, but I think I'll
need some guidance.
Redirects to ForeignDBRepos (like Commons) or ForeignApiRepos
(InstantCommons) don't work. I played with it before, but I can't
remember what the exact issue was.
The code you're looking for is rather spread out, as file redirects
are handled by both the ImagePage and File classes (and File's
various subclasses).
-Chad