Last modified: 2006-05-13 19:30:10 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 5918 - autonumbering only works for http[s] URLs in external links style
autonumbering only works for http[s] URLs in external links style
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-05-12 10:54 UTC by ccexplore
Modified: 2006-05-13 19:30 UTC (History)
0 users

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


Description ccexplore 2006-05-12 10:54:43 UTC
The external link syntax


only does autonumbering for http: and https: URLs, as tested on the MediaWiki sandbox 
(  For other schemes, the syntax above gets rendered 
without autonumbering, as if using the inline target syntax without the brackets.

The MediaWiki handbook's section on external links ( 
provides no information on which schemes have auto-numbering support.  It reads:

<tt>A link in external link style can be of the forms:

target: is rendered as 
[ target label ], with a blank space in between: [ wikimedia] gives 
wikimedia (see also Help:Piped link) 
[ target ] - these are automatically labelled with serial numbers 1, 2, 3, ...: 
[] gives [1] 
The target is a URL which can start with "http://" or "ftp://";</tt>


This description would at a minimum lead to the expectation that autonumbering should apply to http 
and ftp, which is not the case.

Personally for my use I would like ftp links to be auto-numbered as well.  I don't understand why 
auto-numbering shouldn't be uniformly applied to all supported URLs.

(Aside: I'm unable to determine what version of MediaWiki the website uses, 
hence "unspecified version" is entered for Version field of this bug report.)
Comment 1 Phil Boswell 2006-05-12 11:04:43 UTC
Version 1.7alpha (r14131) as of this moment...hope I'm doing this right...
Comment 2 Antoine "hashar" Musso (WMF) 2006-05-13 19:30:10 UTC
Fixed in r14202.

[ftp://foobar] is autonumbered.

ftp://foobar is still a free link.

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