Last modified: 2011-03-12 15:34:49 UTC
BUG MIGRATED FROM SOURCEFORGE http://sourceforge.net/tracker/index.php?func=detail&aid=584445&group_id=34373&atid=411192 Originally submitted by Nobody/Anonymous - nobody 2002-07-21 11:59 What links here doesn't work for pages in the image:namespace. For example, clicking on 'what links here' for [[Image:Northern Spotted Owl.USFWS-thumb.jpg]] returns nothing even though [[owl]] is linked to the image. http://www.wikipedia.com/w/wiki.phtml?title=Special:Whatlinkshere&target=Image:Northern_Spotted_Owl.USFWS-thumb.jpg Hum, there seems to be duplication in functionality by listing 'Image links' and having the standard 'what links here' in the sidebar. I would suggest we just have the standard sidebar link and have it work for image:namespace pages (KISS principle). Another /apparent/ area of duplication is the 'image history' -- although I understand that this is a versioning feature of the media itself and not edits to the image:namespace page. Perhaps we should brainstorm on a way to either make this more clear... --maveric149 ------------------------- Additional comments ------------------------ Date: 2002-07-21 12:56 Sender: SF user vibber On a related note; it's unclear how one would go about making a /text/ link to an image description/history page short of using the full URL. The Image: namespace is somewhat magical in that links to it are always pictures... That's the point, of course. :) But in retrospect, perhaps it would be less confusing if the Image: namespace were *just* for the image itself, and the /editable text description page/ were in another namespace that can be directly linked to like everything else on the wiki. (Image description:? Image talk:? File description? Better not to restrict this to images only; we have sound files and potentially video/animation clips, etc.) Hmm, maybe this belongs in a feature request. ------------------------------------------------- Date: 2002-07-22 21:46 Sender: SF user lcrocker This is an issue of confusion/documentation. The code behaves correctly as designed. "What links here" is giving you a (correctly empty) list of what links to the description page. the description page itself tells you what links to the image. To make a link to the description page, begin it with a colon--[[:image:filename]]. Will move to feature requests to consider doing differently. ------------------------------------------------- Date: 2003-12-11 20:23 Sender: SF user evanprodromou Lee is, of course, wrong on this one. Links to the description page in the form [[:Image:filename.ext]] do not show up on "What links here". I'm moving this back to bug status. We need to have "what links here" as much for image pages as for anything else. Alternately, we can just remove the "what links here" option for "Image:" namespace articles, if we don't think people should get to know what links to the description page. Let me try and restate this: this is a bug because we have a link that says "What links here" but it never shows what links here -- neither to the image nor to the description. ------------------------------------------------- Date: 2004-06-09 13:02 Sender: nobody Logged In: NO Related bugs: #966936, #968603
I personally think that one should be closed. whatslinkhere is to list page that point to the image: page whereas article having the picture are already listed on the image: page. So basicly for me it's : working as intended / need documentation
compare with bug 136: comment 10 - this seems to be a duplicate bug 136: "What links here" on images seems to be completely empty
update for linc in comment 0 http://en.wikipedia.org/w/wiki.phtml?title=Special:Whatlinkshere/Image:Northern_Spotted_Owl.USFWS-thumb.jpg reopened the bug in response to comment 1 > whatslinkhere is to list page that point to the image: page whereas article having the picture are already listed on the image: page. As far as I understand there is *no* functionaly to list all the pages (up to a limit as 500) which refer to pages from the *Image* namespace. This is not the same as the pages that include the corresponding page from the *Media* namespace. I realy do not understand why there is a "whatslinkhere" for every seccondary namespace but *not* for the image namespace. The lack is a shortage from the perspective of maintaining a wiki. Regards Reinhardt [[user:gangleri]]
please compare with [[en:User:Gangleri/tests/media]]
Unfortunately it does not work with links that start with :Image (to link to the description page instead of embedding the image), they don't appear in the table. Images that are embedded into the page do show up in the table. This is with version 1.5.6. New bug?
*** Bug 5517 has been marked as a duplicate of this bug. ***
*** Bug 5631 has been marked as a duplicate of this bug. ***
*note* quite strange: http://nike.users.idler.fi/betawiki/special:Whatlinkshere/image:nonexistent_image.png shows 5 links http://nike.users.idler.fi/betawiki/special:Whatlinkshere/image:existent_image.png does not show http://nike.users.idler.fi/betawiki/Link_to_existent_image_01 .. http://nike.users.idler.fi/betawiki/Link_to_existent_image_05 http://nike.users.idler.fi/betawiki/Link_to_existent_image_11
*** Bug 6641 has been marked as a duplicate of this bug. ***
Created attachment 2144 [details] Patch Patch for Parser.php to fix this bug.
*** Bug 6869 has been marked as a duplicate of this bug. ***
Created attachment 2184 [details] What links here for including image links I patched my personal wiki to allow What Links Here to show all links to where an image is used. In the above comments it is said that What Links Here should only show direct links to the image page (i.e. [[:Image:Foo.jpg]]). Obviously, I disagree with that. That behavior would seem to be unexpected and surprising. Not to mention that it doesn't work right now (e.g. all What Links Here pages for images seem to be always blank). In my opinion, image uses should be included on What Links Here. At the least, the attached patch could be easily modified to identify direct links to images with some phrase in the same way redirects and inclusions are identified on the links here page. See also bug [[6869]] which contains a patch to add inline images to the imagelinks table, which would be an alternative to adding inline images to the pagelinks table (WebBoy's patch in comment 9).
Tim fixed this in SVN trunk, r16116.