Page MenuHomePhabricator

Replace normal spaces before percent (%) signs with non-breaking spaces
Closed, ResolvedPublic


Author: mike

Converts normal spaces in front of percent signs into no-break spaces

Percent signs (%) must be preceded by a no-break space in french, like ";", ":", "!" and "?".

Version: 1.11.x
Severity: minor




Event Timeline

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

mike wrote:

Mediawiki already converts normal spaces to non-breaking spaces when they're in front of some punctuations, whatever the language. It should just do the same with percent signs.

I don't think mediawiki should *add* a space before a percent sign because it'd be impossible to cite english text with the right typography.

ui2t5v002 wrote:

Can you do this for units, too?

mike wrote:

It should probably be discussed elsewhere first (what units, exceptions, etc.). Maybe somewhere in wikipedia's talks or in another bug report.