Last modified: 2014-10-15 12:43:11 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.)
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.