2010/8/14 Strainu strainu10@gmail.com:
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.
Thanks, Strainu
On Sat, Aug 14, 2010 at 5:54 AM, Strainu strainu10@gmail.com wrote:
2010/8/14 Strainu strainu10@gmail.com:
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
2010/8/15 Chad innocentkiller@gmail.com:
On Sat, Aug 14, 2010 at 5:54 AM, Strainu strainu10@gmail.com wrote:
2010/8/14 Strainu strainu10@gmail.com:
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).
Thanks Chad and Ilmari for your indications! I'll just have to circumvent this problem somehow for now.
Strainu
wikitech-l@lists.wikimedia.org