User:Majed/js/QEditor.js

// function preProcessTemplates{for(i=1;i0){bracketsOpen[i]=dontusesquirlyBrackets[i].substring(0,q);bracketsClose[i]=dontusesquirlyBrackets[i].substring(q)}else{bracketsOpen[i]="";bracketsClose[i]=""}}regexpBO[i]=bracketsOpen[i].replace(/\{/g,"\\{").replace(/\[/g,"\\[");regexpBC[i]=bracketsClose[i].replace(/\{/g,"\\}").replace(/\]/g,"\\]");if(qTemplate[i]!="-"){q=qTemplate[i].split(/\|/g);for(j=0;j0&&t[--e]<33;);return t.substring(s-1,e+1)}function loadEditFormBackground{t=setTimeout(function{loadEditFormBackground2},250)}function loadEditFormBackground2{xmlhttp=HTTPClient;if(!xmlhttp)return;var e="/w/index.php?title="+encodeURIComponent(mw.config.get('wgPageName'));var t=document.createElement("span");t.innerHTML+='+';document.getElementById("bodyContent").appendChild(t);var n=document.createElement("div");n.id="hiddeneditform";n.style.display="none";document.getElementById("bodyContent").appendChild(n);xmlhttp.open("GET",e+"&action=edit",true);xmlhttp.onreadystatechange=addEditForm;xmlhttp.send(null)}function addEditForm{if(xmlhttp.readyState!=4)return;a=xmlhttp.responseText.indexOf('<form id="editform"');b=xmlhttp.responseText.indexOf(" ",a+1)+7;document.getElementById("hiddeneditform").innerHTML=xmlhttp.responseText.substring(a,b);detectTemplates}function sectioning(e){regex=/(^=+[^=\n]+=+ *$)/mgi;a=e.split(regex);sections=new Array;currentsection=0;sections[currentsection]=new Array;sections[currentsection]["header"]="";sections[currentsection]["content"]="";for(i=0;i<a.length;i++){if(a[i].charAt(0)=="="){sections[++currentsection]=new Array;sections[currentsection]["header"]=a[i];sections[currentsection]["content"]=""}else{sections[currentsection]["content"]=a[i]}}return sections}function detectTemplates{if(drawnTheTemplateBar!=2){setTimeout("detectTemplates;",100);return 0}preProcessTemplates;editText=document.getElementById("wpTextbox1").value;for(i=1;i<qTemplate.length;i++){if(qTemplate[i]!="-"){r=RegExp(regexpBO[i]+"[\\n ]*?("+qTemplate[i]+")[\\n ]*?(|\\|[^\\}]*?)"+regexpBC[i],"g");aaa=r.exec(editText);if(!aaa){document.getElementById("chkqt"+i).checked=false}else{if(qOptions[i]&&aaa[2]){argument=findInArray2(qOptions[i],aaa[2].substring(1));if(qOptions[i][argument]!=undefined){document.getElementById("selcmbqt"+i).value=qOptions[i][argument];document.getElementById("cmbqt"+i).value=qOptions[i][argument]}else{r=RegExp("("+regexpBO[i]+"[\\n ]*?("+qTemplate[i]+")[\\n ]*?(|\\|[^\\}]*?)"+regexpBC[i]+")","g");aaa=r.exec(editText);a=aaa[0].indexOf("|")+1;if(a>0)document.getElementById("cmbqt"+i).value=aaa[0].substring(a,aaa[0].length-2)}}document.getElementById("chkqt"+i).checked=true}document.getElementById("chkqt"+i).disabled=false}}}function addQTemplate{wikifybar="";hiddenBar="";if(location.href.indexOf("token=")!=-1)return 0;wikifybar=' ";wikifybar+=' ";drawnTheTemplateBar++;document.getElementById("wikifybarrr").innerHTML=wikifybar;if(hiddenBar!=""){hidden=document.getElementById("toggleHiddenBar");hidden.style.display=""}if(wgAction=="submit"||wgAction=="edit")detectTemplates}function barClickSubmit{if(wgAction!="submit"&&wgAction!="edit"&&typeof haveFixedDAB=="undefined"){editsummary=prompt(txtComment);if(editsummary==null)return 0;if(editsummary!="")document.getElementById("wpSummary").value+=" - "+editsummary}document.getElementById("editform").submit}function toggleTemplate(e){editText=document.getElementById("wpTextbox1").value;smr=document.getElementById("wpSummary");if(qTemplate[e].indexOf("|")!=-1){placeText=qTemplate[e].substring(0,qTemplate[e].indexOf("|"))}else{placeText=qTemplate[e]}if(document.getElementById("chkqt"+e).checked){if(qOptions[e])placeText+=document.getElementById("cmbqt"+e).value==""?"":"|"+document.getElementById("cmbqt"+e).value;rr=RegExp(regexpBO[e]+"("+qTemplate[e]+")(|\\|[^\\}]*?)"+regexpBC[e],"g");if(rr.test(smr.value)){rr=RegExp("*\\-"+regexpBO[e]+"("+qTemplate[e]+")(|\\|[^\\}]*?)"+regexpBC[e],"g");smr.value=trim(smr.value.replace(rr,""));if(smr.value.substr(0,2)==", ")smr.value=smr.value.substr(2)}else{if(smr.value!="")smr.value+=", ";smr.value+="+"+bracketsOpen[e]+placeText.replace(/!!!/g,"|")+bracketsClose[e]}if(!qTemplateText[e]){if(qPos[e]!="bottom"){document.getElementById("wpTextbox1").value=trim(bracketsOpen[e]+placeText.replace(/!!!/g,"|")+bracketsClose[e]+"\n"+trim(document.editform.wpTextbox1.value))}else{document.getElementById("wpTextbox1").value=trim(trim(document.editform.wpTextbox1.value)+"\n"+bracketsOpen[e]+placeText.replace(/!!!/g,"|")+bracketsClose[e])}}else{document.getElementById("wpTextbox1").value=trim(qTemplateText[e].replace(/\$1/g,trim(form.getElementsByTagName("textarea")[0].value)).replace(/\$2/g,prompted))}}else{r=RegExp(regexpBO[e]+"[\\n ]*?("+qTemplate[e]+")[\\n ]*?(|\\|[^\\}]*?)"+regexpBC[e],"g");document.getElementById("wpTextbox1").value=trim(editText.replace(r,""));r=RegExp("\\+"+regexpBO[e]+placeText+regexpBC[e],"g");r=RegExp(regexpBO[e]+"("+qTemplate[e]+")(|\\|[^\\}]*?)"+regexpBC[e],"g");if(r.test(smr.value)){r=RegExp("*\\+"+regexpBO[e]+"("+qTemplate[e]+")(|\\|[^\\}]*?)"+regexpBC[e],"g");smr.value=trim(smr.value.replace(r,""));if(smr.value.substr(0,2)==", ")smr.value=smr.value.substr(2)}else{if(smr.value!="")smr.value+=", ";smr.value+="-"+bracketsOpen[e]+placeText+bracketsClose[e]}}}function submitButtonedTemplate(e){editText=document.getElementById("wpTextbox1").value;if(document.location.href.indexOf("&section=")==-1&&qSection[e]!=null){sections=sectioning(editText);sct=qSection[e];if(sct=="lastfilled"){for(i=0;i<sections.length;i++){if(sections[i]["content"].length<3)break}sct=i<sections.length?i-1:sections.length-1}editText=sections[sct]["content"]}if(qPrompt[e]==null){prompted=""}else{prompted=prompt(qPrompt[e],qDefault[e]==null?"":qDefault[e]);if(prompted==null)return}if(typeof qTemplateText[e]=="string"){editText=trim(qTemplateText[e].replace(/\$1/g,trim(editText)).replace(/\$2/g,prompted));selectedValue=""}else{selectedValue=document.getElementById("cmbqt"+e).value;a=findInArray2(qOptions[e],'"'+selectedValue+'"');selectedOption=a==-1?qTemplateText[e][qTemplateText[e].length-1]:qTemplateText[e][a];editText=trim(selectedOption.replace(/\$1/g,trim(editText)).replace(/\$2/g,prompted).replace(/\$3/g,selectedValue))}if(document.location.href.indexOf("&section=")==-1&&qSection[e]!=null){sections[sct]["content"]="\n\n"+editText+"\n\n";editText=unSectioning(sections)}document.getElementById("wpSummary").value+="+"+bracketsOpen[e]+qTemplate[e].substring(0,qTemplate[e].indexOf("|"))+bracketsClose[e];document.getElementById("wpSummary").value+=prompted!=null&&prompted!=""?" - "+prompted:"";document.getElementById("wpSummary").value+=selectedValue!=null&&selectedValue!=""?", "+selectedValue:"";document.getElementById("wpTextbox1").value=trim(editText);if(wgAction!="submit"&&wgAction!="edit"&&document.getElementById("hiddeneditform").style.display=="none")document.getElementById("editform").submit}function getPreviousPage{url=document.location.href;tp=url.indexOf("?template=");if(tp!=-1){pp=url.indexOf("&vandalized=");rp=url.indexOf("&reason=");if(rp==-1){rp=url.length;templateReason=""}else{templateReason=decodeURIComponent(url.substring(rp+8))}lastTemplate=decodeURIComponent(url.substring(tp+10,pp));articleName=decodeURIComponent(url.substring(pp+12,rp));return decodeURIComponent(articleName)}z=document.location.href.indexOf("vandalized=");if(z!=-1){articleName=document.location.href.substring(z+11);z=document.location.href.indexOf("&");if(z!=-1){articleName=articleName.substring(0,z)}return decodeURIComponent(articleName)}if(document.referrer==null)return"";ref=document.referrer;z=ref.indexOf("vandalized=");if(z!=-1){articleName=ref.substring(z+11);z=articleName.indexOf("&");if(z!=-1){articleName=articleName.substring(0,z)}return decodeURIComponent(articleName)}z=ref.indexOf("/wiki/");if(z==-1){z=ref.indexOf("title=");zz=ref.indexOf("&");articleName=ref.substring(z+6,zz)}else{zz=ref.indexOf("?");articleName=zz!=-1?ref.substring(z+6,zz):ref.substring(z+6)}return decodeURIComponent(articleName)}function passArticlename{contentSub=document.getElementById("contentSub");q=contentSub.getElementsByTagName("a");q=contentSub.innerHTML.indexOf("<")>10?q[0]:q[1];sep=q.href.indexOf("action=edit")==-1?"?":"&";q.href+=sep+"vandalized="+encodeURIComponent(vandalizedPage)}function unSectioning(e){unSectionedText="";for(i=0;i<e.length;i++){unSectionedText+=e[i]["header"]+e[i]["content"]}return unSectionedText}function findTemplate{verwijderlink=document.getElementById(deletionLinkId);if(verwijderlink==null)return 0;if(document.getElementById("wpTextbox1")==null){t=setTimeout("findTemplate;",100);return 0}var e=RegExp("\\{\\{("+deletionTemplates+")(.*)\\}\\}","im");a=e.exec(document.getElementById("wpTextbox1").value);a[2]=a[2][0]=="|"?a[2].substring(1):"";a[2]=a[2][1]=="="?a[2].substring(2):a[2];a[2]=a[2].split(/\|(\d+=\d+|\d+)/)[0];url="?template="+encodeURIComponent(a[1])+"&vandalized="+encodeURIComponent(wgPageName.replace(/_/g," "));if(a[2]!="")url+="&reason="+encodeURIComponent(a[2]);verwijderlink.getElementsByTagName("a")[0].href+=url}function fixDABlink(e){if(e.value=="ViewDABpage"){document.location.href="/wiki/"+e.getElementsByTagName("option")[0].value;return}a=e.value.indexOf("");b=e.value.indexOf("",a);if(b==-1){document.getElementById("t-dab").innerHTML+=" Fout in optie";return}c=e.value.indexOf("|");if(c>a&&c<b)b=c;selectedOption=e.value.substring(a+2,b);a=document.getElementById("wpTextbox1").value.toUpperCase.indexOf(""+e.getElementsByTagName("option")[0].value.toUpperCase+"");if(a==-1)a=document.getElementById("wpTextbox1").value.toUpperCase.indexOf("");if(a==-1){document.getElementById("t-dab").innerHTML+=" Geen link gevonden";return}b=document.getElementById("wpTextbox1").value.indexOf("",a);if(b==-1){document.getElementById("t-dab").innerHTML+=" Geen link gevonden";return}c=document.getElementById("wpTextbox1").value.indexOf("|",a);if(c>a&&c<b)b=c+1;else b=a+2;document.getElementById("wpTextbox1").value=document.getElementById("wpTextbox1").value.substring(0,a)+""+document.getElementById("wpTextbox1").value.substring(b);summ=document.getElementById("wpSummary");if(summ.value.indexOf(txtFixDisambiguation)==-1)summ.value+=txtFixDisambiguation;summ.value+=", [["+e.getElementsByTagName("option")[0].value+" → "+selectedOption+"";document.getElementById("t-dab").innerHTML+=" "+e.getElementsByTagName("option")[0].value+" gefixt";haveFixedDAB=true}function loadDABraw{if(xmlhttp.readyState!=4)return;if(xmlhttp.responseText.toUpperCase.indexOf("REDIRECT")!=-1||xmlhttp.responseText.toUpperCase.indexOf("تحويل")!=-1){a=xmlhttp.responseText.indexOf("");b=xmlhttp.responseText.indexOf("",a);if(b!=-1){title=xmlhttp.responseText.substring(a+2,b).trim;url=mw.config.get('wgServer')+mw.config.get('wgScript')+"?title="+encodeURIComponent(title)+"&action=raw";xmlhttp=HTTPClient;if(!xmlhttp)return;xmlhttp.open("GET",url,true);xmlhttp.onreadystatechange=loadDABraw;xmlhttp.send(null)}return}wikiText=xmlhttp.responseText.trim;DABlines=wikiText.split("\n");opts="";for(l in DABlines){line=DABlines[l];if(typeof line!="string")line="";if(line.indexOf("[[")!=-1&&(line.indexOf(":")>7||line.indexOf(":")<3)){DABlines[l]=DABlines[l].replace(/\*?/g,"").trim;opts+=' '+DABlines[l]}}opts+="Bekijk doorverwijspagina";var e=document.getElementById("bodyContent")||document.getElementById("content")||document.body;originalwidth=e.getElementsByTagName("a")[clickedLink].offsetWidth;selectlist=document.getElementById("select-"+clickedLink);selectlist.innerHTML+=opts}function loadDAB(e){i=e.id.substring(e.id.indexOf("-")+1);title=document.getElementById("link-"+i).title;docobj=document.getElementById("bodyContent")||document.getElementById("content")||document.body;url=mw.config.get('wgServer')+mw.config.get('wgScript')+"?title="+title+"&action=raw";clickedLink=i;if(document.getElementById("select-"+clickedLink).length==1){clickedTarget=title;xmlhttp=HTTPClient;if(!xmlhttp)return;xmlhttp.open("GET",url,true);xmlhttp.onreadystatechange=loadDABraw;xmlhttp.send(null)}}function findDABsButton{if(!queryString("oldid")&&!queryString("diff")&&(wgAction=="view"||wgAction=="purge"||wgAction=="submit")){addPortletLink("p-tb","javascript:findDABs","Links naar dp's","t-dab");if(queryString("finddab")=="true")findDABs}}function findDABs{if(dabfound==-1){dabfound=0}else{return 0}var e=document.getElementById("t-dab");if(e)e.innerHTML="Bezig met zoeken...";var t=wgScriptPath+"/api.php?maxage=86400&smaxage=86400&action=query&rawcontinue=&prop=links&pllimit=500&tlnamespace=10&indexpageids&format=json&callback=findDABsCB&titles=MediaWiki:Disambiguationspage";importScriptURI(t)}function findDABsCB(e){if(!e["query"]||!e["query"]["pages"]||!e["query"]["pageids"])return;var t=e["query"]["pages"][e["query"]["pageids"][0]]["links"];if(!t)return;for(var n=0;n<t.length;n++){dabnames.push(t[n]["title"])}findDABsQuery}function findDABsQuery(e){var t=wgScriptPath+"/api.php?maxage=300&smaxage=300&action=query&rawcontinue=&redirects&generator=links&gpllimit=500&prop=templates&tllimit=500&indexpageids&format=json&callback=findDABlinksCB&titles="+encodeURIComponent(mw.config.get('wgPageName'));if(e)t+="&tlcontinue="+encodeURIComponent(e);importScriptURI(t)}function findDABlinksCB(e){var t=new Array;if(!e["query"]||!e["query"]["pages"]||!e["query"]["pageids"])return;appendCSS(".dablink-found {background-color: #FAB;}");appendCSS(".DABselect { height=16px; font-size:80%;border:1px solid #AAA;padding:0;background:#FAB; margin:0;margin-left:-4px;margin-right:-4px;position:relative;top:1px }");appendCSS(".DABparent {background:#FED;}");var n=e["query"]["pageids"];var r=new Array;for(var i=0;i<n.length;i++){var s=e["query"]["pages"][n[i]]["templates"];if(!s)continue;for(var o=0;o<s.length;o++){var u=s[o]["title"];for(var a=0;a<dabnames.length;a++){if(u==dabnames[a]){t.push(e["query"]["pages"][n[i]]["title"]);continue}}}}if(e["query"]["redirects"]){var f=t.length;var l=e["query"]["redirects"];if(l){for(var i=0;i<l.length;i++){for(var o=0;o<f;o++){if(e["query"]["redirects"][i]["to"]==t[o]){t.push(e["query"]["redirects"][i]["from"]);continue}}}}}var c=document.getElementById("bodyContent")||document.getElementById("content")||document.body;var r=c.getElementsByTagName("a");for(var i=0;i<r.length;i++){for(var o=0;o<t.length;o++){var h=t[o].replace(/ /g,"_");var p=r[i].hasAttribute("href")?r[i].getAttribute("href",2).replace(/\#.*/,""):"";p=p.replace(wgArticlePath.replace(/\$1/,""),"");p=decodeURIComponent(p);if(p==h&&r[i].className.indexOf("dablink-found")==-1&&r[i].parentNode.className.indexOf("comment")==-1){r[i].className+=" dablink-found";if(document.getElementById("wpTextbox1")!=null){r[i].id="link-"+i;r[i].onmouseover=function{loadDAB(this)};spann=document.createElement("span");spann.id="chklink"+i;coption=t[o].toUpperCase==r[i].innerHTML.toUpperCase?t[o]:t[o]+"|"+r[i].innerHTML;spann.innerHTML=' '+''+coption+" ";r[i].style.display="none";r[i].parentNode.insertBefore(spann,r[i]);document.getElementById("select-"+i).onmouseover=function{loadDAB(this)}}r[i].parentNode.className+=" DABparent";dabfound++}}}var d=document.getElementById("t-dab");if(e["query-continue"]&&e["query-continue"]["templates"]){if(d){d.innerHTML="dp-links zoeken..."}findDABsQuery(e["query-continue"]["templates"]["tlcontinue"])}else{if(d){if(dabfound>0){var v=document.createElement("span");d.innerHTML=dabfound+" dp-links"}else{d.innerHTML="Geen dp-links gevonden."}}else{}}}function queryString(e){var t=RegExp("[&?]"+e+"=([^&]*)");var n;if(n=t.exec(document.location)){try{return decodeURI(n[1])}catch(r){}}return null}templateLanguage=wgServer.substring(7,wgServer.indexOf("."));var qTemplate=new Array;var qPos=new Array;var qCategory=new Array;var qTemplateText=new Array;var qPrompt=new Array;var qDisplayText=new Array;var qDefault=new Array;var dontusesquirlyBrackets=new Array;var qAdvancedParameters=new Array;var qHidden=new Array;var qCustomTemplateIdentifier=new Array;var qSection=new Array;var qOptions=new Array;var qWidth=new Array;var k=0;var regexpBO=new Array;var regexpBC=new Array;var bracketsOpen=new Array;var bracketsClose=new Array;var lastTemplate;var templateReason;vandalizedPage=getPreviousPage.replace(/_/g," ");var drawnTheTemplateBar=0;if(zmUseLocalTemplates){d=new Date;d=d.getFullYear+"!!!"+(d.getMonth+1<10?"0":"")+(d.getMonth+1)+"!!!"+(d.getDate<10?"0":"")+d.getDate;if(wgPageName.substring(0,23)=="Wikipedia:Te_beoordelen"){if(lastTemplate){qTemplate[++k]=lastTemplate+"nominatie "+vandalizedPage;qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Werk in uitvoering";qTemplateText[k]="$1\n*"+vandalizedPage+" - "+lastTemplate+" - $2 زكريا 22:45، 30 يوليو 2014 (ت ع م)";qPrompt[k]="tekst voor de nominatie";dontusesquirlyBrackets[k]=1;qSection[k]="lastfilled";qDefault[k]=templateReason}if(vandalizedPage){qTemplate[++k]="Verwijdernominatie "+vandalizedPage;qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Werk in uitvoering";qTemplateText[k]="$1\n*"+vandalizedPage+" - $2 زكريا 22:45، 30 يوليو 2014 (ت ع م)";qPrompt[k]="tekst voor de nominatie";dontusesquirlyBrackets[k]=1;qSection[k]="lastfilled"}qTemplate[++k]="Verwijdernominatie";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Werk in uitvoering";qTemplateText[k]="$1\n* $2 زكريا 22:45، 30 يوليو 2014 (ت ع م)";qPrompt[k]="tekst voor de nominatie";dontusesquirlyBrackets[k]=1;qSection[k]="lastfilled"}else if(wgCanonicalNamespace=="User_talk"){qTemplate[++k]="welkomstbericht";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Wikificatie_nodig";qTemplateText[k]="\n*$2 زكريا 22:45، 30 يوليو 2014 (ت ع م)\n$1";qPrompt[k]="commentaar";qDisplayText[k]="welkom";dontusesquirlyBrackets[k]=1;qDefault[k]=""+vandalizedPage+"";qTemplate[++k]="hola|welkom|wa|welkomstbericht|w|welkomAnoniem";qPos[k]="top";qCategory[k]="en:"+wgPageName;qDisplayText[k]="hola";qHidden[k]=1;qTemplate[++k]="-";qPos[k]="4%";qTemplate[++k]="ws|waarschuwing";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Wikificatie_nodig";qDisplayText[k]="ws";qTemplate[++k]="zb|zandbak|puber|pbr|pb|geklieder";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Wikificatie_nodig";qTemplate[++k]="exlink";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Wikificatie_nodig";qTemplate[++k]="-";qPos[k]="3%";if(isSysop!=true){qTemplate[++k]="ds";qPos[k]="bottom";qCategory[k]="Categorie:Wikipedia:Wikificatie_nodig";qPrompt[k]="Aard van het vandalisme?";qDefault[k]="Geklieder op pagina "+vandalizedPage+"";qDisplayText[k]="#";dontusesquirlyBrackets[k]=1;qSection[k]=0;qOptions[k]=["","zb->ws","exlink->ws","welkom->ws","welkom->zb","welkom->exlink","BLOKVERZOEK!"];qTemplateText[k]=["$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* zb -> ws","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* exlink -> ws","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* welkom -> ws","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* welkom -> zb","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* welkom-> exlink","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* blokverzoek","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* $3"]}else{qTemplate[++k]="ds";qPos[k]="bottom";qCategory[k]="Categorie:Wikipedia:Wikificatie_nodig";qPrompt[k]="Aard van het vandalisme?";qDefault[k]="Geklieder op pagina "+vandalizedPage+"";qDisplayText[k]="#";dontusesquirlyBrackets[k]=1;qSection[k]=0;qOptions[k]=["","zb->ws","exlink->ws","welkom->ws","welkom->zb","welkom->exlink","1 dag blok","3 dagen","1 week","2 weken","3 maanden","6 maanden","1 jaar","2 jaar"];qTemplateText[k]=["$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* zb -> ws","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* exlink -> ws","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* welkom -> ws","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* welkom -> zb","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* welkom-> exlink","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* 1 dag geblokkeerd","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* 3 dagen geblokkeerd","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* 1 week geblokkeerd","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* 2 weken geblokkeerd","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* 1 maand geblokkeerd","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* 3 maanden geblokkeerd","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* 6 maanden geblokkeerd","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* 1 jaar geblokkeerd","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* 2 jaar geblokkeerd","$1\n# 22:45، 30 يوليو 2014 (ت ع م) $2\n#* $3"];qTemplate[++k]="blok";qPos[k]="bottom";qCategory[k]="Categorie:Wikipedia:Wikificatie_nodig";qTemplateText[k]="$1\n#* blok - $2";qPrompt[k]="bloklengte?";qDefault[k]="1 dag";qDisplayText[k]="blok";dontusesquirlyBrackets[k]=1;qAdvancedParameters[k]="&section=0";qSection[k]=0}qTemplate[++k]="-";qPos[k]="3%";qTemplate[++k]="-";qPos[k]="5%";qHidden[k]=1;qTemplate[++k]="Nieuw bericht - "+vandalizedPage+"";qPos[k]="bottom";qCategory[k]="Categorie:Wikipedia:Wikificatie_nodig";qTemplateText[k]="$1\n=="+vandalizedPage+"==\n$2 زكريا 22:45، 30 يوليو 2014 (ت ع م)";qPrompt[k]="Nieuw bericht?";qDefault[k]=""+vandalizedPage+"";qDisplayText[k]="+nw";qHidden[k]=1;dontusesquirlyBrackets[k]=1;qTemplate[++k]="vzb";qPos[k]="bottom";qCategory[k]="Sjabloon:vzb";qTemplateText[k]="$1\n==$2==\n$2 زكريا 22:45، 30 يوليو 2014 (ت ع م)";qPrompt[k]="Artikel?";qDefault[k]=vandalizedPage;qHidden[k]=1;qTemplate[++k]="vvn";qPos[k]="bottom";qCategory[k]="Sjabloon:vvn";qTemplateText[k]="$1\n=="+vandalizedPage+"==\n"+vandalizedPage+" زكريا 22:45، 30 يوليو 2014 (ت ع م)";qPrompt[k]="Reden? (De reden wordt tussengevoegd: maak daarom een complete zin.)";qDefault[k]="";qHidden[k]=1;if(isSysop==true){qTemplate[++k]="vvn2";qPos[k]="bottom";qCategory[k]="Sjabloon:vvn2";qTemplateText[k]="$1\n==$2==\n$2 زكريا 22:45، 30 يوليو 2014 (ت ع م)";qPrompt[k]="Artikel?";qDefault[k]=vandalizedPage;qHidden[k]=1}qTemplate[++k]="ls2";qPos[k]="bottom";qCategory[k]="Sjabloon:ls2";qTemplateText[k]="$1\n==Externe links op $2==\n$2 زكريا 22:45، 30 يوليو 2014 (ت ع م)";qPrompt[k]="Artikel?";qDefault[k]=vandalizedPage;qDisplayText[k]="ls2";qHidden[k]=1;qTemplate[++k]="-";qPos[k]="5%";qHidden[k]=1}else if(wgCanonicalNamespace==""){qTemplate[++k]="nocat!!!!!!"+d+"|nocat|xnocat";qDisplayText[k]="nocat";qCategory[k]="Categorie:Wikipedia:Nog te categoriseren";qPos[k]="bottom";qTemplate[++k]="beg|beginnetje|xbeg";qPos[k]="bottom";qCategory[k]="Categorie:Wikipedia:Beginnetje";qOptions[k]=["","geografie","landen & volken","steden","geschiedenis","middeleeuwen","nieuwste tijd","oudheid","kunst & cultuur","muziek","mens & maatschappij","dagelijks leven","economie","film","landbouw","media","politiek","religie","sport","voetbal","taal","literatuur","wetenschap & technologie","aardwetenschappen","astronomie","biologie","filosofie","geneeskunde","informatica","natuurkunde","scheikunde","wiskunde","verkeer & vervoer","openbaar vervoer"];qTemplate[++k]="-";qPos[k]="2%";qTemplate[++k]="wb!!!!!!"+d+"|wb";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Woordenboekdefinitie";qDisplayText[k]="wb";qTemplate[++k]="wiu";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Nog niet gereed";qTemplateText[k]="\n$1";qPrompt[k]="commentaar";qTemplate[++k]="auteur";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Auteur";qTemplateText[k]="\n$1";qPrompt[k]="commentaar (url)";qTemplate[++k]="reclame!!!!!!"+d+"|reclame|xreclame";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Weg";qDisplayText[k]="reclame";qTemplate[++k]="-";qPos[k]="2%";qTemplate[++k]="weg";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Weg";qTemplateText[k]="\n$1";qPrompt[k]="commentaar (url)";qDefault[k]="Te weinig beschikbare onafhankelijke bronnen. (NE)";qTemplate[++k]="#REDIRECT";qPos[k]="top";qCategory[k]="Wikipedia:Redirect";qTemplateText[k]="#REDIRECT $2";qPrompt[k]="doelpagina";qDisplayText[k]="#R";dontusesquirlyBrackets[k]="";qHidden[k]=1;qDefault[k]=wgPageName;qTemplate[++k]="wiu|xwiu";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Nog niet gereed";qHidden[k]=1;qTemplate[++k]="meebezig|wiu2";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Werk in uitvoering";qHidden[k]=1;qDisplayText[k]="wiu2";qTemplate[++k]="-";qPos[k]="8%";qHidden[k]=1;qTemplate[++k]="de:"+wgPageName.replace(/_/," ");qPos[k]="bottom";qCategory[k]="de:"+wgPageName;qDisplayText[k]="de";dontusesquirlyBrackets[k]="";qHidden[k]=1;qTemplate[++k]="en:"+wgPageName.replace(/_/," ");qPos[k]="bottom";qCategory[k]="en:"+wgPageName;qDisplayText[k]="en";dontusesquirlyBrackets[k]="";qHidden[k]=1;qTemplate[++k]="es:"+wgPageName.replace(/_/," ");qPos[k]="bottom";qCategory[k]="es:"+wgPageName;qDisplayText[k]="es";dontusesquirlyBrackets[k]="";qHidden[k]=1;qTemplate[++k]="fr:"+wgPageName.replace(/_/," ");qPos[k]="bottom";qCategory[k]="fr:"+wgPageName;qDisplayText[k]="fr";dontusesquirlyBrackets[k]="";qHidden[k]=1;qTemplate[++k]="-";qPos[k]="8%";qHidden[k]=1;qTemplate[++k]="dpintro";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Doorverwijspagina";qHidden[k]=1;qDisplayText[k]="dpi";qTemplate[++k]="dp";qPos[k]="bottom";qCategory[k]="Categorie:Wikipedia:Doorverwijspagina";qHidden[k]=1;qTemplate[++k]="-";qPos[k]="8%";qHidden[k]=1}else if(wgCanonicalNamespace=="File"){qTemplate[++k]="nocat!!!!!!"+d+"|nocat|xnocat";qDisplayText[k]="nocat";qCategory[k]="Categorie:Wikipedia:Nog te categoriseren";qPos[k]="bottom";qTemplate[++k]="-";qPos[k]="50%";qTemplate[++k]="geeninfo";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Afbeeldingen van onbekende oorsprong en voorwaarden";qTemplateText[k]="\n$1";qPrompt[k]="commentaar";qTemplate[++k]="weg";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Weg";qTemplateText[k]="\n$1";qPrompt[k]="commentaar";qDefault[k]="Niet encyclopedisch (NE)";qTemplate[++k]="geenOTRS";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Weg";qTemplateText[k]="\n$1";qPrompt[k]="commentaar";qDefault[k]="";qDisplayText[k]="OTRS";qTemplate[++k]="-";qPos[k]="10%";qTemplate[++k]="nucommons";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:NuCommons";qTemplateText[k]="\n$1";qPrompt[k]="titel op Commons";qDisplayText[k]="nuC";qTemplate[++k]="verplaats naar Wikimedia Commons";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Verplaats naar Wikimedia Commons";qDisplayText[k]="naarC";qTemplate[++k]="-";qPos[k]="10%"}else if(wgCanonicalNamespace=="Template"){qTemplate[++k]="#REDIRECT";qPos[k]="top";qCategory[k]="Wikipedia:Redirect";qTemplateText[k]="#REDIRECT $2";qPrompt[k]="doelpagina";qDisplayText[k]="#R";dontusesquirlyBrackets[k]="";qDefault[k]=wgPageName;qTemplate[++k]="nocat!!!!!!"+d+"|nocat|xnocat";qDisplayText[k]="nocat";qCategory[k]="Categorie:Wikipedia:Nog te categoriseren";qPos[k]="bottom";qTemplate[++k]="-";qPos[k]="60%";qTemplate[++k]="weg";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Weg";qTemplateText[k]=" \n$1";qPrompt[k]="commentaar";qDefault[k]="Niet encyclopedisch (NE)";qTemplate[++k]="-";qPos[k]="20%"}else if(wgCanonicalNamespace=="Category"){qTemplate[++k]="nocat!!!!!!"+d+"|nocat|xnocat";qDisplayText[k]="nocat";qCategory[k]="Categorie:Wikipedia:Nog te categoriseren";qPos[k]="bottom";qTemplate[++k]="-";qPos[k]="50%";qTemplate[++k]="weg";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Weg";qTemplateText[k]="\n$1";qPrompt[k]="commentaar (url)";qDefault[k]="Onnodig"}else if(wgCanonicalNamespace=="User"){qTemplate[++k]="#REDIRECT";qPos[k]="top";qCategory[k]="Wikipedia:Redirect";qTemplateText[k]="#REDIRECT $2";qPrompt[k]="doelpagina";qDisplayText[k]="#R";dontusesquirlyBrackets[k]="";qDefault[k]=wgPageName;qTemplate[++k]="-";qPos[k]="10%";qTemplate[++k]="weg";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Weg";qTemplateText[k]="\n$1";qPrompt[k]="commentaar (url)";qDefault[k]="Hier is een gebruikerspagina niet voor bedoeld."}else{qTemplate[++k]="#REDIRECT";qPos[k]="top";qCategory[k]="Wikipedia:Redirect";qTemplateText[k]="#REDIRECT $2";qPrompt[k]="doelpagina";qDisplayText[k]="#R";dontusesquirlyBrackets[k]="";qDefault[k]=wgPageName;qTemplate[++k]="-";qPos[k]="50%"}if(!isSysop){qTemplate[++k]="nuweg";qPos[k]="top";qCategory[k]="Categorie:Wikipedia:Nuweg";qTemplateText[k]="\n$1";qPrompt[k]="commentaar"}qTemplate[++k]="-";qPos[k]="3%";deletionLinkId="verwijderpagina";deletionTemplates="nuweg|wb|wiu|weg|auteur|reclame|ne"}if(zmUseCustomTemplates)document.write("");if(zmUseQuickTemplate==true){if(wgCanonicalSpecialPageName=="Contributions"){passArticlename}if(wgCanonicalNamespace!="Special"&&wgAction!="submit"&&wgAction!="edit")loadEditFormBackground;var csub=document.getElementById("contentSub");var msg=document.createElement("div");msg.innerHTML=" ";csub.insertBefore(msg,csub.firstChild);if(wgCanonicalNamespace!="Special"){addQTemplate;window.addEventListener("DOMContentLoaded",addQTemplate,false)}findTemplate}var dabnames=new Array;var dabfound=-1;var clickedLink=-1;var clickedTarget="";if(typeof zmUseFixDABs=="undefined")zmUseFixDABs=true;if(typeof zmDABdelay=="undefined")zmDABdelay=3e4;if(zmUseFixDABs){findDABsButton;if((wgCanonicalNamespace==""||wgCanonicalNamespace=="Template"||wgCanonicalNamespace=="File"||wgCanonicalNamespace=="User")&&document.location.href.indexOf("&diff")==-1){if(vandalizedPage=="Wikipedia:Links naar doorverwijspagina's/Artikelen")zmDABdelay=1500;if(zmDABdelay>0)setTimeout("findDABs;",zmDABdelay)}} mw.util.addCSS("#t-dab{display:none}"); //