Page MenuHomePhabricator

[[Media:Foo]] should render as [[Media:Foo|Foo]]
Closed, DeclinedPublic

Description

Author: david_q_zhang

Description:
In case of [[Media:example.ppt]], it is displayed in browsers
as clickable "Media:example.ppt". Such display is a bit weired, confusing many
users.
Why not simply diplay example.ppt?

Mediawiki is very popular and thus needs to be easy to use and understand.


Version: unspecified
Severity: enhancement

Details

Reference
bz7155

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:24 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz7155.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

I'll go out on a limb here and WONTFIX this. [[Foo]], assuming it's a link and
not an image/category inclusion, displays "Foo". [[Foo|Bar]] displays "Bar".
Use that if you want different text to display. There's also a shortcut to skip
the namespace, the "pipe trick": [[Media:Foo|]] becomes [[Media:Foo|Foo]].

david_q_zhang wrote:

Thanks for the trick. Still, I hope the default display of [[Media:foo.doc]] is
foo.doc. Trick is for geeks, not for ordinary users.

robchur wrote:

No, it will be what it is because that's the behaviour consistent with the rest
of the software. The "pipe trick" is quite well-known among users, so the
problem is education.

Explicit is better than implicit. On a wiki, hiding things isn't meant to be the default.