Page MenuHomePhabricator

Triple apostrophe recognized as double in table
Closed, InvalidPublic

Description

Author: ianslai

Description:
See the table in the Wikipedia entry referred to by the URL. In the row labeled
"Central African Republic", the name "Centraal-Afrikaanse Republiek" is
surrounded by triple apostrophes on either side in the markup, but for some
reason the second set of triple apostrophes seems to get interpreted as a single
and a double apostrophe, which causes the rest of the text in the cell to get
italicized.


Version: unspecified
Severity: normal
URL: http://en.wikipedia.org/w/index.php?title=List_of_country_names_in_various_languages_%28A-C%29&oldid=43739995#C

Details

Reference
bz5259

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:09 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz5259.
bzimport added a subscriber: Unknown Object (MLST).

The last item on the line is unbalanced, confusing the ambiguity
detection. Fix the missing apostrophe.

ianslai wrote:

Ah, I didn't realize the mistake down there could affect the beginning of the
cell. Thanks!

Apostrophe handling is line-based, and that's all one line.

Unfortunately since people do stupid things like use apostrophes for spelling ;) the
system has to guess sometimes if you meant one apostrophe and an italic marker or a
bold marker; if the markup isn't balanced properly, it can guess wrong.

gangleri wrote:

(In reply to comment #3)

Apostrophe handling is line-based, and that's all one line.

Unfortunately since people do stupid things like use apostrophes for spelling

;) the

system has to guess sometimes if you meant one apostrophe and an italic marker

or a

bold marker; if the markup isn't balanced properly, it can guess wrong.

During the last week I found examples using escaping syntax like here:
http://en.wikipedia.org/w/index.php?title=%27N_Crugu_Bradului&diff=47877494&oldid=46721404
Please note that there is a second unbalanced situation related to the usage of
the the parameter {{{NAME}}} which is rendered both bold and italic.

Another syntax (used inside the pipe of wiki links) was using %27.