Feature Requests item #3535909, was opened at 2012-06-17 22:17 Message generated for change (Comment added) made by avicennasis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3535909...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: Avicennasis (avicennasis) Assigned to: Nobody/Anonymous (nobody) Summary: -enable arg to all scripts
Initial Comment: It would be handy to have an optional -enable "Checkpage" option built into scripts by default - so that a bot can deactivated by non-admins, if so needed.
----------------------------------------------------------------------
Comment By: Avicennasis (avicennasis)
Date: 2012-06-19 00:30
Message: True, it is different then an admin stopping the bot via blocking, which of course would be instant. I was thinking more of implementations on cron - allowing any user to 'disable' the next run of a cronjob'd script until the BotOp is online/able to address a problem that may have arisen.
(Alternatively, one could rewrite the -enable option to be checked every 10-25 pages, and so stop a bot from running even in 'mid-script'.)
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2012-06-18 04:04
Message: This behavior is not the same as blocking a bot by admins; it only prohibits the next start of the bot. So I am not sure if this is what you want to.
----------------------------------------------------------------------
Comment By: Avicennasis (avicennasis) Date: 2012-06-18 01:58
Message: Exactly what the '-enable:' parameter does in lonelypages.py - http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia/lonelypages.p...
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2012-06-18 01:28
Message: That doesn't tell me anything about what it should do. What is 'checkpage'? What should the bot do with it? When? What should it do in which case?
----------------------------------------------------------------------
Comment By: Avicennasis (avicennasis) Date: 2012-06-18 00:11
Message: A simple boolean value - if the arg is used, read checkpage - if 'true', continue script - if false, stop and exit script.
I know some of the scripts have a "enablePage" - but a lot of them don't.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2012-06-18 00:06
Message: What is the behaviour you would want/expect when 'Checkpage' is enabled?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3535909...