https://bugzilla.wikimedia.org/show_bug.cgi?id=46736

       Web browser: ---
            Bug ID: 46736
           Summary: elements in the wb-terms table lack relevant lang and
                    dir attributes
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: i18n
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected]
            Blocks: 36637
    Classification: Unclassified
   Mobile Platform: ---

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.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to