Bugs item #2896033, was opened at 2009-11-11 17:35 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2896033...
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: Closed
Resolution: Wont Fix Priority: 5 Private: No Submitted By: Mike.lifeguard (mike_lifeguard) Assigned to: xqt (xqt) Summary: clean_sandbox.py needs a --force option
Initial Comment: Please provide an option to force the edit *right now* - useful for testing purposes, or when you just want to clean the goddamned sandbox instead of "sleeping for 15 minutes"
mikelifeguard@binnie:~/pywikipedia$ python version.py Pywikipedia [http] trunk/pywikipedia (r7630, 2009/11/11, 13:20:55) Python 2.6.4 (r264:75706, Nov 2 2009, 14:38:03) [GCC 4.4.1]
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-15 10:52
Message: The maintenance depends on whether the text is to be substituted ot not.
If the content is to be substituted then look to the last username who did the change if the last change comes not from me look for the last edit time and wait for the remaining up to the given -delay time then reset the page
If the content is not to be substituted then look if the content has been changes. If so and the default sandbox-message is not on top of the page then reset the page immediately else look for the last edit time and wait for the remaining up to the given -delay time then reset the page
----------------------------------------------------------------------
Comment By: Mike.lifeguard (mike_lifeguard) Date: 2009-11-12 19:39
Message: I'm not sure that's true. It waits a minimum of 5 minutes after the most recent edit (I suppose to make sure they are done editing before erasing their work.)
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2009-11-12 12:05
Message: I won't. I you need it for test purposes, just clean the sandbox page or insert sth above the template or change the template itself. This will lead the bot to reset the page just now. But it is not a good idea to break testings by decrease the wait cycle to zero.
----------------------------------------------------------------------
Comment By: Mike.lifeguard (mike_lifeguard) Date: 2009-11-12 11:53
Message: There is a difference between five minutes and zero minutes. -delay:0 needs to be possible.
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2009-11-12 10:01
Message: remark: If you remove the template or make any changes above it, there is no delay time. In such cases, the default will be restored immediately.
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2009-11-12 09:58
Message: use -delay:5 It decrease (or increase if you assign a higher value) the delay time to 5 minutes
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2896033...