User:RockMFR/englishinterwikis.js

addOnloadHook(function { var enArr = {    'ab':'Abkhazian', 'aa':'Afar', 'af':'Afrikaans', 'ak':'Akan',    'sq':'Albanian', 'als':'Alemannic', 'am':'Amharic', 'ang':'Anglo-Saxon',    'ar':'Arabic', 'an':'Aragonese', 'hy':'Armenian', 'roa-rup':'Aromanian',    'as':'Assamese', 'arc':'Assyrian Neo-Aramaic', 'ast':'Asturian', 'av':'Avar',    'ay':'Aymara', 'az':'Azeri', 'bm':'Bambara', 'map-bms':'Banyumasan',    'ba':'Bashkir', 'eu':'Basque', 'bar':'Bavarian', 'be':'Belarusian',    'be-x-old':'Belarusian (Tarashkevitsa)', 'bn':'Bengali', 'bh':'Bihari', 'bpy':'Bishnupriya Manipuri',    'bi':'Bislama', 'bs':'Bosnian', 'br':'Breton', 'bug':'Buginese',    'bg':'Bulgarian', 'my':'Burmese', 'bxr':'Buryat (Russia)', 'zh-yue':'Cantonese',    'ca':'Catalan', 'ceb':'Cebuano', 'bcl':'Central Bicolano', 'ch':'Chamorro',    'ce':'Chechen', 'chr':'Cherokee', 'chy':'Cheyenne', 'ny':'Chichewa',    'zh':'Chinese', 'cho':'Choctaw', 'cv':'Chuvash', 'zh-classical':'Classical Chinese', 'kw':'Cornish', 'co':'Corsican', 'cr':'Cree', 'crh':'Crimean Tatar', 'hr':'Croatian', 'cs':'Czech', 'da':'Danish', 'dv':'Divehi', 'nl':'Dutch', 'nds-nl':'Dutch Low Saxon', 'dz':'Dzongkha', 'eml':'Emilian-Romagnol', 'myv':'Erzya', 'eo':'Esperanto', 'et':'Estonian', 'ee':'Ewe', 'ext':'Extremaduran', 'fo':'Faroese', 'hif':'Fiji Hindi', 'fj':'Fijian', 'fi':'Finnish', 'frp':'Franco-Provençal/Arpitan', 'fr':'French', 'fur':'Friulian', 'ff':'Fula', 'gl':'Galician', 'gan':'Gan', 'ka':'Georgian', 'de':'German', 'glk':'Gilaki', 'got':'Gothic', 'el':'Greek', 'kl':'Greenlandic', 'gn':'Guarani', 'gu':'Gujarati', 'ht':'Haitian', 'hak':'Hakka', 'ha':'Hausa', 'haw':'Hawaiian', 'he':'Hebrew', 'hz':'Herero', 'hi':'Hindi', 'ho':'Hiri Motu', 'hu':'Hungarian', 'is':'Icelandic', 'io':'Ido', 'ig':'Igbo', 'ilo':'Ilokano', 'id':'Indonesian', 'ia':'Interlingua', 'ie':'Interlingue', 'iu':'Inuktitut', 'ik':'Inupiak', 'ga':'Irish', 'it':'Italian', 'ja':'Japanese', 'jv':'Javanese', 'kab':'Kabyle', 'xal':'Kalmyk', 'kn':'Kannada', 'kr':'Kanuri', 'pam':'Kapampangan', 'kaa':'Karakalpak', 'ks':'Kashmiri', 'csb':'Kashubian', 'kk':'Kazakh', 'km':'Khmer', 'ki':'Kikuyu', 'rw':'Kinyarwanda', 'ky':'Kirghiz', 'rn':'Kirundi', 'kv':'Komi', 'kg':'Kongo', 'ko':'Korean', 'kj':'Kuanyama', 'ku':'Kurdish', 'lad':'Ladino', 'lbe':'Lak', 'lo':'Lao', 'la':'Latin', 'lv':'Latvian', 'lij':'Ligurian', 'li':'Limburgian', 'ln':'Lingala', 'lt':'Lithuanian', 'jbo':'Lojban', 'lmo':'Lombard', 'nds':'Low Saxon', 'dsb':'Lower Sorbian', 'lg':'Luganda', 'lb':'Luxembourgish', 'mk':'Macedonian', 'mg':'Malagasy', 'ms':'Malay', 'ml':'Malayalam', 'mt':'Maltese', 'gv':'Manx', 'mi':'Maori', 'mr':'Marathi', 'mh':'Marshallese', 'mzn':'Mazandarani', 'cdo':'Min Dong', 'zh-min-nan':'Min Nan', 'mdf':'Moksha', 'mo':'Moldovan', 'mn':'Mongolian', 'mus':'Muscogee', 'nah':'Nahuatl', 'na':'Nauruan', 'nv':'Navajo', 'ng':'Ndonga', 'nap':'Neapolitan', 'ne':'Nepali', 'new':'Newar / Nepal Bhasa', 'pih':'Norfolk', 'nrm':'Norman', 'se':'Northern Sami', 'no':'Norwegian (Bokmål)', 'nn':'Norwegian (Nynorsk)', 'nov':'Novial', 'oc':'Occitan', 'cu':'Old Church Slavonic', 'or':'Oriya', 'om':'Oromo', 'os':'Ossetian', 'pi':'Pali', 'pag':'Pangasinan', 'pap':'Papiamentu', 'ps':'Pashto', 'pdc':'Pennsylvania German', 'fa':'Persian', 'pms':'Piedmontese', 'pl':'Polish', 'pt':'Portuguese', 'pa':'Punjabi', 'qu':'Quechua', 'ksh':'Ripuarian', 'rmy':'Romani', 'ro':'Romanian', 'rm':'Romansh', 'ru':'Russian', 'sah':'Sakha', 'sm':'Samoan', 'bat-smg':'Samogitian', 'sg':'Sango', 'sa':'Sanskrit', 'sc':'Sardinian', 'stq':'Saterland Frisian', 'sco':'Scots', 'gd':'Scottish Gaelic', 'sr':'Serbian', 'sh':'Serbo-Croatian', 'st':'Sesotho', 'sn':'Shona', 'ii':'Sichuan Yi', 'scn':'Sicilian', 'szl':'Silesian', 'simple':'Simple English', 'sd':'Sindhi', 'si':'Sinhalese', 'sk':'Slovak', 'sl':'Slovenian', 'so':'Somali', 'es':'Spanish', 'srn':'Sranan', 'su':'Sundanese', 'sw':'Swahili', 'ss':'Swati', 'sv':'Swedish', 'tl':'Tagalog', 'ty':'Tahitian', 'tg':'Tajik', 'ta':'Tamil', 'roa-tara':'Tarantino', 'tt':'Tatar', 'te':'Telugu', 'tet':'Tetum', 'th':'Thai', 'bo':'Tibetan', 'ti':'Tigrinya', 'tpi':'Tok Pisin', 'tokipona':'Tokipona', 'to':'Tongan', 'ts':'Tsonga', 'tn':'Tswana', 'tum':'Tumbuka', 'tr':'Turkish', 'tk':'Turkmen', 'tw':'Twi', 'udm':'Udmurt', 'uk':'Ukrainian', 'hsb':'Upper Sorbian', 'ur':'Urdu', 'ug':'Uyghur', 'uz':'Uzbek', 've':'Venda', 'vec':'Venetian', 'vi':'Vietnamese', 'vo':'Volapük', 'fiu-vro':'Võro', 'wa':'Walloon', 'war':'Waray-Waray', 'cy':'Welsh', 'vls':'West Flemish', 'fy':'West Frisian', 'wo':'Wolof', 'wuu':'Wu', 'xh':'Xhosa', 'yi':'Yiddish', 'yo':'Yoruba', 'cbk-zam':'Zamboanga Chavacano', 'diq':'Zazaki', 'zea':'Zealandic', 'za':'Zhuang', 'zu':'Zulu' } var plang = document.getElementById('p-lang') if (plang) { var interwikis = plang.getElementsByTagName('li') for (var i = 0; i < interwikis.length; i++) {     var en = enArr[interwikis[i].className.substr(10).split(' ')[0]] if (en) interwikis[i].getElementsByTagName('a')[0].title = en   } } })