⚓ T343464 Text in other language should have lang and dir attribute


Article Images

Create Task

Maniphest T343464

Text in other language should have lang and dir attribute

Closed, ResolvedPublic

Description

Reproduce:

  • View https://www.wikifunctions.org/wiki/Z1001
  • Click "2 languages"
  • Open browser console and select the Arabic label
  • You will find there is no lang and dir attribute on the <span> or parent <div>
  • Click the label to edit it
  • There is no lang and dir attribute on the edit field either

Event Timeline

Like T342661, this probably depends on T296882.

Jdforrester-WMF triaged this task as Medium priority.Aug 24 2023, 4:49 PM

gengh claimed this task.May 14 2024, 3:32 PM

Change #1032417 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] [WIP] Add dir and lang to HTML elements that differ from global uselang

https://gerrit.wikimedia.org/r/1032417

Change #1032417 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add dir and lang to HTML elements that differ from global uselang

https://gerrit.wikimedia.org/r/1032417

Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits