Last modified: 2011-03-12 15:34:49 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 360 - What links here doesn't work for image:
What links here doesn't work for image:
Status: CLOSED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal minor with 6 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
: 5517 5631 6641 6869 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-03 03:31 UTC by Timwi
Modified: 2011-03-12 15:34 UTC (History)
8 users (show)

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


Attachments
Patch (512 bytes, patch)
2006-07-24 15:48 UTC, Jelte (WebBoy)
Details
What links here for including image links (1.75 KB, patch)
2006-07-30 23:31 UTC, Robert Rohde
Details

Description Timwi 2004-09-03 03:31:06 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
Comment 1 Antoine "hashar" Musso (WMF) 2004-09-03 14:52:21 UTC
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
Comment 2 lɛʁi לערי ריינהארט 2005-06-25 12:46:35 UTC
compare with bug 136: comment 10 - this seems to be a duplicate
bug 136: "What links here" on images seems to be completely empty
Comment 3 lɛʁi לערי ריינהארט 2005-07-10 08:26:10 UTC
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]]
Comment 4 lɛʁi לערי ריינהארט 2005-07-10 09:34:23 UTC
please compare with [[en:User:Gangleri/tests/media]]
Comment 5 ekb87ds02 2006-03-13 12:20:10 UTC
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?
Comment 6 Rob Church 2006-04-09 18:08:47 UTC
*** Bug 5517 has been marked as a duplicate of this bug. ***
Comment 7 Rob Church 2006-04-18 02:51:45 UTC
*** Bug 5631 has been marked as a duplicate of this bug. ***
Comment 9 Rob Church 2006-07-12 03:13:00 UTC
*** Bug 6641 has been marked as a duplicate of this bug. ***
Comment 10 Jelte (WebBoy) 2006-07-24 15:48:00 UTC
Created attachment 2144 [details]
Patch

Patch for Parser.php to fix this bug.
Comment 11 bdk 2006-07-30 22:49:21 UTC
*** Bug 6869 has been marked as a duplicate of this bug. ***
Comment 12 Robert Rohde 2006-07-30 23:31:16 UTC
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).
Comment 13 Rob Church 2006-08-29 17:02:34 UTC
Tim fixed this in SVN trunk, r16116.

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


Navigation
Links