Wikisource:Bot requests

(Redirected from Wikisource:BOTR)
Bot requests

This page allows users to request that an existing bot accomplish a given task. Note that some tasks may require that an entirely new bot or script be written. This is not the place to ask for help running or writing a bot.

A bot operating performing a task should make note of it so that other bots don't attempt to do the same. Tasks that are permanently assigned or scheduled for long-term execution are listed on Persistent tasks.

See also

Unassigned requestsEdit

Merge multiple gap templatesEdit

Some editors have been using multiple instances of {{gap}} (i.e. ) {{gap}}{{gap}}{{gap}}{{gap}}{{gap}} instead of {{gap|10em}}. Can a bot please fix these, as in this edit? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:21, 27 April 2021 (UTC)

We can get a bot to do the fix, though finding the pages is the issue. I am unaware of a tool that counts the uses of a template on a page and judges its correctness. If you have a list of pages, or you have /special:prefixindex/ then I can have a look to see what we can do. — billinghurst sDrewth 13:14, 24 May 2021 (UTC)
Being pedantic, one reason to repeat "gap" is to be sure that several "gap"s always give a multiple spacing of "gap", regardless of the default value, should this be changed in future (e.g. see a case like Page:The complete poems_of Emily Bronte.djvu/112). It depends on how likely this scenario is and possible consequences. Maybe a 'per work' approach would be more robust, making explicit the spacing also in case of a single "gap"? Mpaa (talk) 20:03, 5 September 2021 (UTC)
The opposite is true; if the default gap changes, then multiples of it will change at the same time; but 10em will always be 10em. As for finding them, the bot would need to scan all pages that transclude the template. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:43, 6 September 2021 (UTC)
Then, in the page I posted, you also need to explicitly state the spacing for the 'single gap' occurrences, not just collapse the 'multiple gaps'.Mpaa (talk) 20:15, 6 September 2021 (UTC)
@Pigsonthewing: It would have been polite to advise me, for what you termed 'abuse' of gap or whatever, I couldn't decide if you were joking. I do this habitually and happy to discuss why … elsewhere. CYGNIS INSIGNIS 21:57, 5 September 2021 (UTC)
Why would I? This is a generic issue, not a complaint about your behaviour. If you have objections, you should raise them here, or they are likely to be overlooked. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:43, 6 September 2021 (UTC)
I am not sure why this request was controversial, but as it evidently was I am going to tag it as resolved at some point fairly soon. To get it actionable it needs to be hashed out to a consensus, probably on WS:S, addressing both the preference for using multiple {{gap}} templates and the technical concern raised about its defaults etc. Xover (talk) 10:31, 10 April 2022 (UTC)

Move all subpages of Who's Who in the Far East (June) 1906-7 to use title caseEdit

I was informed by User:Beeswaxcandle that I should use title case instead of all caps in article names. So I request to move all subpages of Who's Who in the Far East (June) 1906-7 to use title case. Although I can use a bot to move it myself, that would leave tons of redirects for admins to delete. But if an admin can easily batch-delete a list of pages, I can move it myself and then provide the list of pages to delete. I'm sorry for the inconvenience. Thanks, --Stevenliuyi (talk) 08:58, 6 May 2021 (UTC)

@Stevenliuyi: Please review the list at Wikisource:Bot requests/sandbox. I notice that there is at least one English name that needs to be fixed, and the Chinese names didn't convert on the regex that I used. Would you fix or create the target (only) in the list in the pair list, and I will get it done. No need to fix those that are broken though you should fix the previous/next links of the articles either side. To note that as I did for your other work, I will look to get a work specific template in place, though will do that afterwards. — billinghurst sDrewth 13:10, 24 May 2021 (UTC)
I suppose that I really to want to ensure that the Chinese names are capitalised properly. — billinghurst sDrewth 02:57, 25 May 2021 (UTC)
@Stevenliuyi and @Billinghurst: Has this request been actioned (i.e. can it be closed as resolved)? Xover (talk) 10:34, 10 April 2022 (UTC)

Add {{R from case citation}} to all redirects from case citations to casesEdit

Would it be possible for a bot to detect redirects pointing from a case citation (e.g. 347 U.S. 483) to a case (here, Brown v. Board of Education), and add {{R from case citation}} to these. It would be useful to have all case citations in one category, given the obvious utility of Wikisource as a caselaw database for lawyers. BD2412 T 04:25, 24 May 2021 (UTC)

@BD2412: What's the identifying feature of a case page? Is it in a particular category? Does it contain a unique template? Once identified, should all redirects to these be so tagged, or only a subset of them? Do the redirects to these have a distinguishing feature to identify them as distinct from all other redirects on the site?
Adding a category to a set of pages is pretty straightforward, so the challenge is how to identify those pages automatically. Doing something to one page (the redirect) based on properties of another page (the actual case page) can also be challenging depending on the details (it may require writing a custom bot rather than just running one of the existing scripts for pywikibot).
Also, how many of these are there? If the criteria are complex, and the number of pages relatively low, it may be better to do it manually or semi-automated (a user script in the browser that finds and tags redirects to the current page on request, say). Xover (talk) 04:06, 25 May 2021 (UTC)
I have been thinking about exactly those issues. I don't know that we have any case citation redirects from non-U.S. cases, so the group to start with would be documents in the category tree under Category:United States case law by court. The redirects themselves will all be in a [Number] [Reporter] [Number] format, so for example the first page of results from a search for pages starting with "1" is almost entirely redirects to cases (everything from 100 L.Ed. 1003 on, with a few exceptions). So, anything in that format redirecting to something in that category tree should be a case citation redirect. I would also note that a great many of these were generated by User:BenchBot when that bot was active, and just counting those from the bot's contributions, there are over 9,000. I suppose I could do those manually, or use BD2412bot, but that will leave stray case citation redirects added by others. BD2412 T 04:25, 25 May 2021 (UTC)
I am doing some manually to see if there are any hitches that come up that way. BD2412 T 19:30, 25 May 2021 (UTC)


Edit

Please replace all instances of File:Harcourt, Brace and Co. logo (1922).png and File:Harcourt, Brace and company logo.png with File:Harcourt Brace & Co. logo.svg . The two pngs are of quite low quality and the SVG is an accurate representation of this publisher's logo. Languageseeker (talk) 16:46, 15 February 2022 (UTC)


Batch Copy PagesEdit

Can Someone batch copy the pages from Page:The black man.djvu/7 to Page:The black man - his antecedents, his genius, and his achievements (IA blackmanantecede00browrich).pdf/11. While the two editions were printed from the same stereotype plates, the front matter and back matter differs. Stop at Page:The black man.djvu/291.Languageseeker (talk) 20:01, 16 February 2022 (UTC)

Not all the pages match 1:1, see Page:The black man.djvu/32 and Page:The black man - his antecedents, his genius, and his achievements (IA blackmanantecede00browrich).pdf/36 and following. Mpaa (talk) 10:46, 19 February 2022 (UTC)
@Mpaa I did not notice. Thanks for double-checking! Languageseeker (talk) 12:35, 19 February 2022 (UTC)

Find and replace for Index:Castelvines y Monteses Translated.pdfEdit

I've realized that what I thought was a gap to offset the characters' names from the text of the play was actually just a double space following periods. Given this, I'd like to request that all instances of {{gap|1em}} in the pages of Index:Castelvines y Monteses Translated.pdf be replaced with (a space). Thank you! —CalendulaAsteraceae (talkcontribs) 04:15, 10 April 2022 (UTC)

@CalendulaAsteraceae:   Done Xover (talk) 10:12, 10 April 2022 (UTC)

MiddlemarchEdit

  This section is considered resolved, for the purposes of archiving. If you disagree, replace this template with your comment. --Mpaa (talk) 21:18, 30 April 2022 (UTC)

I am asking to move the page Middlemarch and all its subpages to Middlemarch (1971) to make place for a version page, as we have also another version Middlemarch (1874) --Jan Kameníček (talk) 16:20, 25 January 2022 (UTC)

  Done , moved to Middlemarch (1871). Mpaa (talk) 14:50, 29 January 2022 (UTC)


Wikidata bulk editEdit

I made a query for works on enWS that have WD items with no "instance of" statement. The criteria I used are:

  • Pages in mainspace
  • No redirects or disambiguation pages (this includes Versions and Translations btw)
  • Does not contain a forward slash in the page name (in order to exclude subpages)
  • Is linked to Wikidata, and linked Wikidata item does not have a P31 statement

This query returns 13889 results, which is more than even QuickStatements can handle. Would it be possible for a bot to update these Wikidata items with P31=Q3331189 (instance of = version, edition, or translation)?

Thanks :) —Beleg Tâl (talk) 13:22, 1 November 2021 (UTC)

I think we could be more specific for certain groups, e.g I have addressed "Presidential Radio Address" articles as "instance of speech". There are several groups of articles that can be identified and then addressed with QuickStatements. After that, the bot can be run on what is left. Mpaa (talk) 23:13, 1 November 2021 (UTC)

Assigned requestsEdit


Please mark all pages of Index:The Science of Getting Rich - Wattles - 1910.djvu as proofreadEdit

  This section is considered resolved, for the purposes of archiving. If you disagree, replace this template with your comment. --Mpaa (talk) 21:18, 30 April 2022 (UTC)

Hello again, Another case of pages marked not proofread by user(s) without an account. Please mark all such pages as proofread. Also, is it possible for a bot to convert the curvise templates used in some places of this work just to conventional italics? If so, please do that too. Thanks,TeysaKarlov (talk) 19:40, 29 March 2022 (UTC)

@Tylopous has already removed the cursive text and proofread this index. If both you and they are okay with it, maybe all the proofread pages could instead be marked as validated? Thanks, TeysaKarlov (talk) 05:44, 3 April 2022 (UTC)
Hi, well, I was quite careful in proofreading. Of course I can have missed something, but in principle all has now been proofread twice (with the exception of some frontmatter perhaps), as usual for validation.--Tylopous (talk) 06:01, 3 April 2022 (UTC)
  Done Mpaa (talk) 20:24, 7 April 2022 (UTC)


Please mark all pages of Index:The Secret of Chimneys - 1987.djvu as proofreadEdit

  This section is considered resolved, for the purposes of archiving. If you disagree, replace this template with your comment. --Mpaa (talk) 21:18, 30 April 2022 (UTC)

Another case of pages marked not proofread by user(s) without an account. Please mark all such pages as proofread. Languageseeker (talk) 08:58, 9 April 2022 (UTC)

  Done Mpaa (talk) 16:09, 9 April 2022 (UTC)
@Mpaa Thank you! Languageseeker (talk) 16:22, 9 April 2022 (UTC)


Please mark all pages of the main text of Index:Anne of Avonlea (1909).djvu as proofreadEdit

  This section is considered resolved, for the purposes of archiving. If you disagree, replace this template with your comment. --Mpaa (talk) 21:18, 30 April 2022 (UTC)

Another work proofread by user(s) without account(s). Thanks, TeysaKarlov (talk) 02:48, 17 April 2022 (UTC)

  Done Mpaa (talk) 11:00, 17 April 2022 (UTC)

Please upgrade all not-proofread pages of Index:Through Bolshevik Russia - Snowden - 1920.djvu to proofreadEdit

  This section is considered resolved, for the purposes of archiving. If you disagree, replace this template with your comment. --Mpaa (talk) 21:18, 30 April 2022 (UTC)

More contributions from user(s) without account(s). Thanks (and thanks for the above), TeysaKarlov

Never mind now, looks like someone beat you to it. TeysaKarlov (talk) 20:07, 20 April 2022 (UTC)

Please upgrade all not-proofread pages of Index:Anne of the Island (1920).djvu to proofreadEdit

  This section is considered resolved, for the purposes of archiving. If you disagree, replace this template with your comment. --Mpaa (talk) 21:18, 30 April 2022 (UTC)

More contributions from user(s) without account(s). Thanks, TeysaKarlov

  Done Mpaa (talk) 21:18, 30 April 2022 (UTC)
@Mpaa Thanks, and sorry that I missed changing the status of the cover and image pages. TeysaKarlov (talk) 02:40, 1 May 2022 (UTC) 02:40, 1 May 2022 (UTC)

Please upgrade all not-proofread pages of Index:Anne's house of dreams (1920 Canada).djvu to proofreadEdit

  This section is considered resolved, for the purposes of archiving. If you disagree, replace this template with your comment. --Mpaa (talk) 21:11, 10 May 2022 (UTC)
  Done