![]() | All editors are encouraged to participate in the requests below – your comments are appreciated more than you may think! |
New to bots on Wikipedia? Read these primers!
To run a bot on the English Wikipedia, you must first get it approved. Follow the instructions below to add a request. If you are not familiar with programming consider asking someone else to run a bot for you.
Instructions for bot operators | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Bot-related archives ( v· t· e) |
---|
Bot Name | Status | Created | Last editor | Date/Time | Last BAG editor | Date/Time |
---|---|---|---|---|---|---|
PonoRoboT 2 ( T| C| B| F) | Open | 2024-07-20, 23:38:17 | Ponor | 2024-07-21, 19:54:20 | Primefac | 2024-07-21, 12:07:41 |
SodiumBot 2 ( T| C| B| F) | Open | 2024-07-16, 20:03:26 | Primefac | 2024-07-21, 16:07:53 | Primefac | 2024-07-21, 16:07:53 |
HooptyBot 2 ( T| C| B| F) | Open: User response needed! | 2024-07-08, 19:59:06 | Primefac | 2024-07-21, 12:51:09 | Primefac | 2024-07-21, 12:51:09 |
Platybot ( T| C| B| F) | Open | 2024-07-08, 08:52:05 | BilledMammal | 2024-07-21, 05:47:37 | Never edited by BAG | n/a |
BattyBot 81 ( T| C| B| F) | On hold | 2024-02-07, 14:12:49 | ProcrastinatingReader | 2024-02-15, 12:09:35 | ProcrastinatingReader | 2024-02-15, 12:09:35 |
HBC AIV helperbot14 ( T| C| B| F) | In trial | 2024-07-18, 15:45:16 | Joe Roe | 2024-07-22, 10:10:27 | Primefac | 2024-07-21, 12:41:38 |
C1MM-bot 2 ( T| C| B| F) | In trial | 2024-06-25, 00:56:44 | Primefac | 2024-07-05, 17:53:58 | Primefac | 2024-07-05, 17:53:58 |
DannyS712 bot III 74 ( T| C| B| F) | In trial | 2024-05-09, 00:02:12 | DannyS712 | 2024-07-21, 02:39:35 | TheSandDoctor | 2024-07-13, 22:20:18 |
StradBot 2 ( T| C| B| F) | In trial | 2024-02-17, 03:20:39 | SD0001 | 2024-02-17, 05:58:51 | SD0001 | 2024-02-17, 05:58:51 |
CapsuleBot 2 ( T| C| B| F) | Extended trial | 2023-06-14, 00:14:29 | Capsulecap | 2024-01-20, 02:36:30 | Primefac | 2024-01-15, 07:40:39 |
AussieBot 1 ( T| C| B| F) | Extended trial: User response needed! | 2023-03-22, 01:57:36 | Hawkeye7 | 2024-02-18, 23:33:13 | Primefac | 2024-02-18, 20:10:45 |
DoggoBot 10 ( T| C| B| F) | In trial | 2023-03-02, 02:55:00 | Usernamekiran | 2024-07-18, 16:59:45 | Primefac | 2024-01-15, 07:40:49 |
KiranBOT 9 ( T| C| B| F) | Trial complete | 2024-07-15, 23:48:57 | Usernamekiran | 2024-07-21, 15:48:40 | Primefac | 2024-07-21, 12:51:51 |
BaranBOT 2 ( T| C| B| F) | Trial complete | 2024-05-27, 14:01:46 | DreamRimmer | 2024-07-06, 14:03:24 | Primefac | 2024-06-27, 15:25:33 |
PrimeBOT 39 ( T| C| B| F) | On hold | 2023-05-11, 12:48:50 | Primefac | 2023-09-22, 10:51:59 | Headbomb | 2023-07-02, 17:38:58 |
Operator: Ponor ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:36, Saturday, July 20, 2024 ( UTC)
Function overview: WP:MASSCREATE the remaining 3200 out of 6700 Croatian naseljes (settlements), which are the third level division of the country. The bot can create stubs like Dubrava, Split-Dalmatia County. Update the existing articles with ZIP codes (new official source), and historical population data graphs (where possible, under full supervision).
Automatic, Supervised, or Manual: Automatic creation. Supervised or manual updates.
Programming language(s): Python @ PAWS
Source code available: possible
Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Croatia/Archive 5#Croatian settlement articles mass creation
Edit period(s): one time run
Estimated number of pages affected: 3200 (+2500 or so)
Namespace(s): Articles
Exclusion compliant (Yes/No): irrelevant
Function details:
Needs
wider discussion. The discussion you link was between you and only one other person. Please seek consensus at
WP:Village pump (proposals) or a similar venue where we can be sure many people have seen it.
Anomie
⚔
01:11, 21 July 2024 (UTC)
It is also strongly encouraged (and may be required by BAG) that community input be solicited at WP:Village pump (proposals) and the talk pages of any relevant WikiProjects.Unless you can get another BAGger to proceed without, this is me requiring. Anomie ⚔ 11:17, 21 July 2024 (UTC)
Operator: Sohom Datta ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 20:03, Tuesday, July 16, 2024 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: https://github.com/sohomdatta1/npp-notifier-bot
Function overview: Notify previous reviewers of a article at AFD about the nomination
Links to relevant discussions (where appropriate): Initial discussions on NPP Discord + previous BRFAs surrounding AFD notifications
Edit period(s): Continuous
Estimated number of pages affected: 1-2 per day (guessimate?)
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): No, on enwiki, yes, for other wikis on other tasks
Function details:
{{User:SodiumBot/NoNPPDelivery}}
, which should serve as a opt out mechanism :) I've also reworked the code to include
SD0001's suggestion of adding a significant delay by making the bot wait at least a hour and also added modified the regex to account for the messages sent by PageTriage.Operator: JPxG ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 19:58, Monday, July 8, 2024 ( UTC)
Function overview: This is a pro forma request; the bot has been running for three years at User:JPxG/Oracle, but having these pages in my userspace is geting to be rather inconvenient, and I feel like I should just put them in projectspace. In fact, I had wanted to do this in the first place -- the only reason I used my userspace was because that way I didn't have to file a BRFA. At any rate, it's been running fine for three years.
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python, Bash
Source code available: https://github.com/jp-x-g/oraclefordeletion
Links to relevant discussions (where appropriate): n/a
Edit period(s): Daily or so (the two active pages are once an hour), if the Group wants me to do it more or less frequently that is fine
Estimated number of pages affected: Zero outside of its homezone, Special:PrefixIndex/User:JPxG/Oracle inside its homezone.
Namespace(s): Wikipedia
Exclusion compliant (Yes/No): n/a
Function details: From the explanatory page: the Oracle pages contain detailed information on article deletion discussions. The current dashboard is updated regularly, and shows all current deletion discussions (along with their size, !vote count, and article statistics like number of editors and creation date). They are separated by day, and by open/closed status. It goes back 31 days. Monthly archive pages (like 2006-12, 2020-03, etc) are a huge table listing every AfD from the entire month. This table includes (and is sortable by) outcome, "keep" ratio, number of participants, size of the AfD page, et cetera. Yearly archive pages (like 2006, 2020, etc) include the summary table from the top of each monthly archive. They also feature aggregate statistics for the year. The all-time archive page has a number of tables and graphs, analyzing aggregate statistics for every AfD from 2005 onward.
Where would the new pages be hosted at? Headbomb { t · c · p · b} 10:01, 16 July 2024 (UTC)
Operator: BilledMammal ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 08:51, Monday, July 8, 2024 ( UTC)
Function overview: Adjusts templates based on provided JSON configuration files. This request is limited to Template:Cite news and Template:Cite web, and is primarily intended to correct issues where the work or publisher is linked to the wrong target.
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: Not currently
Links to relevant discussions (where appropriate):
Edit period(s): Initially, irregular one-off runs, with each held after significant expansions to the configuration file. Once most citations have been fixed I will open a request for continuous operation in a maintenance mode.
Estimated number of pages affected: Varies considerably based on configuration. This configuration, which applies to ten sources, will edit approximately 23,000. This configuration, which goes beyond correcting wrong links and also always inserts the correct link when one is missing, will edit approximately 450,000.
Namespace(s): Mainspace
Exclusion compliant (Yes/No): Yes
Function details: Adjusts parameters of Cite news and Cite web based on a configuration file. This configuration can be applied to any parameter, but the intent of this request is to apply it to the following:
It determines which change to apply based on current parameter field values. Any field or combination of fields can be used, but the intent of this request is to use the "url" field.
Adjustments can be specified as "always", "onEdit", or "never". When "always" is specified, if a change is identified as being desired for a parameter the article will be edited to implement it. When "onEdit" is specified, desirable changes are only implemented if we are already editing the page. This reduces the impact on watchlists by skipping articles that don't have high priority issues.
Configuration schema
|
---|
{ "$schema": " http://json-schema.org/draft-07/schema#", "type": "array", "items": { "type": "object", "properties": { "includes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "example": "url" }, "value": { "type": "array", "items": { "type": "string", "example": ["www.bbc.com", "www.bbc.co.uk"] } } } }, "description": "Lists conditions required to be met for this configuration to be applied to the template." }, "excludes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "example": "url" }, "value": { "type": "array", "items": { "type": "string", "example": ["www.bbc.com/sport", "www.bbc.co.uk/sport"] } } }, "description": "Lists conditions that must not be met for this configuration to be applied to the template." } }, "patternProperties": { "^[a-zA-Z0-9-]+$": { "oneOf": [ { "type": "array", "description": "Named for the parameter, and defines what will be done with it. Used when there are multiple possible configurations for the parameter.", "items": { "$ref": "#/definitions/parameter-config" } }, { "type": "object", "description": "Named for the parameter, and defines what will be done with it. Used when there is only one possible configuration for the parameter.", "$ref": "#/definitions/parameter-config" } ] } } }, "definitions": { "parameter-config": { "$schema": " http://json-schema.org/draft-07/schema#", "$id": "parameter-config", "type": "object", "properties": { "includes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "example": ["url"] }, "value": { "type": "array", "items": { "type": "string", "example": ["www.bbc.com", "www.bbc.co.uk"] } } } }, "description": "Lists conditions required to be met for this configuration to be applied to the parameter." }, "excludes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "example": ["url"] }, "value": { "type": "array", "items": { "type": "string", "example": ["www.bbc.com/sport", "www.bbc.co.uk/sport"] } } } }, "description": "Lists conditions that must not be met for this configuration to be applied to the parameter." }, "link": { "type": "string", "description": "Where the parameter should normally link to", "example": ["ABC News (Australia)"] }, "wikitext": { "type": "string", "description": "What the wikitext of the parameter should normally be", "example": [" ABC News"] }, "blacklist": { "type": "array", "items": { "type": "string", "example": ["ABC News (United States)", "ABC News"] }, "description": "Links that will always be removed" }, "greylist": { "type": "array", "items": { "type": "string", "example": ["Australian Broadcasting Corporation"] }, "description": "Links that will only be removed when already editing the page. Used to prevent edits that would only fix issues we consider minor." }, "whitelist": { "type": "array", "items": { "type": "string", "example": ["The Sunday Telegraph (Sydney)"] }, "description": "Links that will never be removed. Used when we believe editors may have deliberately provided a non-standard value that we wish to respect." }, "fixRedirects": { "type": "string", "enum": ["always", "onEdit", "never"], "default": "onEdit", "description": "Specifies when we will replace redirects to the provided link with the provided link." }, "fixDisplay": { "type": "string", "enum": ["always", "onEdit", "never"], "default": "onEdit", "description": "Specifies when we will replace the currently displayed text with the displayed version of the provided Wikitext." }, "fixOthers": { "type": "string", "enum": ["always", "onEdit", "never"], "default": "always", "description": "Specifies when we will replace links to pages that are neither redirects to the link nor on the provided lists." }, "fixMissing": { "type": "string", "enum": ["always", "onEdit", "never"], "default": "onEdit", "description": "Specifies when we will add a missing value" }, "priority": { "type": "integer", "default": 5, "description": "Provides a tie-breaker when multiple array objects meet the inclusion or exclusion criteria. Higher value is preferred. It is unspecified which configuration object is used when both have the same priority level.", "minimum": 1 } } } } } } |
What it does to these parameters depends on the configuration. For example:
"work": { "link": "ABC News (Australia)", "wikitext": " ABC News", "blacklist": ["ABC News (United States)", "ABC News"], "greylist": ["Australian Broadcasting Corporation"], "fixMissing": "onEdit", "fixRedirects": "onEdit", "fixOthers": "always" }
Will ensure that the "work" parameter only links to ABC News (Australia). When it finds a link to a source other than ABC News (Australia), its redirects, or Australian Broadcasting Corporation, it will edit the article to correct that link.
When it encounters a redirect, or Australian Broadcasting Corporation, or a missing value, it will only correct those if it is already editing the article.
If we change "fixMissing" to "always", it would edit the article to insert the value.
"agency": { "includes": [ { "key": "agency", "value": ["Reuters"] } ], "remove": "onEdit" }
Will remove the agency field when it contains "Reuters". This is used to correct when the field has been incorrectly filled with the name of the publisher or work.
"department": [ { "includes": [ { "key": "url", "value": ["reuters.com/world/"] } ], "wikitext": "World" }, { "includes": [ { "key": "url", "value": ["reuters.com/world/reuters-next/"] } ], "wikitext": "Reuters Next", "priority": 6 }, { "includes": [ { "key": "url", "value": ["reuters.com/business/"] } ], "wikitext": "Business" } ]
This fills in the department field based on the source url. If none of these are met then the department field is not filled.
The current configuration file will do the following:
The intent is that the community will expand the configuration file, increasing the number of citations it can fix.
Example of template replacements
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
When editing a template, to improve readability it will also apply a consistent format and naming convention. This involves converting parameters away from aliases to their primary values, and placing the parameters into the following order:
Order
|
---|
|
Operator: GoingBatty ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 14:12, Wednesday, February 7, 2024 ( UTC)
Function overview: Replace {{
coord missing}}
with {{
coord|source:wikidata|display=title}}
Automatic, Supervised, or Manual: Automatic
Programming language(s): AutoWikiBrowser
Source code available: AWB
Links to relevant discussions (where appropriate): Wikipedia:Bot requests#Using coordinates on Wikidata
Edit period(s): Monthly
Estimated number of pages affected: 20,661
Namespace(s): Mainspace
Exclusion compliant (Yes/No): Yes
Function details:
Category:Articles missing coordinates with coordinates on Wikidata contains 20,335 articles tagged with {{
coord missing}}
, but they all have coordinates available on Wikidata. This bot would replace {{
coord missing}}
with {{
coord|source:wikidata|display=title}}
which will fetch the coordinates from Wikidata (e.g.
this edit). This bot will also run
AWB's general fixes. Thank you for your consideration.
This might be a dumb question, but if every page indicating that it is missing coords is already on Wikipedia, why do we have this template? Why not just make it a wrapper/redirect to {{ coord}}? I know that MSGJ asked for this, and I trust their judgment, but this seems like a lot of work if it's that trivial of an issue. Primefac ( talk) 14:26, 7 February 2024 (UTC)
I'd be happy to support this, with one proviso, that the {{
coord}} template be changed so that transclusion from Wikidata was gated via a "source=wikidata" parameter, so that it was clear on the enwiki side why the edit was made, and where the coordinates were being pulled from. So {{
coord missing|Name of region}}
would become {{
coord|source=wikidata|display=title}}
. —
The Anome (
talk)
17:02, 7 February 2024 (UTC)
{{
coord|display=title}}
to an article that doesn't have coordinates on Wikidata, it blows up in an uninformative and mystifying way. Having this extra parameter might let the error message be improved, and also let such erroneous articles be put in a tracking category. From my viewpoint as a maintainer of the {{ coord missing}} ecosystem, the more tracking metadata we have, the better. I'm committed to a long-term transition to Wikidata as the master source of geodata, but it's going to be a long process, and the more we can smooth the transition by having backward and forward compatibility during the transition process, the better. — The Anome ( talk) 17:09, 7 February 2024 (UTC)
{{
coord|source:wikidata|display=title}}
(e.g.
this edit). (Note that |source=wikidata
generates an error.)
GoingBatty (
talk)
19:44, 7 February 2024 (UTC)
source:wikidata
seems unhelpful for populating a tracking category (if desired) — Martin (
MSGJ ·
talk)
21:38, 7 February 2024 (UTC)
source:wikidata
to source=wikidata
, then click "Show preview", and you'll see a message at the top right of the article next to the coordinates which states Coordinates: Parameter: "source=" should be "source:".
GoingBatty (
talk)
22:30, 7 February 2024 (UTC)
On hold. pending fix to the {{
coord}} template (assuming that's the consensus here). Please deactivate the template/ping when the issue is resolved.
ProcrastinatingReader (
talk)
12:05, 15 February 2024 (UTC)
Operator: Mdann52 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 15:45, Thursday, July 18, 2024 ( UTC)
Function overview: Reimplement deactivated bot HBC AIV helperbot5
Automatic, Supervised, or Manual: Automatic
Programming language(s): Currently Perl, possible future port to PWB
Source code available: Yes, see
User:HBC AIV helperbot/source
GitHub
Links to relevant discussions (where appropriate): per WP:BOTN#HBC_AIV_helperbot5_and_AdminStatsBot
Edit period(s): Continuous
Estimated number of pages affected: 5
Namespace(s):Wikipedia Space
Exclusion compliant (Yes/No): Yes, but not needed
Function details: Reimpliment the functionality of HBC AIV helperbot5 following operator passing away. See BOTN for context.
Approved for trial. Please provide a link to the relevant contributions and/or diffs when the trial is complete. Run it until you're sure it's working right, and then ping me here with the diffs and I'll check things and put in approval.
Primefac (
talk)
15:49, 18 July 2024 (UTC)
Does this version of the bot merge duplicates? Seems it only removed one of the two reports at AIV against the disruptive username account, as well. – 2804:F1...6D:BFBD ( talk) 09:56, 19 July 2024 (UTC)
Operator: C1MM ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 00:56, Tuesday, June 25, 2024 ( UTC)
Function overview: Would add constituency numbers in addition to constituency maps
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available:
Links to relevant discussions (where appropriate): Wikipedia:Bots/Requests for approval/C1MM-bot
Edit period(s): occasionally run, would edit all pages in one fell swoop
Estimated number of pages affected: ~4000
Namespace(s): Articles
Exclusion compliant (Yes/No): No
Function details: I already have approval for running my bot to add image maps to infoboxes of Indian state legislative assembly constituency pages. I would like to add constituency numbers as well, which are listed in the filenames for the image maps. These numbers are obtained from Election Commission of India (must have an Indian IP address to access). My bot loops through all the pages in a given category where {{Infobox Indian constituency }} is present. Where there is already a constituency number the page would be skipped, just as it is skipped if there is already an image in the image_map section. Otherwise the constituency number would be added preserving infobox formatting (if any). This is in addition to adding the map in the same manner. This is editing pages which are not generally sufficiently important to have the Bots template.
Operator: DannyS712 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 00:02, Thursday, May 9, 2024 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): JavaScript
Source code available: TBD
Function overview: Automatically mark redirects created by Wikipedia:Page movers as part of a page move as "patrolled" in the new page patrol / page curation system
Links to relevant discussions (where appropriate): Wikipedia talk:New pages patrol/Reviewers/Archive 51#Idea to reduce redirect backlog
Edit period(s): Continuous
Estimated number of pages affected: Lots
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: The code will be added to my current redirect patrolling bot rules (see User:DannyS712 bot III/rules for the current rules) once I write it. You can see the implementation I intend to use is to patrol all redirects based on the query below.
If possible, I'd like to request speedy approval and/or a time-based trial, so that I don't need to add a whole bunch of logic to the bot to count how many redirects have already been patrolled in the trial.
Query to run
|
---|
SELECT page_id AS 'pageid', page_title AS 'title', ptrpt_value AS 'target', actor_name AS 'creator' FROM page JOIN pagetriage_page ON page_id = ptrp_page_id JOIN pagetriage_page_tags ON ptrp_page_id = ptrpt_page_id JOIN revision rv ON page_latest = rev_id JOIN actor ON rev_actor = actor_id JOIN user_groups ON actor_user = ug_user WHERE ptrp_reviewed = 0 AND ptrpt_tag_id = 9 # Snippet AND page_namespace = 0 AND page_is_redirect = 1 AND EXISTS ( # Only 1 revision based on rev_count page triage tag SELECT 1 FROM pagetriage_page_tags tags2 WHERE tags2.ptrpt_page_id = page_id AND tags2.ptrpt_tag_id = 7 AND tags2.ptrpt_value = 1 ) AND EXISTS ( # Move log from the same time by the same person SELECT 1 FROM logging_logindex lgl2 WHERE log_namespace = page_namespace AND log_title = page_title AND log_timestamp = rev_timestamp AND log_actor = rev_actor AND log_type = 'move' AND log_action = 'move' ) AND ug_group = 'extendedmover' LIMIT 100; |
Approved for trial (100 edits or 14 days, whichever happens first). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
ProcrastinatingReader (
talk) 10:58, 9 May 2024 (UTC) count updated.
Primefac (
talk)
17:03, 29 June 2024 (UTC)
Operator: Mr. Stradivarius ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 03:19, Saturday, February 17, 2024 ( UTC)
Function overview: Automatically populate sandboxes for modules listing disambiguation templates, set index templates or soft redirect templates; and if necessary issue edit requests to update the main modules.
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python (Pywikibot framework)
Source code available: https://github.com/mrstradivarius/dabtemplates
Links to relevant discussions (where appropriate): Template talk:Pagetype#Detecting pages with Template:Wiktionary redirect and other soft redirects ( permalink)
Edit period(s): Daily
Estimated number of pages affected: 5
Namespace(s): Module, module talk, template talk
Exclusion compliant (Yes/No): Yes
Function details: This is an expansion of Wikipedia:Bots/Requests for approval/StradBot (task 1). Task 1 was for updating a disambiguation template list for Module:Disambiguation; this task expands this to two more use cases: updating a list of set index pages for Module:Pagetype, and updating a list of soft redirects, also for Module:Pagetype.
The bot uses the following algorithm. This has not changed since task 1.
-cat
option). Non-templates are ignored, as are templates in the bot's exclusion list (the -exclude
option). It then retrieves redirects for all of these templates.-data-page-sandbox
option). Saving is skipped if the module's content would not change. You can see sample output from the bot
here.-data-page
option), then the bot adds an edit request to update the main module to the relevant talk page (the -data-talk-page
option). There is a sample edit request
here.The bot will be used to update the following modules:
# | Use case | Option | Value | Notes |
---|---|---|---|---|
1 | Update disambiguation templates for Module:Disambiguation. | -data-page-sandbox
|
Module:Disambiguation/templates/sandbox | Already approved in Wikipedia:Bots/Requests for approval/StradBot. |
-data-page
|
Module:Disambiguation/templates | |||
-data-talk-page
|
Module talk:Disambiguation | |||
-cat
|
Category:Disambiguation message boxes | |||
-exclude
|
Template:Dmbox | |||
2 | Update set index templates for Module:Pagetype. | -data-page-sandbox
|
Module:Pagetype/setindex/sandbox | |
-data-page
|
Module:Pagetype/setindex | |||
-data-talk-page
|
Template talk:Pagetype | |||
-cat
|
Category:Set index article templates | |||
-exclude
|
Template:Dmbox | |||
3 | Update soft redirect templates for Module:Pagetype. | -data-page-sandbox
|
Module:Pagetype/softredirect/sandbox | |
-data-page
|
Module:Pagetype/softredirect | |||
-data-talk-page
|
Template talk:Pagetype | |||
-cat
|
Category:Templates for soft redirects | |||
-exclude
|
Template:Resolve category redirect |
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): Daily
Estimated number of pages affected: 25 pages/week
Namespace(s): Talk
Exclusion compliant (Yes/No): No
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. As for exclusion compliance, I have not added that feature in yet.
The Top 25 report is updated weekly. Why does this task need to run twice a day? Primefac ( talk) 09:08, 14 June 2023 (UTC)
Approved for trial (1 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. I'm trying to wrap my head around what's this bot supposed to do exactly, so I'm going to approve it for a one-time run of 1 day. This should give me (and perhaps others) a better idea of what this is about.
Headbomb {
t ·
c ·
p ·
b}
17:34, 2 July 2023 (UTC)
Approved for extended trial (25 edits or 7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. One week's worth, or 25 edits, whichever you need.
Headbomb {
t ·
c ·
p ·
b}
17:16, 7 July 2023 (UTC)
{{ Operator assistance needed}} It has been more than a month since the last post, is this trial still ongoing? Primefac ( talk) 13:26, 31 December 2023 (UTC)
ranks
attribute, as is seen in the
5 most recent bot edits, all of which are to my test pages. I've also created support for converting preexisting top25 templates of the alternate form into regular form top 25s, and made it so top 25 report templates longer than 800 bytes are collapsed. I will test the bot once the report is switched to the current week, which should be on Saturday or Sunday.
Capsulecap (
talk •
contribs)
01:34, 6 January 2024 (UTC)Operator: Hawkeye7 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 01:57, Wednesday, March 22, 2023 ( UTC)
Function overview: Mark unassessed stub articles as stubs
Automatic, Supervised, or Manual: Automatic
Source code available: Not yet
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 84#Stub assessments with ORES
Edit period(s): daily
Estimated number of pages affected: < 100 per day
Namespace(s): Talk
Exclusion compliant (Yes/No): Yes
Function details: Go through Category:Unassessed articles (only deals with articles already tagged as belonging to a project). If an unassessed article is rated as a stub by ORES, tag the article as a stub. Example
There is no set size at which an article stops being a stub.EpicPupper ( talk) 23:04, 30 March 2023 (UTC)
The ORES ratings for stubs are very reliable (some false negatives – which wouldn't be touched under this proposal – but no false positives). Hawkeye7 (discuss) 00:03, 31 March 2023 (UTC)
{{ Operator assistance needed}} It has been more than a month since the last post, is this trial still ongoing? Primefac ( talk) 13:26, 31 December 2023 (UTC)
Operator: EpicPupper ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 02:55, Thursday, March 2, 2023 ( UTC)
Automatic, Supervised, or Manual: automatic
Source code available:
Function overview: Replace AMP links in citations
Links to relevant discussions (where appropriate): BOTREQ, Village Pump
Edit period(s): Weekly
Estimated number of pages affected: Unknown, estimated to be in the range of hundreds of thousands
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: Using the AmputatorBot API, replaces AMP links with canonical equivalents. This task runs on all pages with citation templates which have URL parameters (e.g. {{ cite news}}, {{ cite web}}, etc).
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
Primefac (
talk)
10:27, 8 March 2023 (UTC)
{{ Operator assistance needed}} It has been more than a month since the last post, is this trial still ongoing? Primefac ( talk) 13:26, 31 December 2023 (UTC)
Operator: Usernamekiran ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:48, Monday, July 15, 2024 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): pywikibot
Source code available:
Function overview: tag the talk pages of women's basketball articles with {{
WikiProject Basketball|women=yes}}
and {{
WikiProject Women's sport|basketball=yes}}
if not already tagged.
Links to relevant discussions (where appropriate): request at BOTREQ
Edit period(s): one time run
Estimated number of pages affected: around 17,000
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: At WP:Bot requests, a request was made to tag talkpages of pages from 4,300 categories list of categories.
After making some dummy test edits, I created a list of non-repetitive pages which is around 17,000.
all these categories are explicitly about women's basketball. some of the talpkages are missing "WikiProject Women's sport", some have it, but are missing the "basketball" ({{
WikiProject Women's sport|basketball=yes}}
), and similar goes true for {{
WikiProject Basketball|women=yes}}
.
I already made some null test edits, requesting a trial run with 50 edits. —usernamekiran (talk) 23:49, 15 July 2024 (UTC)
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
Primefac (
talk)
12:51, 21 July 2024 (UTC)
Trial complete.
the 50 edits. Apparently, the program is removing everything else from the talkpage other than wikiproject banners. I think I have found the reason/flaw. I will fix it in a couple of days I hope. I have already reverted all the 50 edits. —usernamekiran
(talk)
15:48, 21 July 2024 (UTC)
Operator: DreamRimmer ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 14:01, Monday, May 27, 2024 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available:
Function overview: Fix the URLs for the ECI election database.
Links to relevant discussions (where appropriate):
Edit period(s): Every six months
Estimated number of pages affected: 5050
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): No
Function details: The
Election Commission of India has moved all of its data (except for very recent elections) to a subdomain. As a result, URLs in more than 5000 pages are now invalid and are giving a 404 error. This bot will replace URLs like
https://eci.gov.in/files/file/11699-maharashtra-legislative-assembly-election-2019
with the new URL
https://old.eci.gov.in/files/file/11699-maharashtra-legislative-assembly-election-2019
. Simply replace
https://eci.gov.in/
with
https://old.eci.gov.in/
.
Why every six months? Primefac ( talk) 18:28, 27 May 2024 (UTC)
https://eci.gov.in/
since it's a "recent election". At what point will that URL get archived to the
https://old.eci.gov.in/
prefix? If it is archived after the subsequent election, why not just update the URL with the new election information along with the data it represents?
Primefac (
talk)
15:00, 6 June 2024 (UTC)
(?<!/)(?<!\\?url=)https?://eci[.]gov[.]in/[^\\s\\]|}{<]*[^\\s\\]|}{<]*
|url-status=
, {{
webarchive}}
and {{
dead link}}
. Also links that are square and bare. It might too difficult to get all these exactly right, if you can change the main |url=
and square URLs and verify the new URL works, that will go a long way! --
Green
C
15:51, 8 June 2024 (UTC)
Note: these links are georestricted to India IPs and can't be archived, or archived very well. I found an article in The Hindu that talks about it. The article quotes one our most technically knowledgeable editors, User:Nemo_bis, who said: "Nemo has studied 'geofencing' of Indian government websites in the past, and in 2020 created a proxy service for users located abroad to access Indian government websites". This might be our solution. I hope Nemo has a working proxy for the Election Commission website? -- Green C 17:58, 5 July 2024 (UTC)
Operator: Primefac ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 12:48, Thursday, May 11, 2023 ( UTC)
Function overview: Convert template use following update
Automatic, Supervised, or Manual: Automatic
Source code available: WP:AWB
Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Templates § Request for a template
Edit period(s): OTR
Estimated number of pages affected:
Namespace(s): 783
Exclusion compliant (Yes/No): Yes
Function details: {{
Wikisource author}} recently was updated to allow for a |lang=
parameter to link directly to non-English versions of wikisource for an author. A similar template, {{
Wikisourcelang}}, links to a generic search on said language wiki for said author. This task will change {{
Wikisourcelang|<lang>|otherstuff}}
into a {{
Wikisource author|lang=<lang>|otherstuff}}
call.
de
do not use an "author" prefix (see e.g.
Adolph Friedrich Johann Riedel and his corresponding page on
de Wikisource), but I can't figure out which languages it holds to. I am not necessarily seeing a specific pattern between what languages do and do not. My thoughts are of two possibilities - run this task only for languages where the proposed change has the intended effect, or just scrap this BRFA and do these changes manually.
Primefac (
talk)
12:52, 4 July 2023 (UTC)
Bots that have been approved for operations after a successful BRFA will be listed here for informational purposes. No other approval action is required for these bots. Recently approved requests can be found here ( ), while old requests can be found in the archives.
Bots that have been denied for operations will be listed here for informational purposes for at least 7 days before being archived. No other action is required for these bots. Older requests can be found in the Archive.
These requests have either expired, as information required by the operator was not provided, or been withdrawn. These tasks are not authorized to run, but such lack of authorization does not necessarily follow from a finding as to merit. A bot that, having been approved for testing, was not tested by an editor, or one for which the results of testing were not posted, for example, would appear here. Bot requests should not be placed here if there is an active discussion ongoing above. Operators whose requests have expired may reactivate their requests at any time. The following list shows recent requests (if any) that have expired, listed here for informational purposes for at least 7 days before being archived. Older requests can be found in the respective archives: Expired, Withdrawn.
![]() | All editors are encouraged to participate in the requests below – your comments are appreciated more than you may think! |
New to bots on Wikipedia? Read these primers!
To run a bot on the English Wikipedia, you must first get it approved. Follow the instructions below to add a request. If you are not familiar with programming consider asking someone else to run a bot for you.
Instructions for bot operators | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Bot-related archives ( v· t· e) |
---|
Bot Name | Status | Created | Last editor | Date/Time | Last BAG editor | Date/Time |
---|---|---|---|---|---|---|
PonoRoboT 2 ( T| C| B| F) | Open | 2024-07-20, 23:38:17 | Ponor | 2024-07-21, 19:54:20 | Primefac | 2024-07-21, 12:07:41 |
SodiumBot 2 ( T| C| B| F) | Open | 2024-07-16, 20:03:26 | Primefac | 2024-07-21, 16:07:53 | Primefac | 2024-07-21, 16:07:53 |
HooptyBot 2 ( T| C| B| F) | Open: User response needed! | 2024-07-08, 19:59:06 | Primefac | 2024-07-21, 12:51:09 | Primefac | 2024-07-21, 12:51:09 |
Platybot ( T| C| B| F) | Open | 2024-07-08, 08:52:05 | BilledMammal | 2024-07-21, 05:47:37 | Never edited by BAG | n/a |
BattyBot 81 ( T| C| B| F) | On hold | 2024-02-07, 14:12:49 | ProcrastinatingReader | 2024-02-15, 12:09:35 | ProcrastinatingReader | 2024-02-15, 12:09:35 |
HBC AIV helperbot14 ( T| C| B| F) | In trial | 2024-07-18, 15:45:16 | Joe Roe | 2024-07-22, 10:10:27 | Primefac | 2024-07-21, 12:41:38 |
C1MM-bot 2 ( T| C| B| F) | In trial | 2024-06-25, 00:56:44 | Primefac | 2024-07-05, 17:53:58 | Primefac | 2024-07-05, 17:53:58 |
DannyS712 bot III 74 ( T| C| B| F) | In trial | 2024-05-09, 00:02:12 | DannyS712 | 2024-07-21, 02:39:35 | TheSandDoctor | 2024-07-13, 22:20:18 |
StradBot 2 ( T| C| B| F) | In trial | 2024-02-17, 03:20:39 | SD0001 | 2024-02-17, 05:58:51 | SD0001 | 2024-02-17, 05:58:51 |
CapsuleBot 2 ( T| C| B| F) | Extended trial | 2023-06-14, 00:14:29 | Capsulecap | 2024-01-20, 02:36:30 | Primefac | 2024-01-15, 07:40:39 |
AussieBot 1 ( T| C| B| F) | Extended trial: User response needed! | 2023-03-22, 01:57:36 | Hawkeye7 | 2024-02-18, 23:33:13 | Primefac | 2024-02-18, 20:10:45 |
DoggoBot 10 ( T| C| B| F) | In trial | 2023-03-02, 02:55:00 | Usernamekiran | 2024-07-18, 16:59:45 | Primefac | 2024-01-15, 07:40:49 |
KiranBOT 9 ( T| C| B| F) | Trial complete | 2024-07-15, 23:48:57 | Usernamekiran | 2024-07-21, 15:48:40 | Primefac | 2024-07-21, 12:51:51 |
BaranBOT 2 ( T| C| B| F) | Trial complete | 2024-05-27, 14:01:46 | DreamRimmer | 2024-07-06, 14:03:24 | Primefac | 2024-06-27, 15:25:33 |
PrimeBOT 39 ( T| C| B| F) | On hold | 2023-05-11, 12:48:50 | Primefac | 2023-09-22, 10:51:59 | Headbomb | 2023-07-02, 17:38:58 |
Operator: Ponor ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:36, Saturday, July 20, 2024 ( UTC)
Function overview: WP:MASSCREATE the remaining 3200 out of 6700 Croatian naseljes (settlements), which are the third level division of the country. The bot can create stubs like Dubrava, Split-Dalmatia County. Update the existing articles with ZIP codes (new official source), and historical population data graphs (where possible, under full supervision).
Automatic, Supervised, or Manual: Automatic creation. Supervised or manual updates.
Programming language(s): Python @ PAWS
Source code available: possible
Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Croatia/Archive 5#Croatian settlement articles mass creation
Edit period(s): one time run
Estimated number of pages affected: 3200 (+2500 or so)
Namespace(s): Articles
Exclusion compliant (Yes/No): irrelevant
Function details:
Needs
wider discussion. The discussion you link was between you and only one other person. Please seek consensus at
WP:Village pump (proposals) or a similar venue where we can be sure many people have seen it.
Anomie
⚔
01:11, 21 July 2024 (UTC)
It is also strongly encouraged (and may be required by BAG) that community input be solicited at WP:Village pump (proposals) and the talk pages of any relevant WikiProjects.Unless you can get another BAGger to proceed without, this is me requiring. Anomie ⚔ 11:17, 21 July 2024 (UTC)
Operator: Sohom Datta ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 20:03, Tuesday, July 16, 2024 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: https://github.com/sohomdatta1/npp-notifier-bot
Function overview: Notify previous reviewers of a article at AFD about the nomination
Links to relevant discussions (where appropriate): Initial discussions on NPP Discord + previous BRFAs surrounding AFD notifications
Edit period(s): Continuous
Estimated number of pages affected: 1-2 per day (guessimate?)
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): No, on enwiki, yes, for other wikis on other tasks
Function details:
{{User:SodiumBot/NoNPPDelivery}}
, which should serve as a opt out mechanism :) I've also reworked the code to include
SD0001's suggestion of adding a significant delay by making the bot wait at least a hour and also added modified the regex to account for the messages sent by PageTriage.Operator: JPxG ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 19:58, Monday, July 8, 2024 ( UTC)
Function overview: This is a pro forma request; the bot has been running for three years at User:JPxG/Oracle, but having these pages in my userspace is geting to be rather inconvenient, and I feel like I should just put them in projectspace. In fact, I had wanted to do this in the first place -- the only reason I used my userspace was because that way I didn't have to file a BRFA. At any rate, it's been running fine for three years.
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python, Bash
Source code available: https://github.com/jp-x-g/oraclefordeletion
Links to relevant discussions (where appropriate): n/a
Edit period(s): Daily or so (the two active pages are once an hour), if the Group wants me to do it more or less frequently that is fine
Estimated number of pages affected: Zero outside of its homezone, Special:PrefixIndex/User:JPxG/Oracle inside its homezone.
Namespace(s): Wikipedia
Exclusion compliant (Yes/No): n/a
Function details: From the explanatory page: the Oracle pages contain detailed information on article deletion discussions. The current dashboard is updated regularly, and shows all current deletion discussions (along with their size, !vote count, and article statistics like number of editors and creation date). They are separated by day, and by open/closed status. It goes back 31 days. Monthly archive pages (like 2006-12, 2020-03, etc) are a huge table listing every AfD from the entire month. This table includes (and is sortable by) outcome, "keep" ratio, number of participants, size of the AfD page, et cetera. Yearly archive pages (like 2006, 2020, etc) include the summary table from the top of each monthly archive. They also feature aggregate statistics for the year. The all-time archive page has a number of tables and graphs, analyzing aggregate statistics for every AfD from 2005 onward.
Where would the new pages be hosted at? Headbomb { t · c · p · b} 10:01, 16 July 2024 (UTC)
Operator: BilledMammal ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 08:51, Monday, July 8, 2024 ( UTC)
Function overview: Adjusts templates based on provided JSON configuration files. This request is limited to Template:Cite news and Template:Cite web, and is primarily intended to correct issues where the work or publisher is linked to the wrong target.
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: Not currently
Links to relevant discussions (where appropriate):
Edit period(s): Initially, irregular one-off runs, with each held after significant expansions to the configuration file. Once most citations have been fixed I will open a request for continuous operation in a maintenance mode.
Estimated number of pages affected: Varies considerably based on configuration. This configuration, which applies to ten sources, will edit approximately 23,000. This configuration, which goes beyond correcting wrong links and also always inserts the correct link when one is missing, will edit approximately 450,000.
Namespace(s): Mainspace
Exclusion compliant (Yes/No): Yes
Function details: Adjusts parameters of Cite news and Cite web based on a configuration file. This configuration can be applied to any parameter, but the intent of this request is to apply it to the following:
It determines which change to apply based on current parameter field values. Any field or combination of fields can be used, but the intent of this request is to use the "url" field.
Adjustments can be specified as "always", "onEdit", or "never". When "always" is specified, if a change is identified as being desired for a parameter the article will be edited to implement it. When "onEdit" is specified, desirable changes are only implemented if we are already editing the page. This reduces the impact on watchlists by skipping articles that don't have high priority issues.
Configuration schema
|
---|
{ "$schema": " http://json-schema.org/draft-07/schema#", "type": "array", "items": { "type": "object", "properties": { "includes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "example": "url" }, "value": { "type": "array", "items": { "type": "string", "example": ["www.bbc.com", "www.bbc.co.uk"] } } } }, "description": "Lists conditions required to be met for this configuration to be applied to the template." }, "excludes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "example": "url" }, "value": { "type": "array", "items": { "type": "string", "example": ["www.bbc.com/sport", "www.bbc.co.uk/sport"] } } }, "description": "Lists conditions that must not be met for this configuration to be applied to the template." } }, "patternProperties": { "^[a-zA-Z0-9-]+$": { "oneOf": [ { "type": "array", "description": "Named for the parameter, and defines what will be done with it. Used when there are multiple possible configurations for the parameter.", "items": { "$ref": "#/definitions/parameter-config" } }, { "type": "object", "description": "Named for the parameter, and defines what will be done with it. Used when there is only one possible configuration for the parameter.", "$ref": "#/definitions/parameter-config" } ] } } }, "definitions": { "parameter-config": { "$schema": " http://json-schema.org/draft-07/schema#", "$id": "parameter-config", "type": "object", "properties": { "includes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "example": ["url"] }, "value": { "type": "array", "items": { "type": "string", "example": ["www.bbc.com", "www.bbc.co.uk"] } } } }, "description": "Lists conditions required to be met for this configuration to be applied to the parameter." }, "excludes": { "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string", "example": ["url"] }, "value": { "type": "array", "items": { "type": "string", "example": ["www.bbc.com/sport", "www.bbc.co.uk/sport"] } } } }, "description": "Lists conditions that must not be met for this configuration to be applied to the parameter." }, "link": { "type": "string", "description": "Where the parameter should normally link to", "example": ["ABC News (Australia)"] }, "wikitext": { "type": "string", "description": "What the wikitext of the parameter should normally be", "example": [" ABC News"] }, "blacklist": { "type": "array", "items": { "type": "string", "example": ["ABC News (United States)", "ABC News"] }, "description": "Links that will always be removed" }, "greylist": { "type": "array", "items": { "type": "string", "example": ["Australian Broadcasting Corporation"] }, "description": "Links that will only be removed when already editing the page. Used to prevent edits that would only fix issues we consider minor." }, "whitelist": { "type": "array", "items": { "type": "string", "example": ["The Sunday Telegraph (Sydney)"] }, "description": "Links that will never be removed. Used when we believe editors may have deliberately provided a non-standard value that we wish to respect." }, "fixRedirects": { "type": "string", "enum": ["always", "onEdit", "never"], "default": "onEdit", "description": "Specifies when we will replace redirects to the provided link with the provided link." }, "fixDisplay": { "type": "string", "enum": ["always", "onEdit", "never"], "default": "onEdit", "description": "Specifies when we will replace the currently displayed text with the displayed version of the provided Wikitext." }, "fixOthers": { "type": "string", "enum": ["always", "onEdit", "never"], "default": "always", "description": "Specifies when we will replace links to pages that are neither redirects to the link nor on the provided lists." }, "fixMissing": { "type": "string", "enum": ["always", "onEdit", "never"], "default": "onEdit", "description": "Specifies when we will add a missing value" }, "priority": { "type": "integer", "default": 5, "description": "Provides a tie-breaker when multiple array objects meet the inclusion or exclusion criteria. Higher value is preferred. It is unspecified which configuration object is used when both have the same priority level.", "minimum": 1 } } } } } } |
What it does to these parameters depends on the configuration. For example:
"work": { "link": "ABC News (Australia)", "wikitext": " ABC News", "blacklist": ["ABC News (United States)", "ABC News"], "greylist": ["Australian Broadcasting Corporation"], "fixMissing": "onEdit", "fixRedirects": "onEdit", "fixOthers": "always" }
Will ensure that the "work" parameter only links to ABC News (Australia). When it finds a link to a source other than ABC News (Australia), its redirects, or Australian Broadcasting Corporation, it will edit the article to correct that link.
When it encounters a redirect, or Australian Broadcasting Corporation, or a missing value, it will only correct those if it is already editing the article.
If we change "fixMissing" to "always", it would edit the article to insert the value.
"agency": { "includes": [ { "key": "agency", "value": ["Reuters"] } ], "remove": "onEdit" }
Will remove the agency field when it contains "Reuters". This is used to correct when the field has been incorrectly filled with the name of the publisher or work.
"department": [ { "includes": [ { "key": "url", "value": ["reuters.com/world/"] } ], "wikitext": "World" }, { "includes": [ { "key": "url", "value": ["reuters.com/world/reuters-next/"] } ], "wikitext": "Reuters Next", "priority": 6 }, { "includes": [ { "key": "url", "value": ["reuters.com/business/"] } ], "wikitext": "Business" } ]
This fills in the department field based on the source url. If none of these are met then the department field is not filled.
The current configuration file will do the following:
The intent is that the community will expand the configuration file, increasing the number of citations it can fix.
Example of template replacements
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
When editing a template, to improve readability it will also apply a consistent format and naming convention. This involves converting parameters away from aliases to their primary values, and placing the parameters into the following order:
Order
|
---|
|
Operator: GoingBatty ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 14:12, Wednesday, February 7, 2024 ( UTC)
Function overview: Replace {{
coord missing}}
with {{
coord|source:wikidata|display=title}}
Automatic, Supervised, or Manual: Automatic
Programming language(s): AutoWikiBrowser
Source code available: AWB
Links to relevant discussions (where appropriate): Wikipedia:Bot requests#Using coordinates on Wikidata
Edit period(s): Monthly
Estimated number of pages affected: 20,661
Namespace(s): Mainspace
Exclusion compliant (Yes/No): Yes
Function details:
Category:Articles missing coordinates with coordinates on Wikidata contains 20,335 articles tagged with {{
coord missing}}
, but they all have coordinates available on Wikidata. This bot would replace {{
coord missing}}
with {{
coord|source:wikidata|display=title}}
which will fetch the coordinates from Wikidata (e.g.
this edit). This bot will also run
AWB's general fixes. Thank you for your consideration.
This might be a dumb question, but if every page indicating that it is missing coords is already on Wikipedia, why do we have this template? Why not just make it a wrapper/redirect to {{ coord}}? I know that MSGJ asked for this, and I trust their judgment, but this seems like a lot of work if it's that trivial of an issue. Primefac ( talk) 14:26, 7 February 2024 (UTC)
I'd be happy to support this, with one proviso, that the {{
coord}} template be changed so that transclusion from Wikidata was gated via a "source=wikidata" parameter, so that it was clear on the enwiki side why the edit was made, and where the coordinates were being pulled from. So {{
coord missing|Name of region}}
would become {{
coord|source=wikidata|display=title}}
. —
The Anome (
talk)
17:02, 7 February 2024 (UTC)
{{
coord|display=title}}
to an article that doesn't have coordinates on Wikidata, it blows up in an uninformative and mystifying way. Having this extra parameter might let the error message be improved, and also let such erroneous articles be put in a tracking category. From my viewpoint as a maintainer of the {{ coord missing}} ecosystem, the more tracking metadata we have, the better. I'm committed to a long-term transition to Wikidata as the master source of geodata, but it's going to be a long process, and the more we can smooth the transition by having backward and forward compatibility during the transition process, the better. — The Anome ( talk) 17:09, 7 February 2024 (UTC)
{{
coord|source:wikidata|display=title}}
(e.g.
this edit). (Note that |source=wikidata
generates an error.)
GoingBatty (
talk)
19:44, 7 February 2024 (UTC)
source:wikidata
seems unhelpful for populating a tracking category (if desired) — Martin (
MSGJ ·
talk)
21:38, 7 February 2024 (UTC)
source:wikidata
to source=wikidata
, then click "Show preview", and you'll see a message at the top right of the article next to the coordinates which states Coordinates: Parameter: "source=" should be "source:".
GoingBatty (
talk)
22:30, 7 February 2024 (UTC)
On hold. pending fix to the {{
coord}} template (assuming that's the consensus here). Please deactivate the template/ping when the issue is resolved.
ProcrastinatingReader (
talk)
12:05, 15 February 2024 (UTC)
Operator: Mdann52 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 15:45, Thursday, July 18, 2024 ( UTC)
Function overview: Reimplement deactivated bot HBC AIV helperbot5
Automatic, Supervised, or Manual: Automatic
Programming language(s): Currently Perl, possible future port to PWB
Source code available: Yes, see
User:HBC AIV helperbot/source
GitHub
Links to relevant discussions (where appropriate): per WP:BOTN#HBC_AIV_helperbot5_and_AdminStatsBot
Edit period(s): Continuous
Estimated number of pages affected: 5
Namespace(s):Wikipedia Space
Exclusion compliant (Yes/No): Yes, but not needed
Function details: Reimpliment the functionality of HBC AIV helperbot5 following operator passing away. See BOTN for context.
Approved for trial. Please provide a link to the relevant contributions and/or diffs when the trial is complete. Run it until you're sure it's working right, and then ping me here with the diffs and I'll check things and put in approval.
Primefac (
talk)
15:49, 18 July 2024 (UTC)
Does this version of the bot merge duplicates? Seems it only removed one of the two reports at AIV against the disruptive username account, as well. – 2804:F1...6D:BFBD ( talk) 09:56, 19 July 2024 (UTC)
Operator: C1MM ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 00:56, Tuesday, June 25, 2024 ( UTC)
Function overview: Would add constituency numbers in addition to constituency maps
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available:
Links to relevant discussions (where appropriate): Wikipedia:Bots/Requests for approval/C1MM-bot
Edit period(s): occasionally run, would edit all pages in one fell swoop
Estimated number of pages affected: ~4000
Namespace(s): Articles
Exclusion compliant (Yes/No): No
Function details: I already have approval for running my bot to add image maps to infoboxes of Indian state legislative assembly constituency pages. I would like to add constituency numbers as well, which are listed in the filenames for the image maps. These numbers are obtained from Election Commission of India (must have an Indian IP address to access). My bot loops through all the pages in a given category where {{Infobox Indian constituency }} is present. Where there is already a constituency number the page would be skipped, just as it is skipped if there is already an image in the image_map section. Otherwise the constituency number would be added preserving infobox formatting (if any). This is in addition to adding the map in the same manner. This is editing pages which are not generally sufficiently important to have the Bots template.
Operator: DannyS712 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 00:02, Thursday, May 9, 2024 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): JavaScript
Source code available: TBD
Function overview: Automatically mark redirects created by Wikipedia:Page movers as part of a page move as "patrolled" in the new page patrol / page curation system
Links to relevant discussions (where appropriate): Wikipedia talk:New pages patrol/Reviewers/Archive 51#Idea to reduce redirect backlog
Edit period(s): Continuous
Estimated number of pages affected: Lots
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: The code will be added to my current redirect patrolling bot rules (see User:DannyS712 bot III/rules for the current rules) once I write it. You can see the implementation I intend to use is to patrol all redirects based on the query below.
If possible, I'd like to request speedy approval and/or a time-based trial, so that I don't need to add a whole bunch of logic to the bot to count how many redirects have already been patrolled in the trial.
Query to run
|
---|
SELECT page_id AS 'pageid', page_title AS 'title', ptrpt_value AS 'target', actor_name AS 'creator' FROM page JOIN pagetriage_page ON page_id = ptrp_page_id JOIN pagetriage_page_tags ON ptrp_page_id = ptrpt_page_id JOIN revision rv ON page_latest = rev_id JOIN actor ON rev_actor = actor_id JOIN user_groups ON actor_user = ug_user WHERE ptrp_reviewed = 0 AND ptrpt_tag_id = 9 # Snippet AND page_namespace = 0 AND page_is_redirect = 1 AND EXISTS ( # Only 1 revision based on rev_count page triage tag SELECT 1 FROM pagetriage_page_tags tags2 WHERE tags2.ptrpt_page_id = page_id AND tags2.ptrpt_tag_id = 7 AND tags2.ptrpt_value = 1 ) AND EXISTS ( # Move log from the same time by the same person SELECT 1 FROM logging_logindex lgl2 WHERE log_namespace = page_namespace AND log_title = page_title AND log_timestamp = rev_timestamp AND log_actor = rev_actor AND log_type = 'move' AND log_action = 'move' ) AND ug_group = 'extendedmover' LIMIT 100; |
Approved for trial (100 edits or 14 days, whichever happens first). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
ProcrastinatingReader (
talk) 10:58, 9 May 2024 (UTC) count updated.
Primefac (
talk)
17:03, 29 June 2024 (UTC)
Operator: Mr. Stradivarius ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 03:19, Saturday, February 17, 2024 ( UTC)
Function overview: Automatically populate sandboxes for modules listing disambiguation templates, set index templates or soft redirect templates; and if necessary issue edit requests to update the main modules.
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python (Pywikibot framework)
Source code available: https://github.com/mrstradivarius/dabtemplates
Links to relevant discussions (where appropriate): Template talk:Pagetype#Detecting pages with Template:Wiktionary redirect and other soft redirects ( permalink)
Edit period(s): Daily
Estimated number of pages affected: 5
Namespace(s): Module, module talk, template talk
Exclusion compliant (Yes/No): Yes
Function details: This is an expansion of Wikipedia:Bots/Requests for approval/StradBot (task 1). Task 1 was for updating a disambiguation template list for Module:Disambiguation; this task expands this to two more use cases: updating a list of set index pages for Module:Pagetype, and updating a list of soft redirects, also for Module:Pagetype.
The bot uses the following algorithm. This has not changed since task 1.
-cat
option). Non-templates are ignored, as are templates in the bot's exclusion list (the -exclude
option). It then retrieves redirects for all of these templates.-data-page-sandbox
option). Saving is skipped if the module's content would not change. You can see sample output from the bot
here.-data-page
option), then the bot adds an edit request to update the main module to the relevant talk page (the -data-talk-page
option). There is a sample edit request
here.The bot will be used to update the following modules:
# | Use case | Option | Value | Notes |
---|---|---|---|---|
1 | Update disambiguation templates for Module:Disambiguation. | -data-page-sandbox
|
Module:Disambiguation/templates/sandbox | Already approved in Wikipedia:Bots/Requests for approval/StradBot. |
-data-page
|
Module:Disambiguation/templates | |||
-data-talk-page
|
Module talk:Disambiguation | |||
-cat
|
Category:Disambiguation message boxes | |||
-exclude
|
Template:Dmbox | |||
2 | Update set index templates for Module:Pagetype. | -data-page-sandbox
|
Module:Pagetype/setindex/sandbox | |
-data-page
|
Module:Pagetype/setindex | |||
-data-talk-page
|
Template talk:Pagetype | |||
-cat
|
Category:Set index article templates | |||
-exclude
|
Template:Dmbox | |||
3 | Update soft redirect templates for Module:Pagetype. | -data-page-sandbox
|
Module:Pagetype/softredirect/sandbox | |
-data-page
|
Module:Pagetype/softredirect | |||
-data-talk-page
|
Template talk:Pagetype | |||
-cat
|
Category:Templates for soft redirects | |||
-exclude
|
Template:Resolve category redirect |
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): Daily
Estimated number of pages affected: 25 pages/week
Namespace(s): Talk
Exclusion compliant (Yes/No): No
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. As for exclusion compliance, I have not added that feature in yet.
The Top 25 report is updated weekly. Why does this task need to run twice a day? Primefac ( talk) 09:08, 14 June 2023 (UTC)
Approved for trial (1 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. I'm trying to wrap my head around what's this bot supposed to do exactly, so I'm going to approve it for a one-time run of 1 day. This should give me (and perhaps others) a better idea of what this is about.
Headbomb {
t ·
c ·
p ·
b}
17:34, 2 July 2023 (UTC)
Approved for extended trial (25 edits or 7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. One week's worth, or 25 edits, whichever you need.
Headbomb {
t ·
c ·
p ·
b}
17:16, 7 July 2023 (UTC)
{{ Operator assistance needed}} It has been more than a month since the last post, is this trial still ongoing? Primefac ( talk) 13:26, 31 December 2023 (UTC)
ranks
attribute, as is seen in the
5 most recent bot edits, all of which are to my test pages. I've also created support for converting preexisting top25 templates of the alternate form into regular form top 25s, and made it so top 25 report templates longer than 800 bytes are collapsed. I will test the bot once the report is switched to the current week, which should be on Saturday or Sunday.
Capsulecap (
talk •
contribs)
01:34, 6 January 2024 (UTC)Operator: Hawkeye7 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 01:57, Wednesday, March 22, 2023 ( UTC)
Function overview: Mark unassessed stub articles as stubs
Automatic, Supervised, or Manual: Automatic
Source code available: Not yet
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 84#Stub assessments with ORES
Edit period(s): daily
Estimated number of pages affected: < 100 per day
Namespace(s): Talk
Exclusion compliant (Yes/No): Yes
Function details: Go through Category:Unassessed articles (only deals with articles already tagged as belonging to a project). If an unassessed article is rated as a stub by ORES, tag the article as a stub. Example
There is no set size at which an article stops being a stub.EpicPupper ( talk) 23:04, 30 March 2023 (UTC)
The ORES ratings for stubs are very reliable (some false negatives – which wouldn't be touched under this proposal – but no false positives). Hawkeye7 (discuss) 00:03, 31 March 2023 (UTC)
{{ Operator assistance needed}} It has been more than a month since the last post, is this trial still ongoing? Primefac ( talk) 13:26, 31 December 2023 (UTC)
Operator: EpicPupper ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 02:55, Thursday, March 2, 2023 ( UTC)
Automatic, Supervised, or Manual: automatic
Source code available:
Function overview: Replace AMP links in citations
Links to relevant discussions (where appropriate): BOTREQ, Village Pump
Edit period(s): Weekly
Estimated number of pages affected: Unknown, estimated to be in the range of hundreds of thousands
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: Using the AmputatorBot API, replaces AMP links with canonical equivalents. This task runs on all pages with citation templates which have URL parameters (e.g. {{ cite news}}, {{ cite web}}, etc).
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
Primefac (
talk)
10:27, 8 March 2023 (UTC)
{{ Operator assistance needed}} It has been more than a month since the last post, is this trial still ongoing? Primefac ( talk) 13:26, 31 December 2023 (UTC)
Operator: Usernamekiran ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:48, Monday, July 15, 2024 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): pywikibot
Source code available:
Function overview: tag the talk pages of women's basketball articles with {{
WikiProject Basketball|women=yes}}
and {{
WikiProject Women's sport|basketball=yes}}
if not already tagged.
Links to relevant discussions (where appropriate): request at BOTREQ
Edit period(s): one time run
Estimated number of pages affected: around 17,000
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: At WP:Bot requests, a request was made to tag talkpages of pages from 4,300 categories list of categories.
After making some dummy test edits, I created a list of non-repetitive pages which is around 17,000.
all these categories are explicitly about women's basketball. some of the talpkages are missing "WikiProject Women's sport", some have it, but are missing the "basketball" ({{
WikiProject Women's sport|basketball=yes}}
), and similar goes true for {{
WikiProject Basketball|women=yes}}
.
I already made some null test edits, requesting a trial run with 50 edits. —usernamekiran (talk) 23:49, 15 July 2024 (UTC)
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.
Primefac (
talk)
12:51, 21 July 2024 (UTC)
Trial complete.
the 50 edits. Apparently, the program is removing everything else from the talkpage other than wikiproject banners. I think I have found the reason/flaw. I will fix it in a couple of days I hope. I have already reverted all the 50 edits. —usernamekiran
(talk)
15:48, 21 July 2024 (UTC)
Operator: DreamRimmer ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 14:01, Monday, May 27, 2024 ( UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available:
Function overview: Fix the URLs for the ECI election database.
Links to relevant discussions (where appropriate):
Edit period(s): Every six months
Estimated number of pages affected: 5050
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): No
Function details: The
Election Commission of India has moved all of its data (except for very recent elections) to a subdomain. As a result, URLs in more than 5000 pages are now invalid and are giving a 404 error. This bot will replace URLs like
https://eci.gov.in/files/file/11699-maharashtra-legislative-assembly-election-2019
with the new URL
https://old.eci.gov.in/files/file/11699-maharashtra-legislative-assembly-election-2019
. Simply replace
https://eci.gov.in/
with
https://old.eci.gov.in/
.
Why every six months? Primefac ( talk) 18:28, 27 May 2024 (UTC)
https://eci.gov.in/
since it's a "recent election". At what point will that URL get archived to the
https://old.eci.gov.in/
prefix? If it is archived after the subsequent election, why not just update the URL with the new election information along with the data it represents?
Primefac (
talk)
15:00, 6 June 2024 (UTC)
(?<!/)(?<!\\?url=)https?://eci[.]gov[.]in/[^\\s\\]|}{<]*[^\\s\\]|}{<]*
|url-status=
, {{
webarchive}}
and {{
dead link}}
. Also links that are square and bare. It might too difficult to get all these exactly right, if you can change the main |url=
and square URLs and verify the new URL works, that will go a long way! --
Green
C
15:51, 8 June 2024 (UTC)
Note: these links are georestricted to India IPs and can't be archived, or archived very well. I found an article in The Hindu that talks about it. The article quotes one our most technically knowledgeable editors, User:Nemo_bis, who said: "Nemo has studied 'geofencing' of Indian government websites in the past, and in 2020 created a proxy service for users located abroad to access Indian government websites". This might be our solution. I hope Nemo has a working proxy for the Election Commission website? -- Green C 17:58, 5 July 2024 (UTC)
Operator: Primefac ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 12:48, Thursday, May 11, 2023 ( UTC)
Function overview: Convert template use following update
Automatic, Supervised, or Manual: Automatic
Source code available: WP:AWB
Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Templates § Request for a template
Edit period(s): OTR
Estimated number of pages affected:
Namespace(s): 783
Exclusion compliant (Yes/No): Yes
Function details: {{
Wikisource author}} recently was updated to allow for a |lang=
parameter to link directly to non-English versions of wikisource for an author. A similar template, {{
Wikisourcelang}}, links to a generic search on said language wiki for said author. This task will change {{
Wikisourcelang|<lang>|otherstuff}}
into a {{
Wikisource author|lang=<lang>|otherstuff}}
call.
de
do not use an "author" prefix (see e.g.
Adolph Friedrich Johann Riedel and his corresponding page on
de Wikisource), but I can't figure out which languages it holds to. I am not necessarily seeing a specific pattern between what languages do and do not. My thoughts are of two possibilities - run this task only for languages where the proposed change has the intended effect, or just scrap this BRFA and do these changes manually.
Primefac (
talk)
12:52, 4 July 2023 (UTC)
Bots that have been approved for operations after a successful BRFA will be listed here for informational purposes. No other approval action is required for these bots. Recently approved requests can be found here ( ), while old requests can be found in the archives.
Bots that have been denied for operations will be listed here for informational purposes for at least 7 days before being archived. No other action is required for these bots. Older requests can be found in the Archive.
These requests have either expired, as information required by the operator was not provided, or been withdrawn. These tasks are not authorized to run, but such lack of authorization does not necessarily follow from a finding as to merit. A bot that, having been approved for testing, was not tested by an editor, or one for which the results of testing were not posted, for example, would appear here. Bot requests should not be placed here if there is an active discussion ongoing above. Operators whose requests have expired may reactivate their requests at any time. The following list shows recent requests (if any) that have expired, listed here for informational purposes for at least 7 days before being archived. Older requests can be found in the respective archives: Expired, Withdrawn.