User:Cewbot/Stop
Appearance
- To stop task
- If you need to stop my operation immediately, please click the "Stop" link in Cewbot task list.
- This page is also used as template.
Mechanism for stopping operations
[edit]- Before the Bots performs a job, and before each batch of pages is processed, check to see if anyone has left a message on the emergency stop page requesting that the job be stopped.
- As long as there is a specified chapter on the emergency stop page, it is assumed that someone has left a message to stop the job and the editing will be aborted.
Examples of template use
[edit]{{User:Cewbot/Stop|task id|task name|link tip}}
{{User:Cewbot/Stop|id=task id|task=task name|prompt=link tip}}
- On the log subpage:
{{User:Cewbot/Stop|{{SUBPAGENAME}}|task name}}
Setup stop feature
[edit]- This function must set up:
- This page itself. (C&P)
- Emergency stop page
- Prompt to stop the operation
- Next, apply the above template example to local log subpages. (see all log subpages)
- You can also add task list, source code declaration. (requires {{GitHub}}, {{Hidden begin}}, {{Hidden end}})
- Other implementations: using
{{<includeonly>subst:</includeonly>...}}
Design assistance
[edit]- For compatibility with wiki projectspages related to this feature should minimize the use of template or module.
- mw:Help:Extension:ParserFunctions
- mw:Manual:Creating pages with preloaded text
- Editnotice