Page MenuHomePhabricator

Piped links to non-existent File: pages don't work
Closed, ResolvedPublic

Description

Author: bensimmons1

Description:
For example, [[File:ThisFile.doc|This is a document file]] will be displayed on the page as "File:ThisFile.doc" instead of "This is a document file".

This same problem does not occur when using the Media: namespace. This is a problem because if I want to link to the file info page without using just the filename, I cannot do so. Media: only opens the file.

This seems to affect all versions. Any workarounds would be helpful as well.


Version: 1.16.x
Severity: normal

Details

Reference
bz22344

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:48 PM
bzimport set Reference to bz22344.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 18784 ***

Note to original poster, to do what you want to do, the syntax is

[[:file:ThisFile.doc|This is a document file]]

(note leading colon). The leading colon is necessary regardless of if the file exists or not.

cheers.

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:29 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:21 AM