Page MenuHomePhabricator

Be more selective in applying French Space armoring
Closed, ResolvedPublic

Description

French spacing is described by (eg) https://www.iwillteachyoualanguage.com/learn/french/french-tips/french-punctuation and https://fr.wikipedia.org/wiki/Ponctuation#En_fran%C3%A7ais

Mediawiki currently tries to ensure that the space added before a punctuation mark is a non-breaking space, but the regular expression it uses is broad and introduces errors (cf T5158, T13874).

This task is to try to both improve the rules (adding additional punctuation marks used eg in Swiss French) as well as to make it more selective so that it does not apply in situations where it is clear "French spacing" is not the intent.

Event Timeline

cscott created this task.Jun 21 2018, 8:37 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 21 2018, 8:37 PM

Change 441410 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/core@master] Don't armor french spaces before punctuation followed by word characters

https://gerrit.wikimedia.org/r/441410

Vvjjkkii renamed this task from Be more selective in applying French Space armoring to 1haaaaaaaa.Jul 1 2018, 1:03 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed subscribers: gerritbot, Aklapper.
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot renamed this task from 1haaaaaaaa to Be more selective in applying French Space armoring.
CommunityTechBot added subscribers: gerritbot, Aklapper.

Change 441410 merged by jenkins-bot:
[mediawiki/core@master] Don't armor french spaces before punctuation followed by word characters

https://gerrit.wikimedia.org/r/441410

cscott closed this task as Resolved.Aug 3 2018, 9:34 PM
cscott claimed this task.