Last modified: 2006-05-13 19:30:10 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 T7918, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5918 - autonumbering only works for http[s] URLs in external links style
autonumbering only works for http[s] URLs in external links style
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.7.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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

[target]

only does autonumbering for http: and https: URLs, as tested on the MediaWiki sandbox 
(http://meta.wikimedia.org/wiki/Meta: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 (http://meta.wikimedia.org/wiki/Help:URL) 
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: http://meta.wikimedia.org/ is rendered as http://meta.wikimedia.org/ 
[ target label ], with a blank space in between: [http://meta.wikimedia.org/ wikimedia] gives 
wikimedia (see also Help:Piped link) 
[ target ] - these are automatically labelled with serial numbers 1, 2, 3, ...: 
[http://meta.wikimedia.org/] 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 meta.wikimedia.org 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.


Navigation
Links