Page MenuHomePhabricator

What links here doesn't work for image:
Closed, ResolvedPublic


Author: timwi

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.

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...


  • 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
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

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"
for "Image:" namespace articles, if we don't think
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

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

Version: unspecified
Severity: minor



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:53 PM
bzimport set Reference to bz360.
bzimport added a subscriber: Unknown Object (MLST).

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

gangleri wrote:

compare with bug 136: comment 10 - this seems to be a duplicate
bug 136: "What links here" on images seems to be completely empty

gangleri wrote:

update for linc in comment 0

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]]

gangleri wrote:

please compare with [[en:User:Gangleri/tests/media]]

ekb87ds02 wrote:

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?

robchur wrote:

*** Bug 5517 has been marked as a duplicate of this bug. ***

robchur wrote:

*** Bug 5631 has been marked as a duplicate of this bug. ***

robchur wrote:

*** Bug 6641 has been marked as a duplicate of this bug. ***

webboy wrote:


Patch for Parser.php to fix this bug.


wiki.bugzilla wrote:

*** Bug 6869 has been marked as a duplicate of this bug. ***

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).


robchur wrote:

Tim fixed this in SVN trunk, r16116.