Class LanguageCodeStore

  • public class LanguageCodeStore
    extends Object
    A store for the allowed language code for terms and monolingual text values in Wikibase. TODO: separate the languages allowed for terms from the ones allowed for monolingual text. Currently the list is for monolingual texts (which is larger). Query to update this list: curl "" | jq ".query.wbcontentlanguages[].code" | sed -e "s/$/,/"
    Antonin Delpeuch
    • Constructor Detail

      • LanguageCodeStore

        public LanguageCodeStore()
    • Method Detail

      • getLanguageCodes

        public static Set<String> getLanguageCodes​(String mediaWikiApiEndpoint)