Page MenuHomePhabricator

extend wiki syntax to permit intra link with parameter
Closed, DeclinedPublic

Description

Author: xmlizer

Description:
the goal is to have a special escape char <esc> such that
[[toto<esc>a=b<esc>b=c|titi]]
make a link to
wiki/toto?a=b&b=c
so there is two challenge
find the correct character <esc> and implement this
it will be helpful for contribution link, whatlinkshere and add section


Version: 1.4.x
Severity: enhancement

Details

Reference
bz14

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 6:43 PM
bzimport set Reference to bz14.
bzimport added a subscriber: Unknown Object (MLST).

timwi wrote:

It is already possible to link to the contributions of a particular user using
[[Special:Contributions/Username]]. The same applies to Special:Whatlinkshere.

As for more elaborate situations, [[MediaWiki:Noarticletext]] demonstrates how
to do this:
[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} edit this page]

xmlizer wrote:

Ok it's possible but it's not really readable, isn't it ?

and what about for doing interwiki link ?

PS : the link to Noarticletext don't work !

timwi wrote:

Ok it's possible but it's not really readable, isn't it ?

The more we extend the wiki syntax with stuff that people don't need very often,
the less readable it will become.

and what about for doing interwiki link ?

It is always possible to just simply specify the real URL.

PS : the link to Noarticletext don't work !

Yes, it does. The reason you're seeing the "this article doesn't exist" message
is because that is the contents of [[MediaWiki:Noarticletext]].

xmlizer wrote:

ok! sorry for responding too rapidly ! and effectively complicating the langage
is not for sure a good issue.
But i see the great advantage of intra links is that some day we could detect
for each link if it exist or not and give far much power to keep a cleen wikipedia
Now i better understand the WONTFIX

xmlizer wrote:

and what about the link
[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit|section=new}}
Append a new message] which don't work as expected ?

(In reply to comment #5)

and what about the link
[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit|section=new}}
Append a new message] which don't work as expected ?

Please use the sourceforge bug tracker to report issues. That one got implemented:

See:
http://sourceforge.net/tracker/?func=detail&atid=411195&aid=997771&group_id=34373
http://sourceforge.net/tracker/?func=detail&atid=411195&aid=999044&group_id=34373

timwi wrote:

Replace that second | with a &.

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:20 AM
epriestley added a commit: Unknown Object (Diffusion Commit).
epriestley added a commit: Unknown Object (Diffusion Commit).