Last modified: 2007-11-30 18:06:25 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 T13920, the corresponding Phabricator task for complete and up-to-date bug report information.
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