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

Attached: french_percent.diff

bzimport added projects: MediaWiki-Parser, Easy.Via ConduitNov 21 2014, 9:49 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz10334.
bzimport created this task.Via LegacyJun 22 2007, 11:54 AM
bzimport added a comment.Via ConduitJun 23 2007, 10:00 AM

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.

Raymond added a comment.Via ConduitJun 26 2007, 8:57 AM

Applied with r23415.

bzimport added a comment.Via ConduitAug 8 2007, 11:30 PM

ui2t5v002 wrote:

Can you do this for units, too?

bzimport added a comment.Via ConduitAug 15 2007, 8:33 AM

mike wrote:

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

Add Comment