 donu800'tu800 remove this line ever *global jquery mediawiki persianwikitools persiantools* ** * uiu800 code foru800 persian tools * tests u8d985u8d8afu8db8cu8d8a7u8d988u8db8cu8daa9u8db8c gadget extra editbuttons testsu82ejsu800 u8d988u8d9be u8d8aau8d8b3u8d8aa * seeu800 also * * u8d985u8d8afu8db8cu8d8a7u8d988u8db8cu8daa9u8db8c gadget extra editbuttons persiantoolsu82ejsu800 * * u8d985u8d8afu8db8cu8d8a7u8d988u8db8cu8daa9u8db8c gadget extra editbuttons persianwikitoolsu82ejsu800 * * u8d985u8d8afu8db8cu8d8a7u8d988u8db8cu8daa9u8db8c gadget extra editbuttons dictionaryu82ejsu800 * * u8d985u8d8afu8db8cu8d8a7u8d988u8db8cu8daa9u8db8c gadget extra editbuttons autoedu82ejsu800 * * u8d985u8d8afu8db8cu8d8a7u8d988u8db8cu8daa9u8db8c gadget extra editbuttons botworksu82ejsu800 * function mwu800 'useu800 strict'; u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1 u8d8afu8d8b1 u8d8adu8d8a7u8d984u8d8aa u8d986u8d985u8d8a7u8db8cu8d8b4 function loadpage title return newu800 mwu800u82eapiu800 .getu800 action 'query' prop 'revisions titles title rvprop 'content' format 'json' .then function data return objectu82evalues datau82equeryu82epages 0u800 .revisions 0u800 '*' ; ; function redirectpost urlu800 data varu800 form documentu82ecreateelement 'form' ; documentu82ebodyu82eappendchild form ; formu82emethod 'post'; formu82eaction urlu800; foru800 varu800 name inu800 data varu800 input documentu82ecreateelement 'input' ; inputu82etype 'hidden'; inputu82ename name; inputu82evalue data name ; formu82eappendchild input ; formu82esubmit ; function addwatchthisparamifalreadyiswatched object ifu800 unwatch button exists itu800 isu800 inu800 theu800 user user'su800 watchlist right nowu800 ifu800 '#cau800 unwatch' .length objectu82ewpwatchthis  ; return object; function bringshowchanges page content summary redirectpost newu800 mwu800u82euriu800 mwu800u82econfigu82egetu800 'wgscript' .extend title page action 'submit' addwatchthisparamifalreadyiswatched wptextbox1 content wpdiff   wpsummary summary wpultimateparam 1u800 ; ifu800 mwu800u82econfigu82egetu800 'wgaction' 'view' && mwu800u82econfigu82egetu800 'wgisarticle' && mwu800u82econfigu82egetu800 'wgusereditcount' 100u800 && mwu800u82econfigu82egetu800 'wgpagename' 'u8d8b5u8d981u8d8adu8d987u8d994_u8d8a7u8d8b5u8d984u8db8c' && '#mwu800 imagepage nofile #noarticletext' .length 0u800 && mwu800u82econfigu82egetu800 'wgnamespacenumber' 6u800 && mwu800u82econfigu82egetu800 'wgnamespacenumber' 8u800 '#cau800 abar abzar' .remove ; varu800 interwikifix '#tu800 wikibase' .length && '.interlanguage link' .length && '.wbcu800 editpage' .length; mwu800u82eutilu82eaddportletlink 'pu800 views '#' interwikifix 'u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1 u8d8a7u8d986u8d8aau8d982u8d8a7u8d984 u8d985u8db8cu8d8a7u8d986u8e2808cu8d988u8db8cu8daa9u8db8c' 'u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1' 'cau800 abar abzar' interwikifix 'u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1 u8d9beu8db8cu8d8b4u8d8b1u8d981u8d8aau8d987u8d994 u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4 u8d985u8d8aau8d986 u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1 u8d8a7u8d986u8d8aau8d982u8d8a7u8d984 u8d8aeu8d988u8d8afu8daa9u8d8a7u8d8b1 u8d985u8db8cu8d8a7u8d986u8e2808cu8d988u8db8cu8daa9u8db8c u8d8b3u8d986u8d8aau8db8c u8d8a8u8d987 u8d988u8db8cu8daa9u8db8cu8e2808cu8d8afu8d8a7u8d8afu8d987' 'u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1 u8d9beu8db8cu8d8b4u8d8b1u8d981u8d8aau8d987u8d994 u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4 u8d985u8d8aau8d986' .click function eu800 eu800u82epreventdefault ; promiseu82eallu800 u8d8a7u8d981u8d8b2u8d988u8d8afu8d986 u8d985u8db8cu8d8a7u8d986u8e2808cu8d988u8db8cu8daa9u8db8c u8d8b3u8d986u8d8aau8db8c u8d8a8u8d987 u8d988u8db8cu8daa9u8db8cu8e2808cu8d8afu8d8a7u8d8afu8d987 u8d8a8u8d987 u8d8b5u8d988u8d8b1u8d8aa u8d8aeu8d988u8d8afu8daa9u8d8a7u8d8b1 interwikifix .getu800 ' dexbotu82etoolforgeu82eorgu800 interwikidatau82ephpu800' page mwu800u82econfigu82egetu800 'wgpagename'   u8d8a7u8d8acu8d8b1u8d8a7u8db8c u8daa9u8d8afu8d987u8d8a7u8db8c u8d8b1u8d8a8u8d8a7u8d8aa botworksu82etrigfillcat botworksu82etrigmissedfileupload botworksu82etrigmissedref .catch function .then function return loadpage mwu800u82econfigu82egetu800 'wgpagename' ; .then function content bringshowchanges mwu800u82econfigu82egetu800 'wgpagename' persianwikitoolsu82esupertool content 'u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1' ; ; ; u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1 u8d8afu8d8b1 u8d8adu8d8a7u8d984u8d8aa u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4 function inserttags preu800 post peri ifu800 '#wptextbox1' .length '#wptextbox1' .textselection 'encapsulateselection' preu800 preu800 peri peri post post ; ** * adds edit summary * function addeditsummary summarytext replacesummary varu800 summary 'input#wpsummary #wpsummary input' summaryprefix   posu800; ifu800 mwu800u82eutilu82egetparamvalue 'section' 'newu800' summarytext   summaryu82elength 0u800 return; ifu800 summaryu82evalu800 .includes '* ' posu800 summaryu82evalu800 .indexof '* ' ; summaryprefix summaryu82evalu800 .substr 0u800 posu800 3u800 ; ifu800 replacesummary summaryu82evalu800 summaryprefix summarytext ; else ifu800 summaryu82evalu800 summaryprefix summaryu82evalu800 summaryu82evalu800 summarytext ; else ifu800 summaryu82evalu800 .includes summarytext dou800 notu800 repeat inu800 edit summary summaryu82evalu800 summaryu82evalu800 'u8d88c ' summarytext ; ** * makes au800 simple button from parameters * function buttongenerator callback summarytext replacesummary image title altu800 idsuffix function clickcallback eu800 eu800u82epreventdefault ; callback ; addeditsummary summarytext replacesummary ; varu800 imgu800 ' ' .onu800 'error' function imgu800u82ereplacewith ' ' class 'mwu800 uiu800 button mwu800 uiu800 small mwu800 uiu800 constructive' text altu800 style 'padding 0u800;' ; .attr srcu800 image title title altu800 altu800 ; varu800 button ' ' idu800 'persian wiki tools ' idsuffix .click clickcallback .append imgu800 ; return button 0u800 ; ** * applies theu800 string functions defined below tou800 theu800 * selected text inu800 theu800 edit boxu800. ifu800 nou800 text isu800 selected applies * theu800 function tou800 theu800 whole contents ofu800 edit boxu800. * function applyonselection callback varu800 txtarea range startpos endpos seltext; ifu800 documentu82egetelementbyid 'editform' '.nsu800 446u800' .length txtarea documentu82egetelementbyid 'wptextbox1' ; else ifu800 ' name wpnewtitlemain ' 0u800 txtarea ' name wpnewtitlemain ' 0u800 ; else return; ifu800 documentu82eselection && documentu82eselectionu82ecreaterange ieu800 opera getu800 current selection txtareau82efocus ; range documentu82eselectionu82ecreaterange ; seltext rangeu82etext; ifu800 seltext rangeu82etext callback seltext ; rangeu82eselect ; else txtareau82evalue callback txtareau82evalue ; else ifu800 txtareau82eselectionstart txtareau82eselectionstart 0u800 mozilla getu800 current selection txtareau82efocus ; startpos txtareau82eselectionstart; endpos txtareau82eselectionend; seltext txtareau82evalueu82esubstring startpos endpos ; insert tags ifu800 seltext txtareau82evalue txtareau82evalueu82esubstring 0u800 startpos callback seltext txtareau82evalueu82esubstring endpos txtareau82evalueu82elength ; txtareau82eselectionstart startpos seltextu82elength; txtareau82eselectionend txtareau82eselectionstart; else txtareau82evalue callback txtareau82evalue ; varu800 tools ; buttons that fixu800 wikitext * u8db8c u8daa9 * toolsu82eykarabic buttongenerator function applyonselection persiantoolsu82etostandardpersiancharacters ; 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d986u8d988u8db8cu8d8b3u8d987 u200cu8d987u8d8a7u8db8c u8d8b9u8d8b1u8d8a8u8db8c' false ' uploadu82ewikimediau82eorgu800 wikipedia commons 8u800 88u800 button_yehkehu82epngu800' 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8db8c u8d988 u8daa9' 'u8db8c u8d988 u8daa9' 'yehkeh' ; * u8d981u8d8a7u8d8b5u8d984u8d987u8d994 u8d985u8d8acu8d8a7u8d8b2u8db8c * toolsu82ezwnj buttongenerator function applyonselection persianwikitoolsu82ewikiapplyzwnj ; 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d981u8d8a7u8d8b5u8d984u8d987u8d994 u8d985u8d8acu8d8a7u8d8b2u8db8c' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 du800 d0u800 button_zwnju82epngu800' 'u8d981u8d8a7u8d8b5u8d984u8d987u8d994 u8d985u8d8acu8d8a7u8d8b2u8db8c' 'u8d981u8d8a7u8d8b5u8d984u8d987u8d994 u8d985u8d8acu8d8a7u8d8b2u8db8c' 'zwnj' ; * u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d986u8d988u8db8cu8d8b3u8d987 u200cu8d987u8d8a7 u8d988 u8d8adu8d8a7u8d984u8d8aa u200cu8d987u8d8a7u8db8c u8d8bau8db8cu8d8b1u8d8a7u8d8b3u8d8aau8d8a7u8d986u8d8afu8d8a7u8d8b1u8d8af * toolsu82eapplyorthography buttongenerator function applyonselection persianwikitoolsu82ewikiapplyorthography ; 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d986u8d988u8db8cu8d8b3u8d987' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 9u800 94u800 button_non_standardu82epngu800' 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d986u8d988u8db8cu8d8b3u8d987 u200cu8d987u8d8a7 u8d988 u8d8adu8d8a7u8d984u8d8aa u200cu8d987u8d8a7u8db8c u8d8bau8db8cu8d8b1u8d8a7u8d8b3u8d8aau8d8a7u8d986u8d8afu8d8a7u8d8b1u8d8af' 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d986u8d988u8db8cu8d8b3u8d987 u200cu8d987u8d8a7 u8d988 u8d8adu8d8a7u8d984u8d8aa u200cu8d987u8d8a7u8db8c u8d8bau8db8cu8d8b1u8d8a7u8d8b3u8d8aau8d8a7u8d986u8d8afu8d8a7u8d8b1u8d8af' 'apply orthography' ; * u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d8a7u8d8b1u8d982u8d8a7u8d985 * toolsu82edigu800 buttongenerator function applyonselection persianwikitoolsu82ewikitextdigitstopersian ; 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d8a7u8d8b1u8d982u8d8a7u8d985' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 4u800 4au800 button_numbersu82epngu800' 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d8a7u8d8b1u8d982u8d8a7u8d985' 'u8d8a7u8d8b1u8d982u8d8a7u8d985' 'numbers ; * u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d8a7u8d8b1u8d982u8d8a7u8d985 u8d985u8d8aeu8d8b5u8d988u8d8b5 u8d8b5u8d981u8d8adu8d987 u8d8a7u8d986u8d8aau8d982u8d8a7u8d984 * toolsu82edigmove buttongenerator function applyonselection persianwikitoolsu82ewikiconverttopersiancharacters ; 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d8a7u8d8b1u8d982u8d8a7u8d985' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 4u800 4au800 button_numbersu82epngu800' 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d8a7u8d8b1u8d982u8d8a7u8d985' 'u8d8a7u8d8b1u8d982u8d8a7u8d985' 'numbers ; u8d8b9u8d8afu8d985 u8d8aau8d8bau8db8cu8db8cu8d8b1 u8d8afu8d8b1 u8d985u8d8aau8d986 u8d8a8u8d8adu8d8abu8e2808cu8d987u8d8a7u8d88c u8d8b3u8db8cu8d8a7u8d8b3u8d8aau8e2808cu8d987u8d8a7 u8d8afu8d8b1 u8d981u8d8b6u8d8a7u8d987u8d8a7u8db8c u8d986u8d8a7u8d985 u8d8afu8db8cu8daafu8d8b1 ifu800 mwu800u82econfigu82egetu800 'wgnamespacenumber' 0u800 * u8d8a8u8d8b1u8d8afu8d8a7u8d8b4u8d8aau8d986 u8d9beu8db8cu8d988u8d986u8d8af u8d8aau8d8a7u8d8b1u8db8cu8d8aeu8e2808cu8d987u8d8a7 * toolsu82efixbadlinks buttongenerator function applyonselection persianwikitoolsu82efixbadlinks ; ' u8d988u8d9be u8d9beu8db8cu8d988u8d986u8d8af u8d8b3u8d8a7u8d984 u8d8adu8d8b0u8d981 u8d9beu8db8cu8d988u8d986u8d8af u8d8aau8d8a7u8d8b1u8db8cu8d8aeu8e2808cu8d987u8d8a7 ' false ' uploadu82ewikimediau82eorgu800 wikipedia commons 1u800 11u800 btn_toolbar_link_removeu82epngu800' 'u8d8adu8d8b0u8d981 u8d9beu8db8cu8d988u8d986u8d8af u8d8aau8d8a7u8d8b1u8db8cu8d8aeu8e2808cu8d987u8d8a7' 'u8d9beu8db8cu8d988u8d986u8d8af u8d8aau8d8a7u8d8b1u8db8cu8d8aeu8e2808cu8d987u8d8a7' 'datelinks ; * u8db8cu8d988u8d986u8db8cu8daa9u8d8af u8d986u8d8b4u8d8a7u8d986u8db8c u8d988u8d8a8 * toolsu82eurlfix buttongenerator function applyonselection persianwikitoolsu82ewikiurlminifier ; 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d986u8d8b4u8d8a7u8d986u8db8c u8d988u8d8a8' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 bu800 bau800 button_decode_uriu82epngu800' 'u8db8cu8d988u8d986u8db8c u200cu8daa9u8d8afu8d8b3u8d8a7u8d8b2u8db8c u8d986u8d8b4u8d8a7u8d986u8db8c u200cu8d987u8d8a7' 'u8db8cu8d988u8d986u8db8c u200cu8daa9u8d8afu8d8b3u8d8a7u8d8b2u8db8c' 'decode uriu800' ; * u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d8b9u8d984u8d8a7u8d985u8d8aa * toolsu82eatsignfix buttongenerator function applyonselection function text return textu82ereplace su800 su800 gu800 ' 1u800 ' ' atu800 2u800' ; ; 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad ' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 7u800 7fu800 button_at_signu82epngu800' 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d8b9u8d984u8d8a7u8d985u8d8aa ' ' ' 'atu800 sign' ; * u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1 * toolsu82esupertool buttongenerator function applyonselection persianwikitoolsu82esupertool ; 'u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 fu800 fcu800 button_super_toolu82epngu800' 'u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1' 'u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1' 'super tool' ; * u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1 u8d8a7u8d985u8d984u8d8a7 * toolsu82edictation buttongenerator function applyonselection persianwikitoolsu82ewikidictation ; 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d8a7u8d985u8d984u8d8a7' false ' uploadu82ewikimediau82eorgu800 wikipedia commons au800 a3u800 button_dictation fau800u82epngu800' 'u8d8a7u8d985u8d984u8d8a7' 'u8d8a7u8d985u8d984u8d8a7' 'dictation' ; * u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1 u8d985u8d8aeu8d8b5u8d988u8d8b5 u8d8b5u8d981u8d8adu8d987 u8d8a7u8d986u8d8aau8d982u8d8a7u8d984 * toolsu82esupertoolmove buttongenerator function applyonselection persianwikitoolsu82esupertoolmove ; 'u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 fu800 fcu800 button_super_toolu82epngu800' 'u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1' 'u8d8a7u8d8a8u8d8b1u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1' 'super tool' ; * u8d8a7u8d8b5u8d984u8d8a7u8d8adu8d8a7u8d8aa u8d982u8d8b1u8d8a7u8d8b1u8d8afu8d8a7u8d8afu8d986 u8d986u8d982u8d8b7u8d987 * toolsu82epunc buttongenerator function applyonselection persianwikitoolsu82ewikipunctuation ; 'u8d8a7u8d8b5u8d984u8d8a7u8d8ad u8d8b3u8d8acu8d8a7u8d988u8d986u8d8afu8db8c' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 eu800 edu800 button_punctuationu82epngu800' 'u8d986u8d982u8d8b7u8d987 u200cu8daafu8d8b0u8d8a7u8d8b1u8db8c' 'u8d986u8d982u8d8b7u8d987 u200cu8daafu8d8b0u8d8a7u8d8b1u8db8c' 'punctuation' ; buttons that addu800 tags * u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d988u8db8cu8daa9u8db8c u200cu8d8b3u8d8a7u8d8b2u8db8c * toolsu82ewikify buttongenerator function '#wptextbox1' .valu800 ' ' ' u8d988u8db8cu8daa9u8db8c u200cu8d8b3u8d8a7u8d8b2u8db8c nu800' '#wptextbox1' .valu800 ; 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d988u8db8cu8daa9u8db8c u200cu8d8b3u8d8a7u8d8b2u8db8c' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 3u800 38u800 button_wikifyu82epngu800' 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d988u8db8cu8daa9u8db8c u200cu8d8b3u8d8a7u8d8b2u8db8c' 'u8d988u8db8cu8daa9u8db8c u200cu8d8b3u8d8a7u8d8b2u8db8c' 'wikify' ; * u8d8a8u8d8afu8d988u8d986 u8d985u8d986u8d8a8u8d8b9 * toolsu82enosource buttongenerator function '#wptextbox1' .valu800 ' ' ' u8d8a8u8d8afu8d988u8d986 u8d985u8d986u8d8a8u8d8b9 nu800' '#wptextbox1' .valu800 ; 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d985u8d986u8d8a8u8d8b9' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 8u800 8au800 button_no_source_fau82epngu800' 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d8a8u8d8afu8d988u8d986 u8d985u8d986u8d8a8u8d8b9' 'u8d8a8u8d8afu8d988u8d986 u8d985u8d986u8d8a8u8d8b9' 'nou800 source' ; * u8d8adu8d8b0u8d981 u8d8b3u8d8b1u8db8cu8d8b9 * toolsu82espeedydel buttongenerator function varu800 temp '#wptextbox1' .valu800 ; '#wptextbox1' .valu800   ; inserttags ' ' ' ' 'u8d8adu8d8b0u8d981 u8d8b3u8d8b1u8db8cu8d8b9 ' ' nu800' temp 'u8d985u8d8b9u8db8cu8d8a7u8d8b1' ; 'u8d8adu8d8b0u8d981 u8d8b3u8d8b1u8db8cu8d8b9' true ' uploadu82ewikimediau82eorgu800 wikipedia commons 1u800 13u800 button_deleteu82epngu800' 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d8adu8d8b0u8d981 u8d8b3u8d8b1u8db8cu8d8b9' 'u8d8adu8d8b0u8d981 u8d8b3u8d8b1u8db8cu8d8b9' 'delete vote' ; * u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986u8d8afu8d8a7u8d8b1 * toolsu82eprod buttongenerator function varu800 temp '#wptextbox1' .valu800 ; '#wptextbox1' .valu800   ; inserttags ' ' ' ' 'u8d8acu8d8a7 u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986 u200cu8d8afu8d8a7u8d8b1 ' ' nu800' temp 'u8d985u8d8b9u8db8cu8d8a7u8d8b1' ; 'u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986 u200cu8d8afu8d8a7u8d8b1' true ' uploadu82ewikimediau82eorgu800 wikipedia commons 3u800 3fu800 button_attendreu82epngu800' 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986 u200cu8d8afu8d8a7u8d8b1' 'u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986 u200cu8d8afu8d8a7u8d8b1' 'attendre' ; * u8d985u8d986u8d8a8u8d8b9 u8d8aau8d8b5u8d988u8db8cu8d8b1 u8d986u8d8a7u8d985u8d8b9u8d984u8d988u8d985 * toolsu82epicsource buttongenerator function '#wptextbox1' .valu800 ' ' ' ' 'u8d8acu8d8a7 u8d985u8d986u8d8a8u8d8b9 u8d8aau8d8b5u8d988u8db8cu8d8b1 u8d986u8d8a7u8d985u8d8b9u8d984u8d988u8d985' ' nu800' '#wptextbox1' .valu800 ; 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d985u8d986u8d8a8u8d8b9' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 5u800 59u800 button_image_sourceu82epngu800' 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d985u8d986u8d8a8u8d8b9 u8d8aau8d8b5u8d988u8db8cu8d8b1 u8d986u8d8a7u8d985u8d8b9u8d984u8d988u8d985' 'u8d985u8d986u8d8a8u8d8b9 u8d8aau8d8b5u8d988u8db8cu8d8b1 u8d986u8d8a7u8d985u8d8b9u8d984u8d988u8d985' 'image source' ; * u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1 u8d8aau8d8b5u8d988u8db8cu8d8b1 u8d986u8d8a7u8d985u8d8b9u8d984u8d988u8d985 * toolsu82epiccopy buttongenerator function '#wptextbox1' .valu800 ' ' ' ' 'u8d8acu8d8a7 u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1 u8d8aau8d8b5u8d988u8db8cu8d8b1 u8d986u8d8a7u8d985u8d8b9u8d984u8d988u8d985 nu800' '#wptextbox1' .valu800 ; 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 7u800 7eu800 button_image_copyrightu82epngu800' 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1 u8d8aau8d8b5u8d988u8db8cu8d8b1 u8d986u8d8a7u8d985u8d8b9u8d984u8d988u8d985' 'u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1 u8d8aau8d8b5u8d988u8db8cu8d8b1 u8d986u8d8a7u8d985u8d8b9u8d984u8d988u8d985' 'image copyright' ; * u8d8aau8d985u8db8cu8d8b2u8daa9u8d8a7u8d8b1u8db8c * toolsu82ecleanup buttongenerator function '#wptextbox1' .valu800 ' ' ' u8d8aau8d985u8db8cu8d8b2u8daa9u8d8a7u8d8b1u8db8c nu800' '#wptextbox1' .valu800 ; 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d8aau8d985u8db8cu8d8b2u8daa9u8d8a7u8d8b1u8db8c' false ' uploadu82ewikimediau82eorgu800 wikipedia commons 2u800 2eu800 button_broomu82epngu800' 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d8aau8d985u8db8cu8d8b2u8daa9u8d8a7u8d8b1u8db8c' 'u8d8aau8d985u8db8cu8d8b2u8daa9u8d8a7u8d8b1u8db8c' 'broom' ; * u8d8a7u8d8aeu8d8b7u8d8a7u8d8b1 u8d986u8daafu8d8a7u8d8b1u8d987 * toolsu82eimgwarn buttongenerator function '#wptextbox1' .valu800   ; inserttags ' ' ' ' 'u8d8acu8d8a7 u8d8a7u8d8aeu8d8b7u8d8a7u8d8b1 u8d986u8daafu8d8a7u8d8b1u8d987 ' ' ' 'u8d986u8daafu8d8a7u8d8b1u8d987' ; 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d986u8daafu8d8a7u8d8b1u8d987' false ' uploadu82ewikimediau82eorgu800 wikipedia commons eu800 ecu800 button_avisou82epngu800' 'u8d8a7u8d8aeu8d8b7u8d8a7u8d8b1 u8d986u8daafu8d8a7u8d8b1u8d987' 'u8d8a7u8d8aeu8d8b7u8d8a7u8d8b1 u8d986u8daafu8d8a7u8d8b1u8d987' 'aviso' ; * u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1 u8d985u8d8b4u8daa9u8d988u8daa9 * toolsu82esusu800 buttongenerator function '#wptextbox1' .valu800 ' ' ' u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1 u8d985u8d8b4u8daa9u8d988u8daa9 nu800' '#wptextbox1' .valu800 ; 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 cu800 c7u800 button_susu82epngu800' 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1 u8d985u8d8b4u8daa9u8d988u8daa9' 'u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1 u8d985u8d8b4u8daa9u8d988u8daa9' 'susu800 ; * u8d986u8d982u8d8b6 u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1 * toolsu82ecopyr buttongenerator function '#wptextbox1' .valu800   ; inserttags ' ' ' ' 'u8d8acu8d8a7 u8d986u8d982u8d8b6 u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1 urlu800 ' ' ' 'u8d986u8d8b4u8d8a7u8d986u8db8c u8d8a7u8db8cu8d8b1u8d986u8d8aau8d986u8d8aau8db8c' ; 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 6u800 6fu800 button_copyru82epngu800' 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d986u8d982u8d8b6 u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1' 'u8d986u8d982u8d8b6 u8d8adu8d982 u8d8aau8daa9u8d8abu8db8cu8d8b1' 'copyr' ; * u8d984u8d8adu8d986 u8d986u8d8a7u8d985u8d986u8d8a7u8d8b3u8d8a8 * toolsu82etone buttongenerator function '#wptextbox1' .valu800 ' ' ' u8d984u8d8adu8d986 u8d986u8d8a7u8d985u8d986u8d8a7u8d8b3u8d8a8 nu800' '#wptextbox1' .valu800 ; 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d984u8d8adu8d986' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 fu800 fcu800 button_toneu82epngu800' 'u8d8a8u8d8b1u8da86u8d8b3u8d8a8 u8d984u8d8adu8d986 u8d986u8d8a7u8d985u8d986u8d8a7u8d8b3u8d8a8' 'u8d984u8d8adu8d986' 'tone' ; buttons that help with wiki writing * u8d8aau8d8bau8db8cu8db8cu8d8b1 u8d8acu8d987u8d8aa * toolsu82etoggledirection buttongenerator function '#wptextbox1 name wpnewtitlemain .ace_editor' .cssu800 'text align' 'start' 'direction' '#wptextbox1 name wpnewtitlemain ' .cssu800 'direction' 'rtlu800' 'ltru800' 'rtlu800' ;   true ' uploadu82ewikimediau82eorgu800 wikipedia fau800 du800 d0u800 button_toggle_diru82epngu800' 'u8d8aau8d8bau8db8cu8db8cu8d8b1 u8d8acu8d987u8d8aa u8d8acu8d8b9u8d8a8u8d987u8d994 u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4' 'u8d8aau8d8bau8db8cu8db8cu8d8b1u8d8acu8d987u8d8aa' 'toggle diru800' ; * u8d9beu8db8cu8d988u8d986u8d8af u8d8afu8d8b1u8d988u8d986u8db8c * toolsu82ewikilink buttongenerator function inserttags ' ' ' ' 'u8d985u8d982u8d8a7u8d984u8d987' ;   true ' uploadu82ewikimediau82eorgu800 wikipedia fau800 du800 d0u800 button_in_wikifyu82epngu800' 'u8d9beu8db8cu8d988u8d986u8d8af' 'u8d9beu8db8cu8d988u8d986u8d8af' 'wikify' ; * u8d985u8d8aau8d986 u8d8aeu8d8b7u8d8aeu8d988u8d8b1u8d8afu8d987 * toolsu82estriketextbutton buttongenerator function inserttags ' ' ' ' 'u8d985u8d8aau8d986 u8d8aeu8d8b7 u8d8aeu8d988u8d8b1u8d8afu8d987' ;   true ' uploadu82ewikimediau82eorgu800 wikipedia commons cu800 c9u800 button_strikeu82epngu800' 'u8d985u8d8aau8d986 u8d8aeu8d8b7 u200cu8d8aeu8d988u8d8b1u8d8afu8d987' 'u8d985u8d8aau8d986 u8d8aeu8d8b7 u200cu8d8aeu8d988u8d8b1u8d8afu8d987' 'strike' ; * u8d8aau8d988u8d8b6u8db8cu8d8ad * toolsu82ecommentbutton buttongenerator function inserttags ' ' ' ' 'u8d8aau8d988u8d8b6u8db8cu8d8ad' ;   true ' uploadu82ewikimediau82eorgu800 wikipedia commons 3u800 34u800 button_hide_commentu82epngu800' 'u8d8aau8d988u8d8b6u8db8cu8d8ad' 'u8d8aau8d988u8d8b6u8db8cu8d8ad' 'hide comment' ; * u8d985u8d984u8d8b2u8d988u8d985u8d8a7u8d8aa u8d985u8d982u8d8a7u8d984u8d987 * toolsu82eaddessentialthings buttongenerator function inserttags ' u8d8acu8d8b3u8d8aau8d8a7u8d8b1u8d987u8d8a7u8db8c u8d988u8d8a7u8d8a8u8d8b3u8d8aau8d987 nu800 nu800 u8d985u8d986u8d8a7u8d8a8u8d8b9 nu800 ' ' u8d9beu8d8a7u8d986u8d988u8db8cu8d8b3 '     ;   true ' uploadu82ewikimediau82eorgu800 wikipedia commons eu800 efu800 add_noteu82ejpgu800' 'u8d985u8d984u8d8b2u8d988u8d985u8d8a7u8d8aa u8d985u8d982u8d8a7u8d984u8d987' 'u8d985u8d984u8d8b2u8d988u8d985u8d8a7u8d8aa u8d985u8d982u8d8a7u8d984u8d987' 'addu800 note' ; * u8d8aeu8d988u8d8b4u8d8a7u8d985u8d8afu8db8cu8d8af * toolsu82ewelcome buttongenerator function inserttags ' ' ' ' 'u8d8acu8d8a7 u8d8aeu8d988u8d8b4u8d8a7u8d985u8d8af ' ' '     ; 'u8d8aeu8d988u8d8b4u8d8a7u8d985u8d8afu8daafu8d988u8db8cu8db8c' true ' uploadu82ewikimediau82eorgu800 wikipedia commons 4u800 4au800 smilies_alien_coolu82epngu800' 'u8d8aeu8d988u8d8b4u8d8a7u8d985u8d8afu8daafu8d988u8db8cu8db8c' 'u8d8aeu8d988u8d8b4u8d8a7u8d985u8d8af' 'alien cool' ; * u8da86u8d9beu8da86u8db8cu8d986 * toolsu82echapchin buttongenerator function inserttags ' ' ' u8da86u8d9be u200cu8da86u8db8cu8d986 nu800' ' nu800 ' ' u8d9beu8d8a7u8db8cu8d8a7u8d986 u8da86u8d9be u200cu8da86u8db8cu8d986 ' 'u8d985u8d8aau8d986 u8da86u8d9be u200cu8da86u8db8cu8d986 u200cu8d8b4u8d8afu8d987' ;   true ' uploadu82ewikimediau82eorgu800 wikipedia commons eu800 eau800 button_align_leftu82epngu800' 'u8da86u8d9be u200cu8da86u8db8cu8d986 u200cu8daa9u8d8b1u8d8afu8d986 u8d985u8d8aau8d986' 'u8da86u8d9be u200cu8da86u8db8cu8d986' 'align left' ; * u8d8a7u8d986u8d8afu8db8cu8d8b3 u8d8a8u8d8a7u8d984u8d8a7 * toolsu82euppertext buttongenerator function inserttags ' ' ' ' 'u8d8a7u8d986u8d8afu8db8cu8d8b3' ;   true ' uploadu82ewikimediau82eorgu800 wikipedia commons 6u800 6au800 button_sup_letteru82epngu800' 'u8d8a7u8d986u8d8afu8db8cu8d8b3 u8d8a8u8d8a7u8d984u8d8a7' 'u8d8a7u8d986u8d8afu8db8cu8d8b3 u8d8a8u8d8a7u8d984u8d8a7' 'upper letter' ; * u8d8a7u8d986u8d8afu8db8cu8d8b3 u8d9beu8d8a7u8db8cu8db8cu8d986 * toolsu82elowertext buttongenerator function inserttags ' ' ' ' 'u8d8a7u8d986u8d8afu8db8cu8d8b3' ;   true ' uploadu82ewikimediau82eorgu800 wikipedia commons au800 aau800 button_sub_letteru82epngu800' 'u8d8a7u8d986u8d8afu8db8cu8d8b3 u8d9beu8d8a7u8db8cu8db8cu8d986' 'u8d8a7u8d986u8d8afu8db8cu8d8b3 u8d9beu8d8a7u8db8cu8db8cu8d986' 'lower letter' ; * u8d8aau8d8bau8db8cu8db8cu8d8b1u8d985u8d8b3u8db8cu8d8b1 * toolsu82eredirectbutton buttongenerator function '#wptextbox1' .valu800   ; inserttags '#u8d8aau8d8bau8db8cu8db8cu8d8b1u8d985u8d8b3u8db8cu8d8b1 ' ' ' 'u8d9beu8db8cu8d988u8d986u8d8af' ;   true ' uploadu82ewikimediau82eorgu800 wikipedia commons cu800 c8u800 button_redirectu82epngu800' 'u8d8aau8d8bau8db8cu8db8cu8d8b1u8d985u8d8b3u8db8cu8d8b1' 'u8d8aau8d8bau8db8cu8db8cu8d8b1u8d985u8d8b3u8db8cu8d8b1' 'redirect' ; * u8d8b3u8d8a7u8d984 u8d985u8db8cu8d984u8d8a7u8d8afu8db8c * toolsu82egregyear buttongenerator function inserttags ' ' ' u8d985u8db8cu8d984u8d8a7u8d8afu8db8c ' 'u8d8b3u8d8a7u8d984' ;   true ' uploadu82ewikimediau82eorgu800 wikipedia fau800 au800 a7u800 button_calu82epngu800' 'u8d8b3u8d8a7u8d984 u8d985u8db8cu8d984u8d8a7u8d8afu8db8c' 'u8d985u8db8cu8d984u8d8a7u8d8afu8db8c' 'calu800' ; * u8d985u8d8b1u8d8aau8d8a8u8d8b3u8d8a7u8d8b2u8db8c * toolsu82esorttext buttongenerator function applyonselection persiantoolsu82epersiansorttext ;   true ' uploadu82ewikimediau82eorgu800 wikipedia fau800 3u800 33u800 button_sortu82epngu800' 'u8d985u8d8b1u8d8aau8d8a8 u200cu8d8b3u8d8a7u8d8b2u8db8c u8d8a8u8d8b1 u8d8a7u8d8b3u8d8a7u8d8b3 u8d8a7u8d984u8d981u8d8a8u8d8a7' 'u8d985u8d8b1u8d8aau8d8a8 u200cu8d8b3u8d8a7u8d8b2u8db8c' 'sort' ; * u8d8b4u8d8af * toolsu82eshod buttongenerator function '#wptextbox1' .valu800 '#wptextbox1' .valu800 .trimright ' nu800 ' ' u8d8b4u8d8af ' ' ' ; 'u8d8b4u8d8af' true ' uploadu82ewikimediau82eorgu800 wikipedia commons 5u800 5bu800 button_checku82epngu800' 'u8d8b4u8d8af' 'u8d8b4u8d8af' 'check' ; * u8d8b9u8d8afu8d8af u8d8a7u8d986u8daafu8d984u8db8cu8d8b3u8db8c * toolsu82etoennumrobust buttongenerator function applyonselection persianwikitoolsu82erobusttoenglishdigits ; 'u8d8b9u8d8afu8d8af u8d8a7u8d986u8daafu8d984u8db8cu8d8b3u8db8c' false ' uploadu82ewikimediau82eorgu800 wikipedia commons fu800 f5u800 button_ennumu82epngu800' 'u8d8b9u8d8afu8d8af u8d8a7u8d986u8daafu8d984u8db8cu8d8b3u8db8c' 'u8d8b9u8d8afu8d8af u8d8a7u8d986u8daafu8d984u8db8cu8d8b3u8db8c' 'toennumberrobust' ; * u8d8adu8d8b0u8d981 u8d988u8db8cu8daa9u8db8cu8e2808cu8d8b3u8d8a7u8d8b2u8db8c * toolsu82eremovewiki buttongenerator function applyonselection persianwikitoolsu82eremovewikisigne ; 'u8d8adu8d8b0u8d981 u8d988u8db8cu8daa9u8db8cu8e2808cu8d8b3u8d8a7u8d8b2u8db8c' false ' uploadu82ewikimediau82eorgu800 wikipedia fau800 8u800 88u800 button_nowikiu82epngu800' 'u8d8adu8d8b0u8d981 u8d988u8db8cu8daa9u8db8cu8e2808cu8d8b3u8d8a7u8d8b2u8db8c' 'u8d8adu8d8b0u8d981 u8d988u8db8cu8daa9u8db8cu8e2808cu8d8b3u8d8a7u8d8b2u8db8c' 'removewiki' ; function ifu800 typeof arrayu82eprototypeu82eincludes 'function' mwu800u82elogu800u82eerror 'script notu800 supported byu800 browser.' return; u8daa9u8d8af u8d985u8d986u8d8a7u8d8b3u8d8a8 u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4u8daafu8d8b1 u8d8acu8d8afu8db8cu8d8af u8d985u8d8aau8d986u8db8c *mwu800u82ehook 'veu800u82eactivationcomplete' .addu800 function varu800 surface veu800u82einitu82etargetu82egetsurface ; ifu800 surfaceu82egetmode 'source' '#firstheading' .append ' ' srcu800 ' uploadu82ewikimediau82eorgu800 wikipedia fau800 fu800 fcu800 button_super_toolu82epngu800' .click function '.veu800 ceu800 contentbranchnode' .getu800 .foreach function xu800 xu800u82einnertext persianwikitoolsu82esupertool xu800u82einnertext ; ; ; ;* varu800 extraeditbuttons extramovebuttons space ' '; extraeditbuttons extraeditbuttonsu82econcat toolsu82etoggledirection space toolsu82eykarabic toolsu82ezwnj toolsu82eapplyorthography toolsu82edigu800 toolsu82epunc toolsu82edictation toolsu82esupertool space toolsu82eurlfix toolsu82efixbadlinks space toolsu82ewelcome toolsu82eaddessentialthings toolsu82enosource toolsu82esusu800 toolsu82etone toolsu82ewikify toolsu82eshod toolsu82ecleanup toolsu82espeedydel toolsu82eprod space toolsu82eredirectbutton toolsu82egregyear toolsu82estriketextbutton toolsu82echapchin toolsu82ecommentbutton space toolsu82esorttext space toolsu82epiccopy toolsu82epicsource space toolsu82etoennumrobust ; varu800 usergroups mwu800u82econfigu82egetu800 'wgusergroups ; u8d8b4u8d8b1u8d8b7 u8d8a8u8d8b1u8d8a7u8db8c u8daa9u8d8a7u8d8b1u8d8a8u8d8b1u8db8c u8daa9u8d987 u8daafu8d8b4u8d8aa u8d8aeu8d988u8d8afu8daa9u8d8a7u8d8b1 u8d8afu8d8a7u8d8b1u8d8af u8d8a7u8d8a8u8d8b2u8d8a7u8d8b1 u8d8adu8d8b0u8d981 u8d8a7u8d984u8daafu8d988u8d987u8d8a7u8db8c u8d986u8d8a7u8d985u8d988u8d8acu8d988u8d8af ifu800 usergroupsu82eincludes 'autopatrolled' usergroupsu82eincludes 'eliminator' usergroupsu82eincludes 'sysop' extraeditbuttons extraeditbuttonsu82econcat toolsu82eremovewiki ; extraeditbuttons extraeditbuttonsu82econcat space .concat windowu82eusercustomeditbuttons ; extramovebuttons extramovebuttonsu82econcat toolsu82esupertoolmove space toolsu82etoggledirection space toolsu82eykarabic toolsu82ezwnj toolsu82eapplyorthography toolsu82edigmove toolsu82epunc space toolsu82edictation ; '#persian wiki tools .remove ; ifu800 '#wptextbox1' .length ' ' idu800 'persian wiki tools diru800 'rtlu800' style 'float right;' .append extraeditbuttons .insertbefore '#wptextbox1' ; else ifu800 '#movepage' .length ' ' idu800 'persian wiki tools .append extramovebuttons .insertafter '#wpnewtitle' ; ; jquery mediawiki ; 