Last modified: 2012-07-17 12:39:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24943, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22943 - [[:File:TheFile.ext]] does not count as a link in 'File Links' but shows up in 'What Links Here'
[[:File:TheFile.ext]] does not count as a link in 'File Links' but shows up i...
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.15.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 38437 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-25 15:59 UTC by Urda
Modified: 2012-07-17 12:39 UTC (History)
8 users (show)

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


Attachments

Description Urda 2010-03-25 15:59:52 UTC

    
Comment 1 Urda 2010-03-25 16:03:34 UTC
If a user links a file page, in a way such as [[:File blah blah]] or [[:Media blah blah ]] or [[:Image blah blah]] to avoid displaying a picture, but still have a link to the media page a strange issue occurs. The file page's 'File Links' section does not recognize the relation and says "There are no pages that link to this file". BUT If you check the "What links here" in the side bar, the page that is linking it is displayed.

Shouldn't the "File Links" section reflect this? Because it doesn't, the file is counted as an orphan, when it clear is not under `Special:Unused files`
Comment 2 Urda 2010-03-25 16:04:08 UTC
(In reply to comment #0)
> Fat fingered and hit enter too soon when creating this bug, see next comment.
Comment 3 Bryan Tong Minh 2010-04-11 21:21:56 UTC
This is on purpose; file links only includes pages where the image is actually shown.
Comment 4 Urda 2010-04-11 21:24:40 UTC
Which is rediculous, since a page can link to a PDF or document file, which is considered being used, and the Mediawiki Engine doesn't use it. Perhaps you could carry that idea to images, but you can't always "show" a document, and thus why the system is broken.
Comment 5 Thor Malmjursson 2010-04-11 21:32:27 UTC
Urda, ridiculous or not, the system isn't broken - it's *meant* to work like that, as Bryan said.
Comment 6 Jonathan 2011-01-07 21:57:03 UTC
Is there any way round this? An extension, for example?

For PDF, DOC and other media files - and where the file can be downloaded from an external site - I link to the 'File:' page rather than link straight to 'Media:'.

It would make much more sense if the 'File links' showed the pages which linked to the 'File:' page.

Thank you.
Comment 7 Bawolff (Brian Wolff) 2011-01-07 22:04:24 UTC
It would be fairy easy to write an extension that added another section for normal (non-embeded) links using ImagePageAfterImageLinks hook, if one was so inclined.

>It would make much more sense if the 'File links' showed the pages which linked
>to the 'File:' page.

Thats very debatable. For the normal case of jpeg images it would not make sense. However, It might make sense to make an exception such that if the relevant media handler does not support embedding files of that type, it shows page links instead, but that might also be confusing when the section switches meaning depending on type of image.
Comment 8 Betacommand 2011-04-30 01:38:44 UTC
Not Broken, no need to fix
Comment 9 Bawolff (Brian Wolff) 2012-07-17 12:39:16 UTC
*** Bug 38437 has been marked as a duplicate of this bug. ***

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


Navigation
Links