Last modified: 2012-07-30 13:00:46 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 14649 - Wrap user interface messages in tags with lang & xml:lang if site language != user language
Wrap user interface messages in tags with lang & xml:lang if site language !=...
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
All All
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 367
  Show dependency treegraph
Reported: 2008-06-26 01:24 UTC by Danny B.
Modified: 2012-07-30 13:00 UTC (History)
6 users (show)

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


Description Danny B. 2008-06-26 01:24:20 UTC
<html> has lang and xml:lang set via site language.

If user has different language set in preferences or uses ?uselang= override, then all interface messages should be wrapped in tag with appropriate lang & xml:lang attributes.
Comment 1 Brion Vibber 2008-07-06 20:22:03 UTC
This isn't generally feasible at the moment as there's no clear demarcation of what in output is a text boundary.
Comment 2 Robin Pepermans (SPQRobin) 2011-08-04 16:46:03 UTC
Reopened per talk with Brion @ Wikimania.
Comment 3 Brion Vibber 2011-08-04 16:48:00 UTC
With the newer Message class infrastructure I think we should be able to more easily do this sort of thing.

When callers ask for an HTML or HTML-escaped version of a message, it could be wrapped (even if we have to explicitly ask for it at times).
Comment 4 Krinkle 2011-08-05 07:01:13 UTC
bug 6100 related ? 

See also bug 30238.
Comment 5 Derk-Jan Hartman 2012-07-30 12:37:12 UTC
I think the original problem identified in this ticket has been solved since. Bug 30238 is still a problem, but I don't think we should keep this open just for that. Perhaps expand that ticket to also include lang ?
Comment 6 Niklas Laxström 2012-07-30 13:00:46 UTC
I don't see this been solved.

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