User:RonBot/Run2

See User:RonBot/Run3

Files in category:RonBotTest

Points to note.
 * File:Logo Politecnico Milano.png Has 2 old versions, both was RevDeleted. Program tried to RevDel both - but wiki ignores the request to RevDel a RevDel'ed image.
 * File:MirthaDermisacheNewsletter.jpg One to RevDel - all OK
 * File:National Basketball Federation Kazakhstan.png - already done, nothing to do, but program RevDel the RevDel'ed one (like 1 above)
 * File:New Hampshire Union Leader newspaper cover.jpg - I did a revert to the big image before running bot. It has done what it is supposed to do - done nothing and added to Category:Non-free files with orphaned versions more than 7 days old needing human review BUT it went over the top and added the line several times so we got }}}}}} }} - so it's adding for each image and it's adding extra double brackets (there are 4 there as I had already run it through once on it's own)
 * File:Nordlys.jpg - Another simple one (like 2) - all OK.

- For the bad attempts - I assume the fault is with The If statement is working but the del statement has no effect on the outcome.

For the other issue - I assume

Needs to be

And add no more brackets - but how to stop the multiple entries? - I assume we need to run "addmanual" and then abort out to next file name.

--

Command Window output.

C:\Python27\bot>python deleter3.py findpages.params findpages.req findpages.res {u'batchcomplete': u'', u'query': {u'categorymembers': }, u'limits': {u'categorymembers': 5000}} findpages.touse main.pages main.for filp File:Logo Politecnico Milano.png versiontodelete.params versiontodelete.req versiontodelete.res versiontodelete.whattodel versiontodelete.for loop {u'filehidden': True, u'archivename': u'20170504031453!Logo_Politecnico_Milano.png'} versiontodelete.for loop delete {u'filehidden': True, u'archivename': u'20170504031453!Logo_Politecnico_Milano.png'} versiontodelete.for loop {u'filehidden': True, u'archivename': u'20151105102246!Logo_Politecnico_Milano.png'} versiontodelete.for loop delete {u'filehidden': True, u'archivename': u'20151105102246!Logo_Politecnico_Milano.png'} versiontodelete.whattodel main.todelete {u'archivename': u'20170504031453!Logo_Politecnico_Milano.png'} 20170504031453 main.for version main.pagepage main.allowbots abusechecks.params abusechecks.req abusechecks.res abusechecks.pageid abusechecks.timestamp abusechecks.comment Orphaned non-free file(s) deleted per F5 (disable) main.check No checksize.params checksize.req checksize.res {u'query': {u'pages': }, u'continue': {u'continue': u'||', u'iistart': u'2015-11-05T10:22:47Z'}} main.params main.token ba8ff47113d44aba8b69cef31d54e523591df3b2+\ deletefile.params page.unprefixedtitle File:Logo Politecnico Milano.png version 20170504031453 token ba8ff47113d44aba8b69cef31d54e523591df3b2+\ deletefile.finish main.deletefile main.pagetext Done for File:Logo Politecnico Milano.png {u'archivename': u'20151105102246!Logo_Politecnico_Milano.png'} 20151105102246 main.for version main.pagepage main.allowbots abusechecks.params abusechecks.req abusechecks.res abusechecks.pageid abusechecks.timestamp abusechecks.comment Orphaned non-free file(s) deleted per F5 (disable) main.check No checksize.params checksize.req checksize.res {u'query': {u'pages': }, u'continue': {u'continue': u'||', u'iistart': u'2015-11-05T10:22:47Z'}} main.params main.token c807938408917dea5eef78c7e87624bb591df3b6+\ deletefile.params page.unprefixedtitle File:Logo Politecnico Milano.png version 20151105102246 token c807938408917dea5eef78c7e87624bb591df3b6+\ deletefile.finish main.deletefile main.pagetext Done for File:Logo Politecnico Milano.png main.for filp File:MirthaDermisacheNewsletter.jpg versiontodelete.params versiontodelete.req versiontodelete.res versiontodelete.whattodel versiontodelete.for loop {u'archivename': u'20170504042150!MirthaDermisacheNewsletter.jpg'} versiontodelete.whattodel main.todelete {u'archivename': u'20170504042150!MirthaDermisacheNewsletter.jpg'} 20170504042150 main.for version main.pagepage main.allowbots abusechecks.params abusechecks.req abusechecks.res abusechecks.pageid abusechecks.timestamp abusechecks.comment Reverted to revision 780712198 by Ronhjones (talk): Undo test. (TW) main.check No checksize.params checksize.req checksize.res {u'query': {u'pages': }, u'continue': {u'continue': u'||', u'iistart': u'2015-03-21T00:30:18Z'}} main.params main.token fd658e28752258738bc1a696c7ec55fe591df3ba+\ deletefile.params page.unprefixedtitle File:MirthaDermisacheNewsletter.jpg version 20170504042150 token fd658e28752258738bc1a696c7ec55fe591df3ba+\ deletefile.finish main.deletefile main.pagetext Done for File:MirthaDermisacheNewsletter.jpg main.for filp File:National Basketball Federation Kazakhstan.png versiontodelete.params versiontodelete.req versiontodelete.res versiontodelete.whattodel versiontodelete.for loop {u'filehidden': True, u'archivename': u'20170503171956!National_Basketball_Federation_Kazakhstan.png'} versiontodelete.for loop delete {u'filehidden': True, u'archivename': u'20170503171956!National_Basketball_Federation_Kazakhstan.png'} versiontodelete.whattodel main.todelete {u'archivename': u'20170503171956!National_Basketball_Federation_Kazakhstan.png'} 20170503171956 main.for version main.pagepage main.allowbots abusechecks.params abusechecks.req abusechecks.res abusechecks.pageid abusechecks.timestamp abusechecks.comment removed using HotCat main.check No checksize.params checksize.req checksize.res {u'query': {u'pages': [{u'imagerepository': u'local', u'ns': 6, u'pageid': 45585585, u'imageinfo': [{u'width': 250, u'height': 250, u'size': 98318}], u'title': u'File:National Basketball Federation Ka zakhstan.png'}]}, u'continue': {u'continue': u'||', u'iistart': u'2015-03-05T17:20:32Z'}} main.params main.token 308d2b28d93ce52d7340e40d3c59cf2b591df3c2+\ deletefile.params page.unprefixedtitle File:National Basketball Federation Kazakhstan.png version 20170503171956 token 308d2b28d93ce52d7340e40d3c59cf2b591df3c2+\ deletefile.finish main.deletefile main.pagetext Done for File:National Basketball Federation Kazakhstan.png main.for filp File:New Hampshire Union Leader newspaper cover.jpg versiontodelete.params versiontodelete.req versiontodelete.res versiontodelete.whattodel versiontodelete.for loop {u'archivename': u'20170516190843!New_Hampshire_Union_Leader_newspaper_cover.jpg'} versiontodelete.for loop {u'archivename': u'20170504041437!New_Hampshire_Union_Leader_newspaper_cover.jpg'} versiontodelete.whattodel main.todelete {u'archivename': u'20170516190843!New_Hampshire_Union_Leader_newspaper_cover.jpg'} 20170516190843 main.for version main.pagepage main.allowbots abusechecks.params abusechecks.req abusechecks.res abusechecks.pageid abusechecks.timestamp abusechecks.comment Requesting manual review (disable) main.check No checksize.params checksize.req checksize.res {u'query': {u'pages': [{u'imagerepository': u'local', u'ns': 6, u'pageid': 33887593, u'imageinfo': [{u'width': 440, u'height': 761, u'size': 69447}], u'title': u'File:New Hampshire Union Leader newspa per cover.jpg'}]}, u'continue': {u'continue': u'||', u'iistart': u'2017-05-04T04:14:38Z'}} addmanual main.manual.pagetext }}}}}}

Licensing
{u'archivename': u'20170504041437!New_Hampshire_Union_Leader_newspaper_cover.jpg'} 20170504041437 main.for version main.pagepage main.allowbots abusechecks.params abusechecks.req abusechecks.res abusechecks.pageid abusechecks.timestamp abusechecks.comment Requesting manual review (disable) main.check No checksize.params checksize.req checksize.res {u'query': {u'pages': [{u'imagerepository': u'local', u'ns': 6, u'pageid': 33887593, u'imageinfo': [{u'width': 440, u'height': 761, u'size': 69447}], u'title': u'File:New Hampshire Union Leader newspa per cover.jpg'}]}, u'continue': {u'continue': u'||', u'iistart': u'2017-05-04T04:14:38Z'}} addmanual main.manual.pagetext }}}}}}}}

Licensing
main.for filp File:Nordlys.jpg versiontodelete.params versiontodelete.req versiontodelete.res versiontodelete.whattodel versiontodelete.for loop {u'archivename': u'20170504050437!Nordlys.jpg'} versiontodelete.whattodel main.todelete {u'archivename': u'20170504050437!Nordlys.jpg'} 20170504050437 main.for version main.pagepage main.allowbots abusechecks.params abusechecks.req abusechecks.res abusechecks.pageid abusechecks.timestamp abusechecks.comment Reverted to revision 780712215 by Ronhjones (talk): Undo test. (TW) main.check No checksize.params checksize.req checksize.res {u'query': {u'pages': }, u'continue': {u' continue': u'||', u'iistart': u'2007-12-14T08:09:32Z'}} main.params main.token e2f6952383d8791690a1b475170b6473591df3cd+\ deletefile.params page.unprefixedtitle File:Nordlys.jpg version 20170504050437 token e2f6952383d8791690a1b475170b6473591df3cd+\ deletefile.finish main.deletefile main.pagetext Done for File:Nordlys.jpg

C:\Python27\bot>