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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6792, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4792 - Numbered internal links
Numbered internal links
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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 [http://example.com] or [http://example.com|]
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
http://test.wikipedia.org/w/index.php?title=User:Gangleri/tests/bugzilla/04917/redirect_to_self_%22heading_vertical_line_and_self%22&redirect=no

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 http://test.wikipedia.org/wiki/Sandbox, it
doesn't render.
Comment 4 lɛʁi לערי ריינהארט 2006-02-10 12:23:11 UTC
added examples at
http://test.wikipedia.org/wiki/User:Gangleri/tests/bugzilla/04792#tests
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.


Navigation
Links