User:Inferno Bot

From RationalWiki
Jump to navigation Jump to search

Hi! I'm Inferno Bot, also known as User:Sirius's personal bot.

Current duties:

  • Archival.
  • Redirection fixes.
  • Unclogging stuck patrols.
  • Created undocumented images category.
  • Category purges

Archiving[edit]

My main duty on the wiki is to assist in archiving talkpages! For a full documentation of how this works, please check out User:Inferno Bot/config/doc the documentation.

If you just want to quickly get a template for talkpages, just copy the template below.

{{User:Inferno Bot/config
|archive={{SUBST:FULLPAGENAME}}/Archive%(counter)d
|algo=old(5d)
|archiveheader={{talk archive}}
}}

For pages with existing archives, use the setting below.

{{User:Inferno Bot/config
|archive={{SUBST:FULLPAGENAME}}/Archive%(counter)d
|algo=old(5d)
|archiveheader={{talk archive}}
|counter=NUMBEROFEXISTINGARCHIVES
}}

Replace NUMBEROFEXISTINGARCHIVES with the total amount of existing archive pages.

Both of these archive threads with no response in the past 5 days, and ensures that there is always at least 5 threads on the mainpage. Archival happens 2 threads at a time and overflow is when the page size exceeds 200kb. If you can't figure out how to set it up, or if you need a more specialized setup for certain pages, leave a comment on User talk:Sirius and I'll see what I can do for you.

Archive timing[edit]

Archiving is done twice a day. Once at 12:00 UTC and once at 0:00 UTC. If it is not running, please notify User:Sirius. Any scheduled maintenance will be published below. Scheduled maintenance includes system upgrades and security updates.

  • 28th november 2020, 13:00 UTC - Upgrade to Fedora 33. No downtime is expected unless the update takes longer than expected.
    • Maintenance completed. No functional downtime, but the bot was once run off-schedule to test if it still worked. It did. All systems back to go.
  • 20:43, 10 November 2021 (UTC) - Upgrade to Fedora 35. No downtime is expected unless the update takes longer than expected.

Preventing archiving[edit]

If you want to prevent a thread from being archived, look at the DNAU template as well as the Bump and Pin templates. Usage of the latter is preferred in discussions, as it leaves a message behind for others to read. These templates should be substituted into the page, and they tend to throw ugly errors if you try to transclude them, so don't do that.

Redirection Fixes[edit]

Ran manually. Bug me either on or off-wiki to do this. At it's simplest, this means I run pywikibots redirect.py. Not run automatically or anything. History of dates I've run this on is below.

Can be run in either double or in broken mode. Double tries to fix double redirects (MW doesn't like these). Broken removes redirects that go to dead pages or tries to fix them based on their destination page's move log. They're shortened to do and br in the list below for simplicity.

  • Ran do. 18:46, 19 July 2020 (UTC)
  • Ran br (without deletion). 18:50, 19 July 2020 (UTC)
  • Ran br (with deletion). Manually did cleanup as User:Sirius since Inferno can't actually delete pages it seems. Also, sorry for spamming RecentChanges with this one. 19:14, 19 July 2020 (UTC)
  • Ran do. 10:13, 30 August 2020 (UTC)
  • Ran do. 11:36, 28 November 2020 (UTC)
  • Ran do 14:28, 21 February 2021 (UTC)
  • Ran do 08:48, 5 April 2021 (UTC)

Unclogging stuck patrols[edit]

Some pages don't render the [Mark as Patrolled] link properly. If this happens, notify User:Sirius on her talkpage. Using User:Inferno Bot/patrol whitelist, I can unclog stuck unpatrolled edits.

Usage documented below, since this also means temporarily demoting the bot to sysop, since bots cannot patrol edits otherwise.

Cross reference the list with the MediaWiki patrol log (automatic patrols hidden since those are the bots own contributions).

Undocumented images[edit]

Inferno Bot runs a script at midnight on the first of each month to create any requested categories for Category:Undocumented images. Keep in mind that this runs on Special:WantedCategories, so if you create this category beforehand, the bot will ignore it. It's more there to reduce a maintenance hassle than anything else.

Source is available here.

Credits to User:Christopher for the suggestion of this script.

Categories[edit]

Renames[edit]

(pywikibot syntax: python pwb.py category move -from:"sourcecat" -to:"targetcat")

  • Renamed the "Anti-Semitism" category to "Category:Antisemitism". See the talkpage for that category for more details. 18:07, 30 July 2023 (UTC)
  • Renamed the "Anti-Semites" category to "Category:Antisemites". See the talkpage for the antisemitism category for more details. 18:07, 30 July 2023 (UTC)

Purges[edit]

After getting an unwanted category through the AfD process, please notify Techpriest on her talkpage. That way I can use a script to remove the categories from every page. Usages documented below.

(pywikibot syntax: python pwb.py category remove -batch -nodelsum -simulate -from:"sourcecat")

Used on the following categories:

Recent contributions[edit]

Emergency procedures[edit]

In the event that the bot starts behaving like an alt of User:Newton or engages in other erratic behavior, please block the bot and notify Sirius on her talkpage. I try to keep the bot secure, but things can always happen.