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

       Web browser: ---
            Bug ID: 57846
           Summary: Multilang mode should always return a list of
                    languages
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: CommonsMetadata
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

When the HTML parser in CommonsMetadata is set into multilang mode, it will
return an array of language versions for each metadata field, one for each
language template ({{en}} etc) used in that field. But for fields not using
such templates at all, it will return a single value, not an array. This makes
sense for fields which are not language-dependent, but for the rest it just
makes the behavior of the extension hard to predict.

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

Reply via email to