Last modified: 2012-07-30 13:00:46 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 T16649, the corresponding Phabricator task for complete and up-to-date bug report information.
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 !=...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
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: ---


Attachments

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.


Navigation
Links