Last modified: 2007-11-30 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 11920 - Entity in message aboutsite
Entity in message aboutsite
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.12.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-10 13:53 UTC by Li-sung
Modified: 2007-11-30 18:06 UTC (History)
3 users (show)

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


Attachments

Description Li-sung 2007-11-10 13:53:01 UTC
Probably recent changes in Skin.php caused that message aboutsite is shown with entity (eg. O Betawiki)
Comment 1 Niklas Laxström 2007-11-10 14:26:12 UTC
The translation should not use   entity. It should use literal nbsp if it is needed.
Comment 2 Niklas Laxström 2007-11-30 17:15:34 UTC
Seems to be fixed.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-11-30 17:49:39 UTC
Confirmed not fixed in trunk.

(In reply to comment #1)
> The translation should not use   entity. It should use literal nbsp if it
> is needed.

Firefox < 3 eats all literal nbsp's on form save <https://bugzilla.mozilla.org/show_bug.cgi?id=218277>.  Furthermore, you can't really tell them apart from normal spaces, which is possibly awkward, and they're harder to type.  I would suggest an escape-no-entities option for wfMsgExt(), to allow plaintext messages to contain entities (which, after all, are really just plain text, only pre-escaped).
Comment 4 Danny B. 2007-11-30 17:56:27 UTC
(with edit conflict)

(In reply to comment #1)
> The translation should not use &nbsp; entity. It should use literal nbsp if it
> is needed.
> 

a) Due to known bug in Firefox it's impossible to submit literal non-breaking space character U+00A0 since it's being converted to regular space U+0020.

b) Entities are better than literals, because 1) in case of spaces people can't misplace them, 2) some fonts don't supply such characters, so user sees only question mark or square or any other stand-in character while having entity provided user knows what character is supposed to be there.
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-11-30 18:04:34 UTC
Fixed in r26893.
Comment 6 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-11-30 18:06:25 UTC
Er, I mean, r27986.

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


Navigation
Links