Difference between revisions 254048 and 254158 on cawiktionary/*Adaptat de en.wiktionary.org/wiki/User:Yair_rand/newentrywiz.js */ var necdata=new Array() necdata['pos']="nom" necdata['pos2']="Nom" var necdefs=new Array() necdefs[0]=['',[],[],[]] //accep,ex.,cit.,refs. var necpost=new Array();//Categ. gram. for(i=0;i<=3;i++) {necpost[i]=new Array()}//categ.,declin. (contracted; show full) "(ओ)", "o", "(ो)", "o", "(औ)", "au", "(ौ)", "au", "(əə)", "ə", "(əa)", "a", "(əɪ)", "ɪ", "(əi)", "i", "(əʊ)", "ʊ", "(əu)", "u", "(əe)", "e", "(əɛ)", "ɛ" , "(ड़)", "ɽ" ); var lng = typo_def.length; if (lng % 2 != 0) return text; for (var i = 0; i < lng; i += 2) { search = new RegExp(typo_def[i + 0], "g"); text = text.replace(search, typo_def[i + 1]); } (contracted; show full) "(ऋ)", "ŕ", "(ृ)", "ŕ", "(ए)", "e", "(े)", "e", "(ऐ)", "ai", "(ै)", "ai", "(ओ)", "o", "(ो)", "o", "(औ)", "au", "(ौ)", "au", "(aa)", "a", "(aā)", "ā", "(aī)", "ī", "(aū)", "ū", "(ae)", "e" , "(ड़)", "ṛ" ); var lng = typo_def.length; if (lng % 2 != 0) return text; for (var i = 0; i < lng; i += 2) { search = new RegExp(typo_def[i + 0], "g"); text = text.replace(search, typo_def[i + 1]); } (contracted; show full)7;sing.\'\' [['+wgTitle.substr(0,wgTitle.length-1)+']])'],['Femení plural','|f|plural}}'+wS+' {'+'{f}} {'+'{p}} (\'\'sing.\'\' [['+wgTitle.substr(0,wgTitle.length-1)+']])'],['Femení i masculí plural','|mf|plural}}'+wS+' {'+'{m}} i {'+'{f}} {'+'{p}} (\'\'sing.\'\' [['+wgTitle.substr(0,wgTitle.length-1)+']])']]]] }, hi: {nom:['{'+'{-nom-|hi','',['— Gènere','',[['Masculí','|m}}'+wS+' {'+'{m}}'],['Femení','|f}}'+wS+' {'+'{f}}']]]] }, mr: {nom:['{'+'{-nom-|mr','',['— Gènere','',[['Masculí','|m}}'+wS+' {'+'{m}}'],['Femení','|f}}'+wS+' {'+'{f}}']]]] }, sa: {nom:['{'+'{-nom-|sa','',['— Gènere','',[['Masculí','|m}}'+wS+' {'+'{m}}'],['Femení','|f}}'+wS+' {'+'{f}}']]]] },⏎ la: {nom:['{'+'{-nom-|la','',['— Gènere','',[['Masculí','|m}}'+wS+' {'+'{m}}'],['Femení','|f}}'+wS+' {'+'{f}}'],['Neutre','|n}}'+wS+' {'+'{n}}']]]] }, es: (contracted; show full)x27;tʃ͡');wP=wP.replace('ce','θe');wP=wP.replace('ci','θi');wP=wP.replace('x','ks');wP=wP.replace('ge','xe');wP=wP.replace('gi','xi');wP=wP.replace('j','x');wP=wP.replace('ion','jon');wP=wP.replace('ñ','ɲ');wP=wP.replace('y','ʝ');wP=wP.replace('z','θ');break; case "hi": case "mr": case "ne":⏎ case "sa": wP=Deva2AFI(wP,wI); wT=Deva2IAST(wT); break; default: break; } if(wI=="ca" || wI=="es") {wP=wP.replace('c','k');} wP="/"+wP+"/"; if(wI=="hi" || wI=="mr" || wI=="ne" || wI=="sa") {wP=wP+wT;} document.getElementById('necproninput').value = wP; } function necfunction() { var k=""; document.getElementById("wpSummary").value="nou"; var ISO=document.getElementById('necinput').value; (contracted; show full) case "Locucions": wC="loc";break; case "Forma verbal": wC="formaverbal";break; default: wC=necdata['pos2'].toLowerCase(); break; } if(wC!="símbol") {k+="{"+"{-"+wC+"-|"+ISO+"}}";} else {k+="== {"+"{-"+wC+"-}} ==";} if(ISO != "hi" && ISO != "mr" && ISO != "sa" && ISO != "ne") {k+=wS;} } for (i in necdefs) {//Accepcions var Acc=necdefs[i][0]; if( (k.indexOf('|plural}}') != -1) || (k.indexOf('|Nombre=plural}}') != -1)) { if(Acc.indexOf(' ') != -1) {k+="\n#"+Acc+".";} else { (contracted; show full) if(PP) { if(PP.firstChild) {//!! if(document.getElementById('necblahbeta')) { necfunction2();uNec();necfunction4();necfunction(); } }}} addOnloadHook(necload); All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://ca.wiktionary.org/w/index.php?diff=prev&oldid=254158.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|