Difference between revisions 59184 and 65396 on cawikisource/*Barreja de diferents Mediawikis de Wikisource (ThomasV, Pathoschild, et al.)*/ function Fragment_Tipo(text) { var typo_def = new Array ( "( )", " ", "(— )", "—", "( —)", "—", "(- )", "-", (contracted; show full) "( d[ce][iïíìl!1I] )", " del ", "( d[ce][iïíìl!1I][8s] )", " dels ", "(d[ce][s8])", "des", "(D[ce][anu] )", "Deu ", "(d6[nu])", "déu", "(d[!1I])", "di", "(d[iïíìl!1I]g)", "dig", "dfs", "dís",⏎ "([nu][bh][ec][nu])", "uhen", "(drc)", "dre", "(dr[iïíìl!1I])", "dri", "([ce]o[nu][ce][ce][bh])", "conech", "(efe[ce][ce])", "efecc", "([BE][iïíìl!1I] )", "El ", "(EU )", "Ell ", "( [ce][iïíìl!1I] )", " el ", (contracted; show full) text = text.replace(search, typo_def[i + 1]); } return text; } function Fragment_Prosa(text) { var typo_def = new Array ( //Neteja prèvia necessària // "( )", " ", // "( [\n])", "\n", //exc. IE⏎ //Canvia salts de línia per un espai excepte si hi ha puntuació "([a-zàáèéìíòóùú\,])[\n]", "$1 " ); 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"); (contracted; show full) } } function add_Corr_button(){ if (wgNamespaceNumber == 102) { addButton2("wpRep","Correccions automàtiques","Correcció automàtica", "//upload.wikimedia.org/wikipedia/commons/a/af/Button_Fractur_OCR.png", CreaFormulari); } } addOnloadHook(add_Corr_button); 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.wikisource.org/w/index.php?diff=prev&oldid=65396.
![]() ![]() 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.
|