 function * **************************************** *** twinklebatchprotectu82ejsu800 batch protect module sysops only **************************************** * mode ofu800 invocation tabu800 "pu800 batch" * active onu800 existing project pages andu800 user pages; existing andu800 * nonu800 existing categories; special prefixindex * twinkleu82ebatchprotect function twinklebatchprotect ifu800 morebitsu82euserissysop && mwu800u82econfigu82egetu800 'wgarticleid' 0u800 && mwu800u82econfigu82egetu800 'wgnamespacenumber' 2u800 mwu800u82econfigu82egetu800 'wgnamespacenumber' 4u800 mwu800u82econfigu82egetu800 'wgnamespacenumber' 14u800 mwu800u82econfigu82egetu800 'wgcanonicalspecialpagename' 'prefixindex' twinkleu82eaddportletlink twinkleu82ebatchprotectu82ecallback 'u8d985u8d8adu8d8a7u8d981u8d8b8u8d8aa u8d8afu8d8b3u8d8aau8d987u8e2808cu8d8acu8d985u8d8b9u8db8c' 'twu800 pbatch' 'u8d985u8d8adu8d8a7u8d981u8d8b8u8d8aa u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7u8db8cu8db8c u8daa9u8d987 u8d8a7u8d8b2 u8d8a7u8db8cu8d986 u8d8b5u8d981u8d8adu8d987 u8d9beu8db8cu8d988u8d986u8d8af u8d8afu8d8a7u8d8b1u8d986u8d8af' ; localized ; twinkleu82ebatchprotectu82eunlinkcache ; twinkleu82ebatchprotectu82ecallback function twinklebatchprotectcallback varu800 window newu800 morebitsu82esimplewindow 600u800 400u800 ; windowu82esettitle 'u8d985u8d8adu8d8a7u8d981u8d8b8u8d8aa u8d8afu8d8b3u8d8aau8d987u8e2808cu8d8acu8d985u8d8b9u8db8c' ; localized windowu82esetscriptname 'u8d8aau8d988u8db8cu8d986u8daa9u8d984' ; localized windowu82eaddfooterlink 'u8d8b3u8db8cu8d8a7u8d8b3u8d8aa u8d8adu8d981u8d8a7u8d8b8u8d8aa u8d8a7u8d8b2 u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7' 'u8d988u8d9be u8d8adu8d981u8d8a7u8d8b8u8d8aa' ; localized windowu82eaddfooterlink 'u8d8b1u8d8a7u8d987u8d986u8d985u8d8a7u8db8c u8d8aau8d988u8db8cu8d986u8daa9u8d984' 'enu800 wpu800 twu800 docu800#protect' ; localized varu800 form newu800 morebitsu82equickform twinkleu82ebatchprotectu82ecallbacku82eevaluate ; formu82eappend type 'checkbox' name 'editmodify' event twinkleu82eprotectu82eformeventsu82eeditmodify list label 'u8d8aau8d8bau8db8cu8db8cu8d8b1 u8d8adu8d981u8d8a7u8d8b8u8d8aa u8d8afu8d8b1 u8d8a8u8d8b1u8d8a7u8d8a8u8d8b1 u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4' localized value 'editmodify' tooltip 'u8d981u8d982u8d8b7 u8d8a8u8d8b1u8d8a7u8db8c u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7u8db8c u8d8a7u8d8b2 u8d9beu8db8cu8d8b4 u8d985u8d988u8d8acu8d988u8d8af.' localized checked true ; varu800 editlevel formu82eappend type 'select' name 'editlevel' label 'u8d8adu8d981u8d8a7u8d8b8u8d8aa u8d8afu8d8b1 u8d8a8u8d8b1u8d8a7u8d8a8u8d8b1 u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4 ' localized event twinkleu82eprotectu82eformeventsu82eeditlevel ; editlevelu82eappend type 'option' label 'u8d987u8d985u8d987' localized value 'allu800' ; editlevelu82eappend type 'option' label 'u8d8aau8d8a3u8db8cu8db8cu8d8afu8d8b4u8d8afu8d987u8d994 u8d8aeu8d988u8d8afu8daa9u8d8a7u8d8b1' localized value 'autoconfirmed' ; editlevelu82eappend type 'option' label 'u8d8aau8d8a3u8db8cu8db8cu8d8afu8d8b4u8d8afu8d987u8d994 u8d9beu8d8a7u8db8cu8d8afu8d8a7u8d8b1' localized value 'extendedconfirmed' ; editlevelu82eappend type 'option' label 'u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4u8daafu8d8b1 u8d8a7u8d984u8daafu8d988' localized value 'templateeditor' ; editlevelu82eappend type 'option' label 'u8d985u8d8afu8db8cu8d8b1' localized value 'sysop' selected true ; formu82eappend type 'select' name 'editexpiry' label 'u8d8b2u8d985u8d8a7u8d986 u8d8b3u8d8b1u8d8a2u8d985u8d8afu8d986 ' localized event function eu800 ifu800 eu800u82etargetu82evalue 'custom' twinkleu82eprotectu82edocustomexpiry eu800u82etarget ; list label 'u8dbb1 u8d8b3u8d8a7u8d8b9u8d8aa' value '1u800 hour' localized label 'u8dbb2 u8d8b3u8d8a7u8d8b9u8d8aa' value '2u800 hours localized label 'u8dbb3 u8d8b3u8d8a7u8d8b9u8d8aa' value '3u800 hours localized label 'u8dbb6 u8d8b3u8d8a7u8d8b9u8d8aa' value '6u800 hours localized label 'u8dbb1u8dbb2 u8d8b3u8d8a7u8d8b9u8d8aa' value '12u800 hours localized label 'u8dbb1 u8d8b1u8d988u8d8b2' value '1u800 dayu800' localized label 'u8dbb2 u8d8b1u8d988u8d8b2' selected true value '2u800 days localized label 'u8dbb3 u8d8b1u8d988u8d8b2' value '3u800 days localized label 'u8dbb4 u8d8b1u8d988u8d8b2' value '4u800 days localized label 'u8dbb1 u8d987u8d981u8d8aau8d987' value '1u800 week' localized label 'u8dbb2 u8d987u8d981u8d8aau8d987' value '2u800 weeks localized label 'u8dbb1 u8d985u8d8a7u8d987' value '1u800 month' localized label 'u8dbb2 u8d985u8d8a7u8d987' value '2u800 months localized label 'u8dbb3 u8d985u8d8a7u8d987' value '3u800 months localized label 'u8dbb1 u8d8b3u8d8a7u8d984' value '1u800 year' localized label 'u8d8a8u8db8cu8e2808cu8d9beu8d8a7u8db8cu8d8a7u8d986' value 'indefinite' localized label 'u8d8b3u8d981u8d8a7u8d8b1u8d8b4u8db8c...' value 'custom' localized ; formu82eappend type 'checkbox' name 'movemodify' event twinkleu82eprotectu82eformeventsu82emovemodify list label 'u8d8aau8d8bau8db8cu8db8cu8d8b1 u8d8adu8d981u8d8a7u8d8b8u8d8aa u8d8afu8d8b1 u8d8a8u8d8b1u8d8a7u8d8a8u8d8b1 u8d8a7u8d986u8d8aau8d982u8d8a7u8d984' localized value 'movemodify' tooltip 'u8d981u8d982u8d8b7 u8d8a8u8d8b1u8d8a7u8db8c u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7u8db8c u8d8a7u8d8b2 u8d9beu8db8cu8d8b4 u8d985u8d988u8d8acu8d988u8d8af.' localized checked true ; varu800 movelevel formu82eappend type 'select' name 'movelevel' label 'u8d8adu8d981u8d8a7u8d8b8u8d8aa u8d8afu8d8b1 u8d8a8u8d8b1u8d8a7u8d8a8u8d8b1 u8d8a7u8d986u8d8aau8d982u8d8a7u8d984 ' localized event twinkleu82eprotectu82eformeventsu82emovelevel ; movelevelu82eappend type 'option' label 'u8d987u8d985u8d987' localized value 'allu800' ; movelevelu82eappend type 'option' label 'u8d8aau8d8a3u8db8cu8db8cu8d8afu8d8b4u8d8afu8d987u8d994 u8d9beu8d8a7u8db8cu8d8afu8d8a7u8d8b1' localized value 'extendedconfirmed' ; movelevelu82eappend type 'option' label 'u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4u8daafu8d8b1 u8d8a7u8d984u8daafu8d988' localized value 'templateeditor' ; movelevelu82eappend type 'option' label 'u8d985u8d8afu8db8cu8d8b1' localized value 'sysop' selected true ; formu82eappend type 'select' name 'moveexpiry' label 'u8d8b2u8d985u8d8a7u8d986 u8d8b3u8d8b1u8d8a2u8d985u8d8afu8d986 ' localized event function eu800 ifu800 eu800u82etargetu82evalue 'custom' twinkleu82eprotectu82edocustomexpiry eu800u82etarget ; list label 'u8dbb1 u8d8b3u8d8a7u8d8b9u8d8aa' value '1u800 hour' localized label 'u8dbb2 u8d8b3u8d8a7u8d8b9u8d8aa' value '2u800 hours localized label 'u8dbb3 u8d8b3u8d8a7u8d8b9u8d8aa' value '3u800 hours localized label 'u8dbb6 u8d8b3u8d8a7u8d8b9u8d8aa' value '6u800 hours localized label 'u8dbb1u8dbb2 u8d8b3u8d8a7u8d8b9u8d8aa' value '12u800 hours localized label 'u8dbb1 u8d8b1u8d988u8d8b2' value '1u800 dayu800' localized label 'u8dbb2 u8d8b1u8d988u8d8b2' selected true value '2u800 days localized label 'u8dbb3 u8d8b1u8d988u8d8b2' value '3u800 days localized label 'u8dbb4 u8d8b1u8d988u8d8b2' value '4u800 days localized label 'u8dbb1 u8d987u8d981u8d8aau8d987' value '1u800 week' localized label 'u8dbb2 u8d987u8d981u8d8aau8d987' value '2u800 weeks localized label 'u8dbb1 u8d985u8d8a7u8d987' value '1u800 month' localized label 'u8dbb2 u8d985u8d8a7u8d987' value '2u800 months localized label 'u8dbb3 u8d985u8d8a7u8d987' value '3u800 months localized label 'u8dbb1 u8d8b3u8d8a7u8d984' value '1u800 year' localized label 'u8d8a8u8db8cu8e2808cu8d9beu8d8a7u8db8cu8d8a7u8d986' value 'indefinite' localized label 'u8d8b3u8d981u8d8a7u8d8b1u8d8b4u8db8c...' value 'custom' localized ; formu82eappend type 'checkbox' name 'createmodify' event function twinklebatchprotectformcreatemodifyevent eu800 eu800u82etargetu82eformu82ecreatelevelu82edisabled eu800u82etargetu82echecked; eu800u82etargetu82eformu82ecreateexpiryu82edisabled eu800u82etargetu82echecked eu800u82etargetu82eformu82ecreatelevelu82evalue 'allu800' ; eu800u82etargetu82eformu82ecreatelevelu82estyleu82ecolor eu800u82etargetu82eformu82ecreateexpiryu82estyleu82ecolor eu800u82etargetu82echecked   'transparent'; list label 'u8d8aau8d8bau8db8cu8db8cu8d8b1 u8d8adu8d981u8d8a7u8d8b8u8d8aa u8d8afu8d8b1 u8d8a8u8d8b1u8d8a7u8d8a8u8d8b1 u8d8a7u8db8cu8d8acu8d8a7u8d8af' localized value 'createmodify' tooltip 'u8d981u8d982u8d8b7 u8d8a8u8d8b1u8d8a7u8db8c u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7u8db8cu8db8c u8daa9u8d987 u8d985u8d988u8d8acu8d988u8d8af u8d986u8db8cu8d8b3u8d8aau8d986u8d8af.' localized checked true ; varu800 createlevel formu82eappend type 'select' name 'createlevel' label 'u8d8adu8d981u8d8a7u8d8b8u8d8aa u8d8afu8d8b1 u8d8a8u8d8b1u8d8a7u8d8a8u8d8b1 u8d8a7u8db8cu8d8acu8d8a7u8d8af ' localized event twinkleu82eprotectu82eformeventsu82ecreatelevel ; createlevelu82eappend type 'option' label 'u8d987u8d985u8d987' localized value 'allu800' ; createlevelu82eappend type 'option' label 'u8d8aau8d8a3u8db8cu8db8cu8d8afu8d8b4u8d8afu8d987 u8d8aeu8d988u8d8afu8daa9u8d8a7u8d8b1' localized value 'autoconfirmed' ; createlevelu82eappend type 'option' label 'u8d8aau8d8a3u8db8cu8db8cu8d8afu8d8b4u8d8afu8d987 u8d9beu8d8a7u8db8cu8d8afu8d8a7u8d8b1' localized value 'extendedconfirmed' ; createlevelu82eappend type 'option' label 'u8d988u8db8cu8d8b1u8d8a7u8db8cu8d8b4u8daafu8d8b1 u8d8a7u8d984u8daafu8d988' localized value 'templateeditor' ; createlevelu82eappend type 'option' label 'u8d985u8d8afu8db8cu8d8b1' localized value 'sysop' selected true ; formu82eappend type 'select' name 'createexpiry' label 'u8d8b2u8d985u8d8a7u8d986 u8d8b3u8d8b1u8d8a2u8d985u8d8afu8d986 ' localized event function eu800 ifu800 eu800u82etargetu82evalue 'custom' twinkleu82eprotectu82edocustomexpiry eu800u82etarget ; list label 'u8dbb1 u8d8b3u8d8a7u8d8b9u8d8aa' value '1u800 hour' localized label 'u8dbb2 u8d8b3u8d8a7u8d8b9u8d8aa' value '2u800 hours localized label 'u8dbb3 u8d8b3u8d8a7u8d8b9u8d8aa' value '3u800 hours localized label 'u8dbb6 u8d8b3u8d8a7u8d8b9u8d8aa' value '6u800 hours localized label 'u8dbb1u8dbb2 u8d8b3u8d8a7u8d8b9u8d8aa' value '12u800 hours localized label 'u8dbb1 u8d8b1u8d988u8d8b2' value '1u800 dayu800' localized label 'u8dbb2 u8d8b1u8d988u8d8b2' value '2u800 days localized label 'u8dbb3 u8d8b1u8d988u8d8b2' value '3u800 days localized label 'u8dbb4 u8d8b1u8d988u8d8b2' value '4u800 days localized label 'u8dbb1 u8d987u8d981u8d8aau8d987' value '1u800 week' localized label 'u8dbb2 u8d987u8d981u8d8aau8d987' value '2u800 weeks localized label 'u8dbb1 u8d985u8d8a7u8d987' value '1u800 month' localized label 'u8dbb2 u8d985u8d8a7u8d987' value '2u800 months localized label 'u8dbb3 u8d985u8d8a7u8d987' value '3u800 months localized label 'u8dbb1 u8d8b3u8d8a7u8d984' value '1u800 year' localized label 'u8d8a8u8db8cu8e2808cu8d9beu8d8a7u8db8cu8d8a7u8d986' selected true value 'indefinite' localized label 'u8d8b3u8d981u8d8a7u8d8b1u8d8b4u8db8c...' value 'custom' localized ; formu82eappend type 'header' label   horizontal rule ; formu82eappend type 'input' name 'reason' label 'u8d8afu8d984u8db8cu8d984 ' localized size 60u800 tooltip 'u8d8a8u8d8b1u8d8a7u8db8c u8d8b3u8db8cu8d8a7u8d987u8d987u8d994 u8d8adu8d981u8d8a7u8d8b8u8d8aa u8d988 u8d8aau8d8a7u8d8b1u8db8cu8d8aeu8da86u8d987u8d994 u8d8b5u8d981u8d8adu8d987.' localized ; varu800 query 'action' 'query' 'prop' 'revisions info' 'rvprop' 'size' 'inprop' 'protection' ; ifu800 mwu800u82econfigu82egetu800 'wgnamespacenumber' 14u800 categories queryu82egenerator 'categorymembers'; queryu82egcmtitle mwu800u82econfigu82egetu800 'wgpagename' ; queryu82egcmlimit twinkleu82egetpref 'batchmax' ; else ifu800 mwu800u82econfigu82egetu800 'wgcanonicalspecialpagename' 'prefixindex' queryu82egenerator 'allpages'; queryu82egapnamespace mwu800u82eutilu82egetparamvalue 'namespace' 'select name namespace ' .valu800 ; queryu82egapprefix mwu800u82eutilu82egetparamvalue 'prefix' 'input name prefix ' .valu800 ; queryu82egaplimit twinkleu82egetpref 'batchmax' ; else queryu82egenerator 'links'; queryu82etitles mwu800u82econfigu82egetu800 'wgpagename' ; queryu82egpllimit twinkleu82egetpref 'batchmax' ; varu800 statusdiv documentu82ecreateelement 'divu800' ; statusdivu82estyleu82epadding '15px'; just sou800 itu800 doesn'tu800 look broken windowu82esetcontent statusdiv ; morebitsu82estatusu82einit statusdiv ; windowu82edisplay ; varu800 statelem newu800 morebitsu82estatus 'u8daafu8d8b1u8d981u8d8aau8d986 u8d981u8d987u8d8b1u8d8b3u8d8aa u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7' ; localized varu800 wikipedia_api newu800 morebitsu82ewikiu82eapiu800 'u8d8afu8d8b1 u8d8adu8d8a7u8d984 u8d8a8u8d8a7u8d8b1u8daafu8db8cu8d8b1u8db8c...' query function apiobj localized varu800 xmlu800 apiobju82eresponsexml; varu800 pages xmlu800 .find 'page' ; varu800 list ; pagesu82eeach function index page varu800 page page ; varu800 title pageu82eattr 'title' ; varu800 isredir pageu82eattr 'redirect'  ; xxxu800 varu800 missing pageu82eattr 'missing'  ; xxxu800 varu800 size pageu82efind 'revu800' .attr 'size' ; varu800 editprot; varu800 metadata ; ifu800 missing metadatau82epush 'u8d8b5u8d981u8d8adu8d987u8d994 u8d986u8d8a7u8d985u8d988u8d8acu8d988u8d8af' ; localized editprot pageu82efind 'pru800 type "create" level "sysop" ' ; else ifu800 isredir metadatau82epush 'u8d8aau8d8bau8db8cu8db8cu8d8b1u8d985u8d8b3u8db8cu8d8b1' ; localized metadatau82epush mwu800u82elanguageu82econvertnumber size ' u8d8a8u8d8a7u8db8cu8d8aa' ; localized editprot pageu82efind 'pru800 type "edit" level "sysop" ' ; ifu800 editprotu82elength 0u800 metadatau82epush 'u8d985u8d8adu8d8a7u8d981u8d8b8u8d8aa u8daa9u8d8a7u8d985u8d984' missing ' u8d8afu8d8b1 u8d8a8u8d8b1u8d8a7u8d8a8u8d8b1 u8d8a7u8db8cu8d8acu8d8a7u8d8af'   localized editprotu82eattr 'expiry' 'infinity' ' u8d8a8u8db8cu8e2808cu8d9beu8d8a7u8db8cu8d8a7u8d986' 'u8d88c u8d8b3u8d8b1u8d8a2u8d985u8d8afu8d986 u8d8afu8d8b1 ' newu800 morebitsu82edate editprotu82eattr 'expiry' .calendar 'utcu800' ' utcu800 ' ; localized listu82epush label title metadatau82elength ' ' metadatau82ejoin '; ' ' '   value title checked true style editprotu82elength 0u800 'color redu800'   ; ; formu82eappend type 'header' label 'u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7u8db8cu8db8c u8daa9u8d987 u8d985u8d8adu8d8a7u8d981u8d8b8u8d8aa u8d8aeu8d988u8d8a7u8d987u8d986u8d8af u8d8b4u8d8af' ; localized formu82eappend type 'button' label 'u8d8a7u8d986u8d8aau8d8aeu8d8a7u8d8a8 u8d987u8d985u8d987' localized event function eu800 morebitsu82equickformu82egetelements eu800u82etargetu82eform 'pages .prop 'checked' true ; ; formu82eappend type 'button' label 'u8d8a7u8d986u8d8aau8d8aeu8d8a7u8d8a8 u8d987u8db8cu8da86u8e2808cu8daa9u8d8afu8d8a7u8d985' localized event function eu800 morebitsu82equickformu82egetelements eu800u82etargetu82eform 'pages .prop 'checked' false ; ; formu82eappend type 'checkbox' name 'pages list list ; formu82eappend type 'submit' ; varu800 result formu82erender ; windowu82esetcontent result ; morebitsu82echeckboxshiftclicksupport morebitsu82equickformu82egetelements result 'pages ; statelem ; wikipedia_apiu82epost ; ; twinkleu82ebatchprotectu82ecurrentprotectcounter 0u800; twinkleu82ebatchprotectu82ecurrentprotector 0u800; twinkleu82ebatchprotectu82ecallbacku82eevaluate function twinklebatchprotectcallbackevaluate event morebitsu82ewikiu82eactioncompletedu82enotice 'u8d985u8d8adu8d8a7u8d981u8d8b8u8d8aa u8d8afu8d8b3u8d8aau8d987u8e2808cu8d8acu8d985u8d8b9u8db8c u8daa9u8d8a7u8d985u8d984 u8d8b4u8d8af'; localized varu800 form eventu82etarget; varu800 numprotected morebitsu82equickformu82egetelements form 'pages .filter function index element return elementu82echecked && elementu82enextelementsiblingu82estyleu82ecolor 'redu800'; .length; ifu800 numprotected 0u800 && confirm 'u8d8b4u8d985u8d8a7 u8d8afu8d8b1 u8d8adu8d8a7u8d984 u8d8a7u8d8b9u8d985u8d8a7u8d984 u8d8aau8d8bau8db8cu8db8cu8d8b1u8d8a7u8d8aa u8d8a8u8d8b1 u8d8b1u8d988u8db8c' mwu800u82elanguageu82econvertnumber numprotected ' u8d8b5u8d981u8d8adu8d987u8d994 u8daa9u8d8a7u8d985u8d984u8d8a7u8d98b u8d8adu8d981u8d8a7u8d8b8u8d8aau8e2808cu8d8b4u8d8afu8d987 u8d987u8d8b3u8d8aau8db8cu8d8af. u8d8a2u8db8cu8d8a7 u8d985u8d8b7u8d985u8d8a6u8d986 u8d987u8d8b3u8d8aau8db8cu8d8afu8d89f' localized return; varu800 pages formu82egetchecked 'pages ; varu800 reason formu82ereasonu82evalue; varu800 editmodify formu82eeditmodifyu82echecked; varu800 editlevel formu82eeditlevelu82evalue; varu800 editexpiry formu82eeditexpiryu82evalue; varu800 movemodify formu82emovemodifyu82echecked; varu800 movelevel formu82emovelevelu82evalue; varu800 moveexpiry formu82emoveexpiryu82evalue; varu800 createmodify formu82ecreatemodifyu82echecked; varu800 createlevel formu82ecreatelevelu82evalue; varu800 createexpiry formu82ecreateexpiryu82evalue; ifu800 reason alert "u8d8a8u8d8a7u8db8cu8d8af u8d8afu8d984u8db8cu8d984u8db8c u8d8a8u8d8b1u8d8a7u8db8c u8daa9u8d8a7u8d8b1u8d8aau8d8a7u8d986 u8d8a7u8d8b1u8d8a7u8d8a6u8d987 u8daa9u8d986u8db8cu8d8af " ; localized return; morebitsu82esimplewindowu82esetbuttonsenabled false ; morebitsu82estatusu82einit form ; ifu800 pages morebitsu82estatusu82eerror 'error' 'u8da86u8db8cu8d8b2u8db8c u8d8a8u8d8b1u8d8a7u8db8c u8d8adu8d981u8d8a7u8d8b8u8d8aa u8d985u8d988u8d8acu8d988u8d8af u8d986u8db8cu8d8b3u8d8aau8d89b u8d8afu8d8b1 u8d8adu8d8a7u8d984 u8d984u8d8bau8d988 u8daa9u8d8b1u8d8afu8d986' ; localized return; varu800 batchoperation newu800 morebitsu82ebatchoperation 'u8d8a7u8d8b9u8d985u8d8a7u8d984 u8d8aau8d986u8d8b8u8db8cu8d985u8d8a7u8d8aa u8d985u8d8adu8d8a7u8d981u8d8b8u8d8aa' ; localized batchoperationu82esetoption 'chunksize' twinkleu82egetpref 'batchprotectchunks ; batchoperationu82esetoption 'preserveindividualstatuslines true ; batchoperationu82esetpagelist pages ; batchoperationu82erunu800 function pagename varu800 query 'action' 'query' 'titles pagename ; varu800 wikipedia_api newu800 morebitsu82ewikiu82eapiu800 'u8d8a8u8d8b1u8d8b1u8d8b3u8db8c u8d985u8d988u8d8acu8d988u8d8af u8d8a8u8d988u8d8afu8d986 u8d8b5u8d981u8d8adu8d987u8d994 ' pagename query localized twinkleu82ebatchprotectu82ecallbacksu82emain null batchoperationu82eworkerfailure ; wikipedia_apiu82eparams page pagename reason reason editmodify editmodify editlevel editlevel editexpiry editexpiry movemodify movemodify movelevel movelevel moveexpiry moveexpiry createmodify createmodify createlevel createlevel createexpiry createexpiry batchoperation batchoperation ; wikipedia_apiu82epost ; ; ; twinkleu82ebatchprotectu82ecallbacks main function apiobj varu800 xmlu800 apiobju82eresponsexml; varu800 normal xmlu800 .find 'normalized nu800' .attr 'tou800' ; ifu800 normal apiobju82eparamsu82epage normal; varu800 exists xmlu800 .find 'page' .attr 'missing'  ; varu800 page newu800 morebitsu82ewikiu82epage apiobju82eparamsu82epage 'u8d985u8d8adu8d8a7u8d981u8d8b8u8d8aa ' apiobju82eparamsu82epage ; localized varu800 takenaction false; ifu800 exists && apiobju82eparamsu82eeditmodify pageu82eseteditprotection apiobju82eparamsu82eeditlevel apiobju82eparamsu82eeditexpiry ; takenaction true; ifu800 exists && apiobju82eparamsu82emovemodify pageu82esetmoveprotection apiobju82eparamsu82emovelevel apiobju82eparamsu82emoveexpiry ; takenaction true; ifu800 exists && apiobju82eparamsu82ecreatemodify pageu82esetcreateprotection apiobju82eparamsu82ecreatelevel apiobju82eparamsu82ecreateexpiry ; takenaction true; ifu800 takenaction morebitsu82estatusu82ewarn 'u8d985u8d8adu8d8a7u8d981u8d8b8u8d8aa u8d8b5u8d981u8d8adu8d987u8d994 ' apiobju82eparamsu82epage 'u8d8a7u8d8b2 u8d9beu8db8cu8d8b4 u8d988u8d8acu8d988u8d8af ' exists 'u8d8afu8d8a7u8d8b1u8d8af' 'u8d986u8d8afu8d8a7u8d8b1u8d8af' 'u8d89b u8da86u8db8cu8d8b2u8db8c u8d8a8u8d8b1u8d8a7u8db8c u8d8a7u8d986u8d8acu8d8a7u8d985 u8d8afu8d8a7u8d8afu8d986 u8d8a8u8d8a7u8d982u8db8c u8d986u8d985u8d8a7u8d986u8d8afu8d987u8e2808cu8d8a7u8d8b3u8d8aa' ; localizing apiobju82eparamsu82ebatchoperationu82eworkerfailure apiobj ; return; pageu82eseteditsummary apiobju82eparamsu82ereason ; pageu82eprotect apiobju82eparamsu82ebatchoperationu82eworkersuccess apiobju82eparamsu82ebatchoperationu82eworkerfailure ; ; jquery ; 