function serviceHeader(){return new ServiceHeader(14,"Wikipedia","Wikipedia is a multilingual, web-based, free-content encyclopedia project supported by the Wikimedia Foundation and based on a model of openly editable content."+Const.NL2+"https://www.wikipedia.org/"+Const.NL2+"Wikipedia\u00ae is a registered trademark of the Wikimedia Foundation, Inc.",Capability.DICTIONARY)}
function serviceHost(a,b,c){a=codeFromLanguage(a==Capability.DICTIONARY?c:b);a==UNKNOWN_LANGUAGE_CODE&&(a=SupportedLanguages[ENGLISH_LANGUAGE]);return format("https://{0}.m.wikipedia.org",a)}function serviceLink(a,b,c){return"https://www.wikipedia.org/"}
SupportedLanguages=[-1,"","af","az","sq","ar","hy","eu","be","bg","ca","zh","zh","hr","cs","da","nl","en","et","fi",-1,"fr","gl","de","el","ht","he","hi","hu","is","id","it","ga","ja","ka","ko","lv","lt","mk","ms","mt","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","th","tr","uk","ur","vi","cy","yi","eo","hmn","la","lo","kk","uz","si","tg","te","km","mn","kn","ta","mr"];function serviceDictionaryRequest(a,b,c){a=buildUri(a,b,c);return new RequestData(HttpMethod.GET,a)}
function serviceDictionaryResponse(a,b,c,e){var d;if(b=stringFindSub(b,'<div id="bodyContent"',!0,'<div class="post-content"',!0))b=removeAttributes(b+"></div>",["id","name","class"]),d=serviceHost(Capability.DICTIONARY,c,e),b=updateHtmlLinks(b,d),a=buildUri(a,c,e),d+=a;return new ResponseData(b,c,e,d)}function buildUri(a,b,c){return"/wiki/"+encodeGetParam(a)};
