Page MenuHomePhabricator

EyeInTheSky
Updated 2,231 Days AgoPublic

Version 3 of 9: You are viewing an older version of this document, as it appeared on Mar 17 2018, 1:19 PM.

Commands

Die

Requires: Owner

=die

Shuts down the bot.

Location: Stwalkerster.Bot.CommandLib.Commands.BotManagement

Command Access

Requires: Standard

=commandaccess <command>

Retrieves the flag required to use the specified command.

Location: Stwalkerster.Bot.CommandLib.Commands.AccessControl

My Flags

Requires: Standard

=myflags
=myaccess
=whoami

Retrieves the flags available to the current user.

Location: Stwalkerster.Bot.CommandLib.Commands.AccessControl

Quick

Requires: Protected

=quick <Flag> <Type> <Match>

Sets up a new basic stalk with the specified match and type, and default options specified.

Specifically, =quick foo page bar would create a new stalk foo monitoring the page bar.

Location: EyeInTheSky.Commands

Stalk

Requires: Protected

=stalk list

Lists all configured stalks

=stalk add <Flag>

Adds a new unconfigured stalk

=stalk del <Flag>

Deletes a stalk

=stalk enabled <Flag> <true|false>

Marks a stalk as enabled or disabled

=stalk mail <Flag> <true|false>

Enables or disables email notifications for each trigger of the specified stalk

=stalk description <Flag> <Description...>

Sets the description of the specified stalk

=stalk expiry <Flag> <Description...>

Sets the description of the specified stalk

=stalk set <Flag> <user|page|summary|xml> <Match...>

Sets the stalk configuration of the specified stalk to specified user, page, or edit summary regex. Alternatively, manually specify an XML tree (advanced).

=stalk and <Flag> <user|page|summary|xml> <Match...>

Sets the stalk configuration of the specified stalk to the logical AND of the current configuration, and a specified user, page, or edit summary regex; or XML tree (advanced).

=stalk or <Flag> <user|page|summary|xml> <Match...>

Sets the stalk configuration of the specified stalk to the logical OR of the current configuration, and a specified user, page, or edit summary regex; or XML tree (advanced).

An XML search tree is an XML root element from the list: and, or, not, true, false, user, page, summary, flag. and and or MUST have two child nodes, not MUST have one child node, and the rest MUST have zero child nodes. user, page, flag and summary MUST have an attribute called value containing a regular expression to match.

For example:

<and>
  <or>
    <page value="Wikipedia:New contributors' help page"/>
    <page value="Wikipedia:Help Desk"/>
  </or>
  <and>
    <not>
      <user value="Stwalkerster"/>
    </not>
    <summary value="/\* New Section \*/"/>
  </and>
</and>

Use the mail option to enable or disable logging of stalk triggers via email. By default, every stalk has it enabled.

ACC

Requires: Protected

=acc <id> <username>

Adds a new temporary stalk with key acc<id> (eg acc12345) for any match on the specified username

Location: EyeInTheSky.Commands

Version

Requires: Standard

=version

Shows the current bot version.

Location: EyeInTheSky.Commands

Edit Flags

For the flag-based stalks, this is a description of some of the flags:

!    - unreviewed
M    - minor
N    - new
B    - bot
move - move
Last Author
stwalkerster
Last Edited
Mar 17 2018, 1:19 PM