 function * **************************************** *** twinkledeprodu82ejsu800 batch deletion ofu800 expired prods sysops only **************************************** * mode ofu800 invocation tabu800 "deprod" * active onu800 categories whose name contains "proposed_deletion" * twinkleu82edeprod function ifu800 morebitsu82euserissysop mwu800u82econfigu82egetu800 'wgnamespacenumber' 14u800 u8d8adu8d8b0u8d981_u8d8b2u8d985u8d8a7u8d986u8e2808cu8d8afu8d8a7u8d8b1 iu800 .test mwu800u82econfigu82egetu800 'wgpagename' localized return; twinkleu82eaddportletlink twinkleu82edeprodu82ecallback 'u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986u8d8afu8d8a7u8d8b1 u8d8afu8d8b3u8d8aau8d987u8e2808cu8d8acu8d985u8d8b9u8db8c' 'twu800 deprod' 'u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7u8db8c u8d8a7u8db8cu8d8acu8d8a7u8d8af u8d8b4u8d8afu8d987 u8d8afu8d8b1 u8d8a7u8db8cu8d986 u8d8b1u8d8afu8d987 u8d8b1u8d8a7 u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986u8d8afu8d8a7u8d8b1 u8daa9u8d986u8db8cu8d8af' ; localized ; varu800 concerns ; twinkleu82edeprodu82ecallback function varu800 window newu800 morebitsu82esimplewindow 800u800 400u800 ; windowu82esettitle 'u8d8a7u8d986u8d8acu8d8a7u8d985 u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986u8d8afu8d8a7u8d8b1' ; localized windowu82esetscriptname 'u8d8aau8d988u8db8cu8d986u8daa9u8d984' ; localized windowu82eaddfooterlink 'u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986u8d8afu8d8a7u8d8b1' 'u8d988u8d9be u8d8b2u8d985u8d8a7u8d986u8d8afu8d8a7u8d8b1' ; localized windowu82eaddfooterlink 'u8d8b1u8d8a7u8d987u8d986u8d985u8d8a7u8db8c u8d8aau8d988u8db8cu8d986u8daa9u8d984' 'enu800 wpu800 twu800 docu800#deprod' ; localized varu800 form newu800 morebitsu82equickform callback_commit ; varu800 statusdiv documentu82ecreateelement 'divu800' ; statusdivu82estyleu82epadding '15px'; just sou800 itu800 doesn'tu800 look broken windowu82esetcontent statusdiv ; morebitsu82estatusu82einit statusdiv ; windowu82edisplay ; varu800 query 'action' 'query' 'generator' 'categorymembers 'gcmtitle' mwu800u82econfigu82egetu800 'wgpagename' 'gcmlimit' 'maxu800' 500u800 isu800 maxu800 foru800 normal users 5000 foru800 bots andu800 sysops 'gcmnamespace' '0u800 6u800 108u800 2u800' mostly tou800 ignore categories 'prop' 'info' 'revisions 'rvprop' 'content' 'inprop' 'protection' ; varu800 statelem newu800 morebitsu82estatus 'u8daafu8d8b1u8d981u8d8aau8d986 u8d981u8d987u8d8b1u8d8b3u8d8aa u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7' ; localized varu800 wikipedia_api newu800 morebitsu82ewikiu82eapiu800 'u8d8afu8d8b1 u8d8adu8d8a7u8d984 u8d8a8u8d8a7u8d8b1u8daafu8db8cu8d8b1u8db8c...' query function apiobj localized varu800 docu800 apiobju82eresponsexml ; varu800 pages docu800u82efind 'page nsu800 "6u800" ' ; allu800 nonu800 files varu800 list ; varu800 reu800 u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986u8d8afu8d8a7u8d8b1 ; localized pagesu82eeach function varu800 page this ; varu800 title pageu82eattr 'title' ; varu800 content pageu82efind 'revisions revu800' .text ; varu800 editprot pageu82efind 'pru800 type "edit" level "sysop" ' ; varu800 isprotected editprotu82elength 0u800; varu800 metadata ; varu800 resu800 reu800u82eexec content ; ifu800 resu800 varu800 parsed morebitsu82ewikitextu82etemplateu82eparse content resu800u82eindex ; concerns title parsedu82eparameters 'u8d8a7u8d987u8d985u8db8cu8d8aa'  ; localized metadatau82epush concerns title ; ifu800 isprotected metadatau82epush 'u8d985u8d8adu8d8a7u8d981u8d8b8u8d8aa u8daa9u8d8a7u8d985u8d984' localized editprotu82eattr 'expiry' 'infinity' ' u8d8a8u8db8cu8e2808cu8d9beu8d8a7u8db8cu8d8a7u8d986' 'u8d88c u8d8a7u8d986u8d982u8d8b6u8d8a7 u8d8afu8d8b1 ' editprotu82eattr 'expiry' ; localized listu82epush label metadatau82elength ' ' metadatau82ejoin '; ' ' '   value title checked concerns title   style isprotected 'color redu800'   ; ; apiobju82eparamsu82eformu82eappend type 'header' label 'u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7 u8d8a8u8d8b1u8d8a7u8db8c u8d8adu8d8b0u8d981' ; localized apiobju82eparamsu82eformu82eappend type 'button' label 'u8d8a7u8d986u8d8aau8d8aeu8d8a7u8d8a8 u8d987u8d985u8d987' localized event function eu800 morebitsu82equickformu82egetelements eu800u82etargetu82eform 'pages .prop 'checked' true ; ; apiobju82eparamsu82eformu82eappend type 'button' label 'u8d8a7u8d986u8d8aau8d8aeu8d8a7u8d8a8 u8d987u8db8cu8da86u8e2808cu8daa9u8d8afu8d8a7u8d985' localized event function eu800 morebitsu82equickformu82egetelements eu800u82etargetu82eform 'pages .prop 'checked' false ; ; apiobju82eparamsu82eformu82eappend 'type' 'checkbox' 'name' 'pages 'list' list ; apiobju82eparamsu82eformu82eappend 'type' 'submit' ; varu800 rendered apiobju82eparamsu82eformu82erender ; apiobju82eparamsu82ewindowu82esetcontent rendered ; morebitsu82equickformu82egetelements rendered 'pages .each function index checkbox varu800 checkbox checkbox ; varu800 link morebitsu82ehtmlnode 'au800' checkboxu82evalu800 ; linku82esetattribute 'class 'deprod page link' ; linku82esetattribute 'href' mwu800u82eutilu82egeturl checkboxu82evalu800 ; linku82esetattribute 'target' '_blank' ; checkboxu82enext .prepend link ' ' ; ; statelem ; wikipedia_apiu82eparams form form window window ; wikipedia_apiu82epost ; ; varu800 callback_commit function event varu800 pages eventu82etargetu82egetchecked 'pages ; morebitsu82estatusu82einit eventu82etarget ; varu800 batchoperation newu800 morebitsu82ebatchoperation 'u8d8adu8d8b0u8d981 u8d8b5u8d981u8d8adu8d987u8e2808cu8d987u8d8a7' ; localized batchoperationu82esetoption 'chunksize' twinkleu82egetpref 'proddeletechunks ; batchoperationu82esetoption 'preserveindividualstatuslines true ; batchoperationu82esetpagelist pages ; batchoperationu82erunu800 function pagename varu800 params page pagename reason concerns page ; varu800 query 'action' 'query' 'titles pagename 'prop' 'redirects 'rdlimit' 'maxu800' 500u800 isu800 maxu800 foru800 normal users 5000 foru800 bots andu800 sysops ; varu800 wikipedia_api newu800 morebitsu82ewikiu82eapiu800 'u8d8afu8d8b1u8db8cu8d8a7u8d981u8d8aa u8d8aau8d8bau8db8cu8db8cu8d8b1u8d985u8d8b3u8db8cu8d8b1u8d987u8d8a7' query callback_deleteredirects ; localized wikipedia_apiu82eparams params; wikipedia_apiu82epost ; query 'action' 'query' 'titles 'u8d8a8u8d8adu8d8ab ' pagename ; wikipedia_api newu800 morebitsu82ewikiu82eapiu800 'u8d8a8u8d8b1u8d8b1u8d8b3u8db8c u8d8a7u8db8cu8d986 u8daa9u8d987 ' pagename ' u8d8b5u8d981u8d8adu8d987u8d994 u8d8a8u8d8adu8d8ab u8d8afu8d8a7u8d8b1u8d8af u8db8cu8d8a7 u8d986u8d987' query localized callback_deletetalk ; wikipedia_apiu82eparams params; wikipedia_apiu82epost ; varu800 page newu800 morebitsu82ewikiu82epage pagename 'u8d8afu8d8b1 u8d8adu8d8a7u8d984 u8d8adu8d8b0u8d981 u8d985u8d982u8d8a7u8d984u8d987u8e2808cu8d987u8d8a7 ' pagename ; localized pageu82eseteditsummary 'u8d8b3u8d8b1u8d8a2u8d985u8d8afu8d986 u8d988u8db8cu8daa9u8db8cu8e2808cu8d9beu8d8afu8db8cu8d8a7 u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986u8e2808cu8d8afu8d8a7u8d8b1 u8d8adu8d8b0u8d981 u8d8b2u8d985u8d8a7u8d986u8e2808cu8d8afu8d8a7u8d8b1 u8d88c u8d985u8d8b4u8daa9u8d984 u8d8b5u8d981u8d8adu8d987 ' concerns pagename undefined 'u8d986u8d8a7u8d985u8d8b4u8d8aeu8d8b5' concerns pagename twinkleu82egetpref 'deletionsummaryad' ; localized pageu82esuppressprotectwarning ; pageu82edeletepage batchoperationu82eworkersuccess batchoperationu82eworkerfailure ; ; callback_deletetalk function apiobj varu800 docu800 apiobju82eresponsexml ; varu800 exists docu800u82efind 'page notu800 missing ' .length 0u800; ifu800 exists nou800 talk page; forget about itu800 return; varu800 page newu800 morebitsu82ewikiu82epage 'talk ' apiobju82eparamsu82epage 'u8d8adu8d8b0u8d981 u8d8b5u8d981u8d8adu8d987u8d994 u8d8a8u8d8adu8d8ab ' apiobju82eparamsu82epage ; localized pageu82eseteditsummary ' u8d988u8d9be u8d985u8d8adu8d8b3#u8d8b9u8dbb8 u8d8b9u8dbb8 u8d8b1u8d8a7u8d987u8d986u8d985u8d8a7 u8d8b5u8d981u8d8adu8d987 u8d8a8u8d8adu8d8ab u8d8b5u8d981u8d8adu8d987u8d994 u8d8a8u8d8adu8d8ab u8d8b5u8d981u8d8adu8d987u8d994 u8d8adu8d8b0u8d981 u8d8b4u8d8afu8d987 u8c2ab' apiobju82eparamsu82epage 'u8c2bb' twinkleu82egetpref 'deletionsummaryad' ; localized pageu82edeletepage ; callback_deleteredirects function apiobj varu800 docu800 apiobju82eresponsexml ; docu800u82efind 'redirects rdu800' .each function varu800 title this .attr 'title' ; varu800 page newu800 morebitsu82ewikiu82epage title 'u8d8adu8d8b0u8d981 u8d8aau8d8bau8db8cu8db8cu8d8b1 u8d985u8d8b3u8db8cu8d8b1 u8d8b5u8d981u8d8adu8d987 ' title ; localized pageu82eseteditsummary ' u8d988u8d9be u8d985u8d8adu8d8b3#u8d8b9u8dbb8 u8d8b9u8dbb8 u8d8aau8d8bau8db8cu8db8cu8d8b1 u8d985u8d8b3u8db8cu8d8b1 u8d8a8u8d987 u8d8b5u8d981u8d8adu8d987u8d994 u8d8adu8d8b0u8d981 u8d8b4u8d8afu8d987 u8c2ab' apiobju82eparamsu82epage 'u8c2bb' twinkleu82egetpref 'deletionsummaryad' ; localized pageu82edeletepage ; ; ; jquery ; 