Wikipedia:Bots/Requests for approval/IngenuityBot 2
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: Ingenuity (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:47, Sunday, April 30, 2023 (UTC)
Function overview: Will convert bare references to full citations for a limited number of websites; a full list is below.
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: Full code hasn't been written; testing code is available at getpagemetadata.py and fixpages.py
Links to relevant discussions (where appropriate):
Edit period(s): Monthly (whenever database dumps come out)
Estimated number of pages affected: Probably a couple thousand to start off with, and a few hundred every month after, but really depends on the bot's scope
Namespace(s): Mainspace
Exclusion compliant (Yes/No): Yes
Function details: Will convert bare URL refs to citations for a limited number of websites, mainly ones on the perennial sources list. Right now there are 62 sources on the list, but that number could easily increase significantly. It will also attempt to add an archive URL if it exists. Here are some examples of what it can do:
— Ingenuity (talk • contribs) 23:47, 30 April 2023 (UTC)[reply]
Discussion
edit@Ingenuity: References #2 and #6 have a version of the work/website in the |title=
parameter. Could the bot remove this redundancy? Thanks! GoingBatty (talk) 05:26, 4 May 2023 (UTC)[reply]
- Yep, that's pretty simple - I'll just split the title by the
|
character. — Ingenuity (talk • contribs) 12:39, 4 May 2023 (UTC)[reply]
Sounds great. By the way,@Ingenuity: please note that one of the examples is using the New York Post (classified as Generally Unreliable source), I don't know if it is just an example, or the website is into the list the code is using. Cheers. Alexcalamaro (talk) 07:07, 7 May 2023 (UTC)[reply]
- The NYP is on the list of sources. It doesn't really matter if it's reliable or not, though, since the bot is just filling in the citations, not adding them. — Ingenuity (talk • contribs) 13:34, 7 May 2023 (UTC)[reply]
Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 08:44, 7 June 2023 (UTC)[reply]
- Trial complete.. See here. A couple minor glitches, but I've fixed them now. — Ingenuity (talk • contribs) 14:50, 9 June 2023 (UTC)[reply]
- Approved. Primefac (talk) 10:49, 28 June 2023 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard.