Last modified: 2004-08-16 13:35:42 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 139 - URL as link-text creates extra, empty, link
URL as link-text creates extra, empty, link
Status: RESOLVED DUPLICATE of bug 126
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-08-16 06:05 UTC by Timwi
Modified: 2004-08-16 13:35 UTC (History)
1 user (show)

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


Description Timwi 2004-08-16 06:05:40 UTC
Originally submitted by Rowan Collins (imsop)  2004-06-16 19:47

A link of the form [] produces an additional, empty,
link before the real one - an opening "a" tag with all
the right attributes, which is immediately closed, and
followed by an identical one that contains the actual
link text.

The result is that a default MonoBook setup will show
"[link-icon][link-icon]" instead
of the expected "[link-icon]".
The bug may have been around for some time, since it
exists in standard skin but is invisible in the
rendered page.

Note that this is *not* the same as #583234
and all its duplicates, as the URL itself is perfectly

Finally, note also that this style of URL was actually
encouraged at one stage as the automatic detection of
plain-text links was not guaranteed to work forever. (I
can't find the page I read that in now, I suspect it
has been changed.)


------------------------- Additional comments ------------------------
Date: 2004-06-16 22:20
Sender: SF user imsop

A more revealing test-case just occurred to me, and has some
rather weird results: 

gives an *empty* link to .../foo and the text (".../bar") is
linked to .../bar

In other words, the intended target is being given a
textless link, and the intended text is then being turned
into a plain link.

[Amusingly, this would foil anyone trying to mislead people
by making a bracketed link to one thing look like a
plain-text link to another.]
Date: 2004-07-09 13:32
Sender: nobody
Logged In: NO 

This is apparently related: URL containing "http://", i. e. Web 
Archive cache, can't be re-titled: 

[ Early Wiki homepage] makes only a live link to surrounded by the rest including 
brackets as if it were in .

Date: 2004-08-16 08:04
Sender: SF user timwi

This bug has been migrated to MediaZilla:
Please leave additional comments or attachments there.
Comment 1 Addicted 2004-08-16 13:35:42 UTC

*** This bug has been marked as a duplicate of 126 ***

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