Last modified: 2011-03-13 18:05:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4792 - Numbered internal links
Numbered internal links
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-01-29 22:24 UTC by Sy Ali
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Sy Ali 2006-01-29 22:24:23 UTC
Allow [[pagename|]] functionality to create a numbered link the same way that
external references do with [] or [|]
Comment 1 Brion Vibber 2006-01-29 23:16:35 UTC
Conflicts with existing syntax.
Comment 2 lɛʁi לערי ריינהארט 2006-02-10 01:12:29 UTC
(In reply to comment #1)
> Conflicts with existing syntax.

[[pagename|]] behaves in two different ways in the *main* namespace:
a) it renders according to the pipe trick (code)
b) else it does *not* render


[[|pagename]] seems to be an equivalent of [[pagename]].

This is a "funny" construct and probably not intuitive. Have tried it for the
first time at

best regards reinhardt [[user:gangleri]]
Comment 3 Rob Church 2006-02-10 07:13:24 UTC
(In reply to comment #2)

According to the test I did at, it
doesn't render.
Comment 4 lɛʁi לערי ריינהארט 2006-02-10 12:23:11 UTC
added examples at
Comment 5 Sy Ali 2006-09-24 23:30:50 UTC
I wanted to follow up with this request.  Does it actually conflict with
existing syntax?

If [[pagename|]] won't render anything at all, then this syntax could indeed be
leveraged to create a numbered link.
Comment 6 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-09-25 01:29:04 UTC
[[pagename|]] will execute the "pipe trick", converting things like
[[Wikipedia:Pipe trick|]] to [[Wikipedia:Pipe trick|Pipe trick]] on save.  So
yes, the syntax is already used.

Note You need to log in before you can comment on or make changes to this bug.