Last modified: 2010-05-15 15:28:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 786 - Redirect on an image description page redirects, but the target page displays the image
Redirect on an image description page redirects, but the target page displays...
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
All All
: Normal minor with 2 votes (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
Depends on: 710
Blocks: 709
  Show dependency treegraph
Reported: 2004-10-26 16:12 UTC by Mormegil
Modified: 2010-05-15 15:28 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Mormegil 2004-10-26 16:12:29 UTC
When the description page for an image, that is present
(i.e. has not been deleted), is a redirect and a user displays it,
he gets redirected to the proper page, but at the top of the page,
the image is displayed just as if the target page was a description
page itself (while it may be not).

(See )

This might be a feature, not a bug, but I consider it at least
surprising that clicking on an image could lead to another page with
the image displayed on top without any marking.
Comment 1 Antoine "hashar" Musso (WMF) 2004-10-27 23:37:57 UTC
Confirmed in HEAD
Comment 2 Daniel Kinzler 2004-12-15 00:19:04 UTC
I just added Bug #1103, which describes the same problem in reverse. I guess
it's the same problem that causes the behaviour described in both bug reports:
the image name is determined from the query-url *before* the redirect is
resolved. But the *effective* page name should be used to find the image file.
Comment 3 Brion Vibber 2004-12-15 00:33:33 UTC
This is the same basic problem as with categories (bug 710); the redirect doesn't 
start over fresh with a new Article (or subclass) instance, but hacks some of the data 
in the current one.
Comment 4 Jeroen Roos 2005-05-24 09:04:58 UTC
I have added a simple patch to bug 710, that will probably solve this one too.
Comment 5 Antoine "hashar" Musso (WMF) 2005-08-11 05:31:28 UTC
bug 710 is on it's way to get fixed. Need to have a close look at images now.
Comment 6 Brion Vibber 2006-02-05 18:46:04 UTC
This would have been fixed by changes last monthish.
Comment 7 lɛʁi לערי ריינהארט 2006-02-05 20:15:40 UTC
Changing url (from the old 'test:' wiki)

best regards reinhardt [[user:gangleri]]
Comment 8 lɛʁi לערי ריינהארט 2006-02-12 12:57:04 UTC
The example from comment #7 did not correspond to comment 0.

I think this bug should be confusing because behaviour is very iritating.

Image A is present and image B is present and A redirects to B.

A =
B =

the description page of A shows the desctiption page of B
This is basicaly what a redirect is.

However '(Redirected from Image:Redirect to Smiley.png)' could be more precise
about the existence of Media:Redirect to Smiley.png (*Media*).

[[image:Smile icon.png|right|150px|conflict ;-)]] where image:Smile icon.png
redirects to image:Smiley.png

Please comment / let us know your opinion if this should be improuved.
Please reopen a separate bug if necessary.

best regards reinhardt [[user:gangleri]]

Note You need to log in before you can comment on or make changes to this bug.