Jump to content

Wikipedia:Bots/Requests for approval/CapsuleBot 2

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Capsulecap (talk | contribs) at 00:14, 14 June 2023 (Created page with '<noinclude>{{subst:#invoke:BRFA|botNameNumber}}</noinclude> =={{subst:#invoke:BRFA|userpageLink}}== {{BRFA help}} {{subst:#invoke:BRFA|newbotTemplate}} <!-- ^^^ Ignore everything above this line ^^^ --> <!-- Leave this alone --> '''Operator:''' {{botop|{{subst:currentuser}}}} <!-- And leave this alone --> '''Time filed:''' {{subst:Currentdate}} <!-- A SHORT bot function overview (max 2–3 lines); pla...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

New to bots on Wikipedia? Read these primers!

Operator: Capsulecap (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 00:14, Wednesday, June 14, 2023 (UTC)

Function overview: This task checks the Top 25 Report page frequently to see if the current report has updated. If it was updated, then it will go through all pages in the new report and add or update the Template:Top 25 Report template on their talk pages.

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python

Source code available: No, but if necessary I can upload it

Links to relevant discussions (where appropriate): Wikipedia:Bot requests#Top 25 report

Edit period(s): Every 20 seconds - if this is too often, I can change it

Estimated number of pages affected: 25 pages/week

Namespace(s): Talk

Exclusion compliant (Yes/No): Yes

Function details: This task first checks the page Wikipedia:Top 25 Report to see if the transcluded link was modified. (This should mean that the report was updated.) If it has, then it uses the first revision of the transcluded page, which is always a basic list, to get a list of article talk pages to modify. It then goes through each talk page, updating the Template:Top 25 Report template if it exists and adding it if not.

Discussion