Page MenuHomePhabricator

PDF files are marked as unused when linking them with file prefix
Closed, ResolvedPublic

Description

When linking a local (i.e. not from commons) to a page with the prefix file (e.g. [[file::name of pdf.pdf]]) the link doesn't appear on the image page and the file is placed on [[special:unused file]].

If the prefix is media (e.g. [[media::name of pdf.pdf]]) this doesn't happen.

I don't know if this is a bug or it is by design, but it isn't the expected behaviour anyway.


Version: unspecified
Severity: normal

Details

Reference
bz38437

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:45 AM
bzimport set Reference to bz38437.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

I don't know if this is a bug or it is by design, but it isn't the expected
behaviour anyway.

Definitly a bug. However I cannot reproduce (I assume you meant to use a single colon, not two colons).

I tried adding [[test:File:Breakfast Menu.pdf]] to [[test:User:Bawolff]], and the link appeared on the image page just fine. Do you have an example of this bug?

Oh I see, you meant a non-embedding link (aka [[:File:name of pdf.pdf]]). That's more intentional. Things that link directly to the image description page instead of the file itself are listed at Special:whatlinkshere instead of directly on the file.

  • This bug has been marked as a duplicate of bug 22943 ***

I wonder why [[:media:name of pdf.pdf]] does work, that is the weird part.

Gilles triaged this task as Unbreak Now! priority.Dec 4 2014, 10:10 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Needs Triage.Dec 4 2014, 11:22 AM