User:Bot873

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search


Bot873[edit]

Bot873 this user is a Bot
Bot873 (Talk · Contribs)
Operator873 w nobg.png
(I never sleep)
Operator:Operator873
AuthorOperator873
Approved?Yes
Flagged?Yes
Edit rate:Manually directed edits
Edit period/s:As directed
Programming language/s:Python
Built on Sopel IRC bot
Source code published?GitHub
Emergency shutoff-compliant?Yes
Other information:Changelog

Bot873 (known as GlobalSysBot on IRC) was designed by Operator873 to facilitate and expedite Global Sysop activities on GS wikis. The only authorized users are bot admins, Global Sysops and Stewards.

Global Sysop CSD Helper[edit]

There is no limit to the number of wikis Bot873 can check and report to you; however, care should be utilized as the response to your talk page may be extensive.

Query multiple wikis and report to your meta talk page[edit]

Bot873 can query any project and report the current Speedy Deletion requests to your talk page in a clean and easy to read format.

!update wiki1 wiki2 wiki3

Replace wiki1 etc with the WMF abbreviation of the project. Example: arcwiki or enwikibooks

Query a single wiki and report to IRC[edit]

This is an IRC only response. The bot will provide links to the pages tagged for Speedy Deletion within the #wikimedia-gs channel.

!onirc wiki

This command is limited to one project to manage channel flooding. The name command is also available (ie - Bot873, onirc project).

Add new GS wiki[edit]

The database containing projects is far from complete and I need your help adding to it. If Bot873 reports it does not know a project, a user may:

!add abrev https://full.path.to/w/api.php Category:For speedy deletion requests

Ensure you provide the correct abreviation for the project and the api url is correct. Additionally, the category must include the category namespace (for English languages, Category:).

If a new wiki was added in correctly, or if the bot throws an error, notify Operator873 as the info can be rewritten easily.

Global Sysop Daily Updates[edit]

Bot873 delivers daily updates to Global Sysop's talk pages as requested. Projects can be added or removed from the daily update messages in the #wikimedia-gsconnect channel using the following commands.

Add a page to your daily report[edit]

!daily add mznwiki

This command would add mzn.wikipedia to projects Bot873 reports to your meta talk page.

Delete a page from your daily report[edit]

!daily del mznwiki

This command would remove mzn.wikipedia from the projects Bot873 reports to your meta talk page.

Show your current daily report list[edit]

!daily list

This command causes Bot873 list all projects it currently has saved for your account name. This is a good command to use before executing !daily del project

Global Selective Recent Change Reporter (Watcher)[edit]

Bot873 is able to digest events from EventStream and report changes to selected pages chosen by endUsers. The bot can also be set to ping the requester when reporting changes to those pages. Below are the commands.

Add or Remove a page from Watcher[edit]

The syntax should always begin with !watch. Following the command, Add/add/+ or Del/del/- to indicate adding or removing a page from being watched. Then the project in short format (ie enwiki, wikidata, eswiktionary, ptwikibooks, etc) followed by the name of the page. Spaces can be handled with either spaces or underscores.

Example Recent Change report:

<+GlobalSysBot> Wikipedia:Sandbox on somewiki was edited by Someone https://somewiki.wikipedia.org/w/index.php?diff=658246

Example:

!watch add simplewiki Wikipedia:Vandalism in progress

The above command would result in Bot873 reporting changes in the channel the command was used in.

!watch del simplewiki Wikipedia:Vandalism in progress

The above command would result in Bot873 removing the indicated page from the list.

Setting pings[edit]

Bot873 is also able to say your IRC nick, known as pinging, when the page is edited. In order for this to function correctly, the nick wanting to be pinged should add the page via the above commands. Once the page is added to the Watcher, they should:

!watch ping on enwiki Some Article

The above code would tell the bot to ping the nick when reporting page changes. Multiple nicks cannot be pinged for the same page edit. Example of the ping:

<+GlobalSysBot> YourNick: Wikipedia:Sandbox on somewiki was edited by Someone https://somewiki.wikipedia.org/w/index.php?diff=658246

To disable the pings use:

!watch ping off enwiki Some Article

There are additional commands that exist, but are currently not available to end Users.

Global Sysop Feed[edit]

GlobalSysBot reports a feed of Global Sysop action to #wikimedia-gs-internalconnect similar to steward actions reported by StewardBot. This enhances transparancy and oversight of GS actions by fellow GSes. When deleting many pages or affecting significant changes that will cause the bot to flood the channel, a GS should hush the bot.

Interrupt the feed[edit]

To stop the bot from reporting changes:

!hush

or

!mute

The person ordering the hush and the time stamp it was ordered will be stored.

Resume the feed[edit]

To restore log reporting:

!speak

Admin Commands[edit]

There following several commands are available to selected bot admins for maintaining the bot and configuring user information.

Add a new Global Sysop or GS IRC Nick[edit]

!addmember <IRCnick> <WP account>

This command will associate an IRC nick with a wikimedia account. This will tell the bot the nick and account are attached to each other, and that the IRC nick is authorized to use the bot. Furthermore, their log actions will be reported to #wikimedia-gs-internalconnect

Delete a Global Sysop[edit]

!removemember <WP account>

This command will purge all IRC nicks associated with the provided account along with the account itself from the database. This effectively removes access to the bot and tells the bot not to report their logged actions.

Show connection to IRC Nick[edit]

!idnick <IRCnik>

Shows the WP account associated with the provided nick, along with any other associated IRC nicks.

Check a GS wiki data[edit]

!idwiki <project>

Query the database and return the WMF abreviation, API url, and CSD category for the provided project. This is useful for verifying the information is correct or incorrect prior to executing a rewrite.

Re-write a GS wiki data[edit]

!rewrite <project> <apiURL> <CSD Cat>

Rewrite the database row for the provided project. This is extremely useful in correcting typos in the API urls which were obtained from wikidata during the bot build.