Page MenuHomePhabricator

Thousands and decimal separators for Norwegian
Closed, ResolvedPublic

Description

Recently a thousands separator was added to {{NUMBEROFARTICLES}}. However, the
separator is "."; a . in numbers means nothing in Norwegian - except perhaps
version no. (like in MediaWiki 1.6.2). The correct thousands separator is a
space - preferrably using nbsp, as line breaks inside numbers is considered bad
typography. The decimal separator for ParserFunctions expressions is actually
also set to a ".", while that should correctly be ",". If those could be
changed, that'd be great.


Version: unspecified
Severity: normal
URL: http://no.wikipedia.org/

Details

Reference
bz5780

Event Timeline

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

Is this a request for norwegian wikis or a global one?

May {{NUMBEROFARTICLES|R}} (http://bugzilla.wikimedia.org/show_bug.cgi?id=5768)
help you?

robchur wrote:

(In reply to comment #1)

Is this a request for norwegian wikis or a global one?

I'm going to suggest it's a Norweigan-specific one, since the separator's been
there since the word has, and I'll wager the number formatting functions for
Norweigan were updated not too long ago.

Ulf.Lunde wrote:

This is already fixed in the Norwegian Wikipedia at nn.
But on nb {{NUMBEROFARTICLES}} still contains a period.

Please note that both nynorsk (nn) and bokmål (nb) use the same conventions in
cases like this (e.g. non-breakable space as thousands separator), so when a fix
is made for one Norwegian Wikipedia, it can be applied also to the other one.

I assume you are speaking of the no.wikipedia.org, which is exactly what I
fixed. nn.wikipedia.org was already using nbsp.