Last modified: 2014-10-15 12:43:11 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 T48736, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46736 - elements in the in other languages table lack relevant lang and dir attributes
elements in the in other languages table lack relevant lang and dir attributes
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Wikidata bugs
termsearch
: i18n, need-volunteer
Depends on:
Blocks: rtl-wikidata
  Show dependency treegraph
 
Reported: 2013-03-31 07:48 UTC by Amir E. Aharoni
Modified: 2014-10-15 12:43 UTC (History)
4 users (show)

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


Attachments

Description Amir E. Aharoni 2013-03-31 07:48:50 UTC
A useful feature introduced several weeks shows a table of item titles and descriptions in the user's languages above the sitelinks and the statements and allows editing them.

There's a problem with it: It lacks relevant lang and dir attributes. They must be applied to:

* Every language name link, such as <a href="?setlang=vep">vepsän kel’</a>. It's OK to apply it to the <a> element - it doesn't have to be applied to the whole <td>. So it must be: <a href="?setlang=vep" lang="vep" dir="ltr">vepsän kel’</a>. (Consider also hreflang.)

* Every item label <td>: wb-terms-label

* Every item description <td>: wb-terms-description

* Every <input> box for labels and description: wb-ui-propertyedittool-editablevalueinterface. Currently it explicitly has lang and dir of the user interface language. It must have the lang and the dir of the row's language. (Consider also loading the message for the placeholder text in that language; currently it's all in the same language.)
Comment 1 Aude 2014-10-15 12:42:04 UTC
Most of these are fixed now, but we still need dir="rtl" or dir="ltr" in
<div class="wikibase-labelview-container"> 

the content within here is mixed:

<div class="wikibase-labelview-container">
<span class="wikibase-labelview-text" dir="auto">الصرخة (لوحة)</span>
<span class="wikibase-labelview-entityid"></span>
<!-- wikibase-toolbar -->
</div>

so, dir=auto does not work here. Currently, the label is aligned to the left while dir=auto works for the description so that is aligned to the right.

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


Navigation
Links