Last modified: 2012-08-02 10:28:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40304, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38304 - Squashing of whitespace for languages that uses double whitespace
Squashing of whitespace for languages that uses double whitespace
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-11 13:45 UTC by jeblad
Modified: 2012-08-02 10:28 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description jeblad 2012-07-11 13:45:18 UTC
When whitespace is squashed it is now reduced to a single whitespace. In some languages it is allowed (and common) to use a double space in some cases. This is not handled in well in squashWhitespace(), which compresses all whitespace into a single space.

A solution could be to to leave double spaces as they are but compress all other sequences. This could be allowed on a per language basis. Such double spacing seems to be associated with sentence terminators, and as there is room for a short paragraph in the description, this can be a problem.

Unless there are clear indication that this is critically wrong I propose we use whitespace compression into a single whitespace for now.

http://en.wikipedia.org/wiki/Sentence_spacing_in_language_and_style_guides
Comment 1 denny vrandecic 2012-08-02 10:28:26 UTC
It is possible to use multiple whitespaces with non-ASCII whitespaces for now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links