Last modified: 2006-03-24 17:41:42 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 T4095, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2095 - three closing brackets ]]] shows final bracket as link text instead of appearing after link
three closing brackets ]]] shows final bracket as link text instead of appear...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal with 3 votes (vote)
: ---
Assigned To: Brion Vibber
http://jadesukka.homelinux.org:8180/b...
: parser
: 2198 2365 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-07 05:17 UTC by lɛʁi לערי ריינהארט
Modified: 2006-03-24 17:41 UTC (History)
4 users (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2005-05-07 05:17:48 UTC
Halló!

# <nowiki>[[Project:Users]]]</nowiki> generates [[Project:Users]]]
## <nowiki>[[Template:Tableinfo/rights]]]</nowiki> generates
[[Template:Tableinfo/rights]]]
## <nowiki>[[Template:Tableinfo/bot]]]</nowiki> generates
[[Template:Tableinfo/bot]]]
## <nowiki>[[Template:Tableinfo/user]]]</nowiki> generates
[[Template:Tableinfo/user]]]
# <nowiki>[[Project:Users (fix)]]]</nowiki> generates [[Project:Users (fix)]]]
## <nowiki>[[Template:Tableinfo/rights (fix)]]]</nowiki> generates
[[Template:Tableinfo/rights (fix)]]]
## <nowiki>[[Template:Tableinfo/bot (fix)]]]</nowiki> generates
[[Template:Tableinfo/bot (fix)]]]
## <nowiki>[[Template:Tableinfo/user (fix)]]]</nowiki> generates
[[Template:Tableinfo/user (fix)]]]

Regards Reinhardt
Comment 1 Brion Vibber 2005-05-07 05:55:49 UTC
Please describe the problem, giving an example and a detailed description of how the 
actual output differs from expected input.

Comment 2 lɛʁi לערי ריינהארט 2005-05-07 06:40:33 UTC
Halló!

http://jadesukka.homelinux.org:8180/betawiki/Bugzilla_2095 clearly shows that
only one bracked is generated in Monobook skin. Such links could be overseen
easy. It maight be better to generate a FULL RED or FULL BLUE including all
brackets then showing ONE red or blue closing bracket only.

Three brackets ]]] behave like a piped link |"]" :
a) if the link was NOT piped it will be piped certainly not to what users
expected (except some tester or dokumentation feaks)
b) if the link WAS piped one addional ] is a added to the end;
c) having an distinct number between opening and closing brackets may be / could
be a latent source for additional subsequent errors.

Regards Reinhardt
Comment 3 Brion Vibber 2005-05-07 06:44:14 UTC
Changed summary to describe problem.
Comment 4 Brion Vibber 2005-05-18 08:18:52 UTC
*** Bug 2198 has been marked as a duplicate of this bug. ***
Comment 5 Puzzlet Chung 2005-05-18 08:31:47 UTC
http://en.wikipedia.org/w/index.php?title=Liancourt_Rocks&diff=13657504&oldid=13657390

This URL shows a practical example involving this bug.
Comment 6 Brion Vibber 2005-05-18 08:44:34 UTC
Added a parser test case. Taking a look at the parser now...
Comment 7 Brion Vibber 2005-05-18 09:26:32 UTC
I've fixed the main problem in CVS HEAD, for the no-pipe case where the 
entire link text was replaced by the bracket.

For now it's still moving the bracket from the trail into the link text 
for piped links; this is some kind of nasty workaround for image 
captions and I haven't yet dared touch that stuff. :)

Demo: http://test.leuksman.com/index.php/2095
Comment 8 Daniel U. Thibault 2005-06-09 02:46:43 UTC
Example case (from en.wikipedia.org/wiki/Solar_eclipse, external links section:
«
<nowiki>
[http://eclipse.span.ch/eclipse8april.htm Pictures of the most recent eclipse of
[[8 April]] [[2005]]]
</nowiki>
»
should give
«
<nowiki>
Pictures of the most recent eclipse of [[8 April]] [[2005]]
</nowiki>
»
as link text, but gives instead
«
<nowiki>
[http://eclipse.span.ch/eclipse8april.htm Pictures of the most recent eclipse of
2005 ]
</nowiki>
»
with the http: part as an external link, and the closing bracket as a link to "8
April".
Comment 9 Brion Vibber 2005-06-09 02:54:34 UTC
Please file a separate bug report for an issue with external URL links.
Comment 10 Brion Vibber 2005-06-10 00:32:51 UTC
*** Bug 2365 has been marked as a duplicate of this bug. ***
Comment 11 lɛʁi לערי ריינהארט 2005-10-13 10:20:14 UTC
(In reply to comment #9)
> Please file a separate bug report for an issue with external URL links.

see bug 3695: nested links: wiki links inside external links
Comment 12 Gabriel Wicke 2006-03-24 17:41:42 UTC
Fixed in CVS head, please verify and reopen if necessary.

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


Navigation
Links