Page MenuHomePhabricator

Space in $separatorTransformTable should be non-breaking in Portuguese, Esperanto and Udmurt
Closed, ResolvedPublic

Description

Currently, the Portuguese localization uses a space as the thousands separator character ({{formatnum:999999999.99}} = 999 999 999,99).

Per discussion at
[[pt:Wikipédia:Esplanada/propostas/Usar espaço não-separável como separador de milhar (3abr2012)]]
it should be used a non-breaking space ( ) as the thousands separator mark in Portuguese.

Therefore, please update the $separatorTransformTable to
$separatorTransformTable = array( ',' => "\xc2\xa0", '.' => ',' );


Version: unspecified
Severity: normal
URL: https://pt.wikipedia.org/wiki/Wikip%C3%A9dia:Esplanada/propostas/Usar_espa%C3%A7o_n%C3%A3o-separ%C3%A1vel_como_separador_de_milhar_(3abr2012)

Details

Reference
bz36012

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:18 AM
bzimport set Reference to bz36012.
bzimport added a subscriber: Unknown Object (MLST).
He7d3r created this task.Apr 16 2012, 1:29 PM

This is per language setting in MediaWiki (as opposed to per site). Is the request suitable for all wikis?

Yes, it is.

Currently the long numbers may appear broken from one line to the other. Using the non-breaking space would fix that problem.

Thanks for the report. Updated summary, and submitted a fix at https://gerrit.wikimedia.org/r/5022.