Page MenuHomePhabricator

automatic special-case wiki link formatting
Closed, DeclinedPublic

Description

Author: wikipedia

Description:
[[User:user]] implies [[User:user|user]]
[[Wiktionary:word]] implies [[Wiktionary:word|word]]
[[term (disambiguation)]] implies [[term (disambiguation)|term]]

That formating done automaticly would be an editing time saver. Of course, the
question is do many existing links expect that not to happen. I doubt many
would be too terribly mangled. If that's a real concern, maybe using [[link|]]
would be a way to say "use new implicit formatting" so existing [[link]] would
not be effected.


Version: unspecified
Severity: enhancement

Details

Reference
bz3050

Event Timeline

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

rowan.collins wrote:

Well, I think you have identified both the problem with your proposal - that
this wouldn't *always* be appropriate (in many contexts is perfectly sensible to
have the full title displayed) - and the reasonable solution. Luckily, your
second suggestion ([[Prefix:Foo|]] -> [[Prefix:Foo|Foo]]) has already been
available for some time, and is usually referred to as "the pipe trick" - see
http://meta.wikimedia.org/wiki/Help:Piped_link#Automatic_conversion_of_the_wikitext_.28pipe_trick.29