Last modified: 2011-03-13 18:06:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10246 - French space fix
French space fix
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.11.x
All All
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-13 17:29 UTC by mike
Modified: 2011-03-13 18:06 UTC (History)
0 users

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


Attachments
spaces in front of punctuation replaced with a no-break space surrounded with a span with a font size of 0.25em (709 bytes, patch)
2007-06-13 17:55 UTC, mike
Details
Same fix as extension (890 bytes, patch)
2007-06-15 17:39 UTC, mike
Details
Removes french typo (799 bytes, patch)
2007-06-15 17:40 UTC, mike
Details

Description mike 2007-06-13 17:29:42 UTC
The no-break space added before french punctuation symbols like ";", "!" or ":" is wrong. It should be one fourth of an em wide (see the french page about punctuation : http://fr.wikipedia.org/wiki/Ponctuation#Signes_de_ponctuation_occidentaux ).

Since the HTML entity doesn't look well supported, I suggest we replace the actual "&nbsp;" with "<span style="font-size: 0.25em;">&nbsp;</span>".
Comment 1 mike 2007-06-13 17:55:55 UTC
Created attachment 3756 [details]
spaces in front of punctuation replaced with a no-break space surrounded with a span with a font size of 0.25em
Comment 2 mike 2007-06-15 17:39:35 UTC
Created attachment 3784 [details]
Same fix as extension

If you'd rather move this behavior to an extension, here's the code.
Comment 3 mike 2007-06-15 17:40:43 UTC
Created attachment 3785 [details]
Removes french typo

And here's the patch to remove the behavior from the core.
Comment 4 Brion Vibber 2007-06-15 18:24:09 UTC
This would be far too fragile, producing invalid output where text appears eg inside HTML attribute values.

Doesn't really seem worth the effort, given that normal-sized spaces are being used to begin with.

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


Navigation
Links