Page MenuHomePhabricator

Single-bracketed stuff has a space inserted after it
Closed, ResolvedPublic


Author: timwi

Originally submitted by Brian Kendig (bkendig) 2004-07-27 23:40

In Wikipedia, a single-bracketed link in an article will incorrectly
appear with a space inserted after it in the article text. See 'http://', which has lots of single-
bracketed links. Here are some examples:

This [ link in single brackets], blah blah

becomes: This link in single brackets , blah blah

(This footnote [])

becomes: (This footnote [1] )

Blah blah []; blah blah

becomes: Blah blah [2] ; blah blah
  • Additional comments ------------------------

Date: 2004-08-02 01:27
Sender: SF user kaarethor

This problem appears to have been fixed in cvs.

Date: 2004-08-05 20:41
Sender: SF user jeluf

This is caused by tidy. If wgUseTidy is "false", the page is
rendered correctly.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:44 PM
bzimport set Reference to bz32.
bzimport added a subscriber: Unknown Object (MLST).

mrnobo1024 wrote:

*** Bug 712 has been marked as a duplicate of this bug. ***

timwi wrote:

This is already fixed in newest CVS.

timwi wrote:

Actually, it's also fixed in REL1_3 CVS, it seems.

pogonyshev wrote:

It is not fixed. I can observe this bug even after the recent engine update.

jeluf wrote:

I opened a ticket for tidy, and this is the response:

This is by design and you should not do that, see the last
paragraph of
9.1 -- you can use different means to achieve what you
want, you can use   instead of a space, for example.

So I added a   where the space used to be.

wikimedia-bugzilla wrote:

That bug seems to me to be a different issue. Is this fixed or not?

zigger wrote:

(In reply to comment #6)
The three test cases are working correctly on and (v1.4.5) and (v1.5alpha2). If this is
broken elsewhere, please provide details.