Jump to content

Wikisource:Bot requests

Add topic
From Wikisource
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 Wikisource:Bots.

Move all subpages of Who's Who in the Far East to use title case

[edit]

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 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)Reply

@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)Reply
I suppose that I really to want to ensure that the Chinese names are capitalised properly. — billinghurst sDrewth 02:57, 25 May 2021 (UTC)Reply
@Stevenliuyi and @Billinghurst: Has this request been actioned (i.e. can it be closed as resolved)? Xover (talk) 10:34, 10 April 2022 (UTC)Reply
@Stevenliuyi: Please see Billinghurst's request (above) for quality control of the list of targets in Wikisource:Bot requests/sandbox. They have done the legwork to prepare for the move, but it is unable to progress until you've checked and corrected the target page names. Xover (talk) 05:33, 3 September 2022 (UTC)Reply
@Stevenliuyi: This is blocked on your input here. Xover (talk) 10:19, 7 November 2023 (UTC)Reply

Wikidata bulk edit

[edit]

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)Reply

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)Reply
@Mpaa: Except they are editions as we host them, the speech would be the parent to the item, per d:WD:Books as there may be other published editions of the same speech. — billinghurst sDrewth 12:17, 5 September 2022 (UTC)Reply
@Billinghurst I see. I saw other were linked that way and I followed along. If it is not correct, it should be cleaned up but I do not master wikidata tools enough to write a bot for it. Mpaa (talk) 21:34, 5 September 2022 (UTC)Reply
We desperately need better Wikidata tools (so we're not dependent on Billinghurst to be on eternal vigilance here). But the current gadget we have for this is loaded from some user's personal page on Russian Wikisource (which is kinda iffy in itself these days), and its code is completely incomprehensible. If anybody knows of or runs across good API docs for how to talk to Wikidata I'd be very interested. As far as I can tell, the only existing API is the main MW:API with some very minor additions for WD, and that's way way too painful to use for our purposes. Xover (talk) 06:15, 6 September 2022 (UTC)Reply
@Xover: Maybe we should just be bold and create a phabricator task and see where we go. We probably should have put this into the desired toys to be built for 2023, though we have missed that boat as it is currently in final stages of voting (I think). — billinghurst sDrewth 05:40, 22 February 2023 (UTC)Reply
User:Beleg Tâl why not just do it with Petscan itself, from memory it could additions. Also note that there is the interwiki Petscan: for these. — billinghurst sDrewth 12:14, 5 September 2022 (UTC)Reply

 Comment wondering whether we need to chip out components of this task. For example, something like petscan:23959659 shows works using {{Act of Congress}} which would not be edition, and would instead by another item, and they also have components that could have other elements added through QuickStatements. Yes, this will still need a large slab of works that need version, edition or translation (Q3331189) added, though at least it will allow for something less than the blunderbuss approach. — billinghurst sDrewth 05:24, 27 February 2023 (UTC)Reply

Copy the proofread text from Index: The last man (Second Edition 1826 Volume 1).djvu to Index:The last man vol 1.djvu

[edit]

The three volumes of The Last Man only have a different title page between the first and second edition, could the proofread text of the three-volumes of the second edition be copied to the scans of the first edition. Languageseeker (talk) 23:29, 16 July 2022 (UTC)Reply

@Mpaa If it is OK to copy also the Page status, better wait for all 3 vols to be validated. Mpaa (talk) 13:53, 18 July 2022 (UTC)Reply
Makes Sense. Languageseeker (talk) 13:49, 22 July 2022 (UTC)Reply

Replace illustrator header parameter with section_illustrator in subpages of works

[edit]

The deprecated {{Illustrator}} template was replaced by the built-in parameter "illustrator" per bot request. However, when the parameter was used for a specific subpage only and not for other subpages of the work, such as here, then the parameter "section_illustrator" should be used instead. Would it be possible to find and correct all other cases and change the parameter? --Jan Kameníček (talk) 12:31, 7 July 2024 (UTC)Reply

@Jan.Kamenicek: I've changed all the |illustrator= that can be converted (semi-)automatically to |section-illustrator=. For the remaining ones the illustrator specified in |illustrator= is the illustrator for the text as a whole (i.e. it appears on the subpage as a duplication of the top-level page header, the same way they repeat the |author=). Changing these to |section-illustrator= would actually change the meaning, so I'm not comfortable doing that without wider discussion. If you have some of your own texts you'd like changed I can do that as (the equivalent of) "author's request".
That being said, I am increasingly uncertain about whether it makes sense to repeat the illustrator for the work on the subpages of the work. For something like Alice's Adventures in Wonderland (Rackham), where the whole point of the edition is that it's illustrated by Rackham, I can kinda see the point (and in that case it can appear even on subpages without illustrations, like and author or editor)). But for most other things, what makes sense is |section-illustrator= or nothing. I think maybe we ought to bring this to the Scriptorium for wider discussion. Thoughts? Xover (talk) 12:47, 21 July 2024 (UTC)Reply
@Xover: Thanks!
As for repeating the illustrator in the chapters, I do not really have a strong opinion on that (supposing we talk only about cases where all the chapters have the same illustrators as those mentioned in the header of the title page). Just a quick thought: If other authors are repeated (and I believe they should be), why should illustrators be an exception? There are works where the importance of their illustrators is nearing the importance of the text authors, typically with children books. Maybe it makes even a little more sense for non-fiction works, where a reader might google out and read a specific chapter without looking at the rest of the edition. --Jan Kameníček (talk) 21:11, 23 July 2024 (UTC)Reply
@Jan.Kamenicek: Well, it's based on the observation that for most texts the illustrators are like in Index:Options (1909).djvu, a grab-bag of illustrators that each have contributed to only one part. Things like Alice's Adventures in Wonderland (Rackham), where the whole point of the edition is that it's illustrated by Rackham, tend to be the exceptions. Right now we do not have any direct guidance on this, and that kinda-sorta works when it's up to human judgement and nobody fights about it. You get very inconsistent application of it (cf. all the |illustrator= parameters on subpages I had to skip), and you risk people fighting about it (cf. the rather heated revert wars about whether |year= should be used on subpages). It also means I can't make things like the automatically generated headers created by Proofread Page behave sensibly by default (i.e. should it include the year in subpages by default and require people to override it, or omit it by default and require people to specify it when needed). Xover (talk) 10:01, 24 July 2024 (UTC)Reply
I have just offered a thought that came to my mind, but if not repeating the illustrator on subpages makes things easier for you, I am OK with that. --Jan Kameníček (talk) 10:13, 24 July 2024 (UTC)Reply

Collected works of Ibsen moves

[edit]

Each Index above needs to have (a) the File on Commons renamed; (b) the Index on Wikisource moved; (c) all Page(s) moved. The issue is that we have an incomplete (UK) Heinemann edition set and a partial (US) Scribner's edition set, with further scans from the Scribner's on Commons, and the two sets of editions ought to be disambiguated before any further confusion or ensues.

Each File / Index / Page should be renamed so that "Heinamann: is added in the position to make the following change:

  • "The collected works of Henrik Ibsen (Volume 5).djvu" --> "The collected works of Henrik Ibsen (Heinemann Volume 5).djvu"

The template {{The collected works of Henrik Ibsen}} is the only item linked to these Indices right now, and therefore it should be updated following the change(s). None of the Pages seem to be transcluded, so no mainspace editing should be required. --EncycloPetey (talk) 18:51, 13 July 2024 (UTC)Reply

@EncycloPetey: Sigh. I went to move the files and found the following:
That is, Languageseeker apparently uploaded different scans of vols. 5, 6, 8, and 9—but not vols. 7, 10, and 11—using that naming schema. And since Commons policy doesn't permit overwriting these we're kind of stuck on that.
Maybe we could put these at…
… possibly along with moving vols. 1–4 to the same schema? --Xover (talk) 11:56, 21 July 2024 (UTC)Reply
Gah, this is an even bigger mess than I thought. Can we not request an admin to move the low-quality scans for 5, 6, 8, 9 out of the way, and then move the good scans into the now vacant names? We've had to deal with complex moves like that before, and from what I can see, none of those four files have an Index page or other bits associated with them requiring a move. Otherwise, we'd not only have to make the move you suggest but also move our current scans on volumes 1, 2, 3, 4, and 12, as well as all their pages, to make the naming convention consistent. --EncycloPetey (talk) 16:39, 21 July 2024 (UTC)Reply
You'd need to make a move request on Commons, and hope you get an admin to look at it within a reasonable time plus to understand the point of the request (I am not certain they would accept this move reason without a lot of explanation). Most file moves are made by file movers, not admins, but they don't have the permissions for this kind of thing (they can technically suppress redirects, but aren't allowed to use the permission for this kind of move).
BTW, while not trivial, bulk moving pages from one index to another isn't too bad with the pywikibot script Inductiveload made, and usually you can just run a search&replace by bot in mainspace to fix the transclusions. If you decide to go that route it should be fine (even if annoying). Xover (talk) 17:09, 21 July 2024 (UTC)Reply

Ibsen duplicate vol4 deletion

[edit]

Please delete all the Page: and the Index:. This is a duplicate Index already transcribed more accurately elsewhere. --EncycloPetey (talk) 18:45, 20 July 2024 (UTC)Reply

@EncycloPetey: Done Xover (talk) 11:34, 21 July 2024 (UTC)Reply

Remove Template:Expand list from the Author namespace

[edit]

Based on the Wikisource:Scriptorium discussion regarding use of {{expand list}} in the Author namespace, where everyone agrees it should not be used there, could someone please use a bot to remove all instances of {{expand list}} and its redirect {{incomplete list}} from the Author namespace? --EncycloPetey (talk) 17:52, 22 July 2024 (UTC)Reply

Please upgrade page status of not proofread pages in From Poverty to Power and in The Crimson Fairy Book

[edit]

More work from unregistered user(s). Please upgrade the pages to proofread. While I might still apply a couple of minor formatting changes, they are otherwise both ready. As an aside, if you have any simple clean up tools that you could run over Index:Microscopicial researchers - Theodor Schwann - English Translation - 1947.pdf while you are at it, that would be much appreciated. Thanks, TeysaKarlov (talk) 20:20, 6 August 2024 (UTC)Reply

P.S. Also the not-proofread pages in Beethoven please, excluding the pages marked problematic. Thanks, TeysaKarlov (talk) 21:54, 9 August 2024 (UTC)Reply
 Oppose Those pages have a lot of formatting needed to bring them in line with the rest of the work, including multiple misuses of the <br> tag where a line break should be used instead (and is so used through the rest of the work). --EncycloPetey (talk) 23:24, 11 August 2024 (UTC)Reply
P.P.S. And Index:All these things added .. (IA allthesethingsa00alle).pdf. Thanks again, TeysaKarlov (talk) 20:12, 11 August 2024 (UTC)Reply
 Oppose I am finding blank pages marked as "Not proofread", which the bot would mark as "Proofread". This Index should first be checked page by page manually. I'm also finding that the work's title and section titles are self-linked, which they should not do. That is, the half-title page bears the work's title, which is linked to the work that it is part of. And the interior titles for the Parts of the work were self-linked. I have not fully sorted this out because I have also had to move the parts of the work together under the work's main title, since Part 1 and Part 2 were originally created as separate works in their own right, rather than being subpages of the containing work. --EncycloPetey (talk) 23:12, 11 August 2024 (UTC)Reply

Following page moves, the raw image templates are misaligned. In vol. 4, every page with an image from Page:Indian Medicinal Plants (Plates Vol 4).djvu/377 on needs to have raw image set back two pages. The same is true for vol. 5, raw image being set back two pages for every image on or after Page:Indian Medicinal Plants (Plates Vol 5).djvu/93. TE(æ)A,ea. (talk) 19:54, 22 August 2024 (UTC)Reply

@TE(æ)A,ea.: Done. I assumed you meant the page number in the {{raw image}} template needed to be increased by two on these pages (since that was what was needed to align them with the actual page number after the source file update). Please check and confirm that the results appear ok. Xover (talk) 15:32, 29 August 2024 (UTC)Reply

Please upgrade page status of not proofread pages in The Crimson Fairy Book

[edit]

Separating this request from the above, as I believe it is at least safe to upgrade these pages. There is also the chance (however small) that I get back to validating this, and so I would rather not manually mark the pages proofread. Thanks, TeysaKarlov (talk) 21:25, 1 September 2024 (UTC)Reply

Have you personally verified that each of these pages is proofread? If not, I believe this would be inappropriate. —Beleg Tâl (talk) 19:23, 18 September 2024 (UTC)Reply

Please upgrade page status of not proofread pages in The Power of Thought

[edit]

More work of an unregistered user. Seems safe to upgrade from a cursory check. Thanks, TeysaKarlov (talk) 21:13, 16 September 2024 (UTC)Reply

As above, this would be inappropriate unless you have yourself verified that each of these pages is fully proofread. —Beleg Tâl (talk) 19:24, 18 September 2024 (UTC)Reply

Autocreate pages in Index:Concordia Triglotta.pdf

[edit]

Would it be possible to script the creation of some pages in this index as follows:

All of these pages contain only German and/or Latin text, which is to be interwikied from deWS and laWS, rather than proofread here on enWS.

Thanks! —Beleg Tâl (talk) 19:20, 18 September 2024 (UTC)Reply

Question: Would page creation use the existing text layer? Because that layer looks like garbage to me. --EncycloPetey (talk) 19:21, 18 September 2024 (UTC)Reply
No! you're right, existing layer is garbage, and should be replaced by the content listed in my initial request (I've updated the request to clarify). —Beleg Tâl (talk) 19:25, 18 September 2024 (UTC)Reply

Replace simple uses of override-contributor

[edit]

Please make the following replacements in Category:Pages with override contributor:

<override contributor pattern> is (\|\s*(contributor|section(\-|_|\s)author)\s*=\s*)?\|\s*override(\-|_|\s)(contributor|section(\-|_|\s)author)\s*=\s*.
Assume patterns are on a single line which otherwise contains only whitespace.
  • <override contributor pattern>\[\[Author:<author pattern>\|<author display pattern>\]\]\| section\-author = <author pattern> \| section\-author\-display = <author display pattern>
  • <override contributor pattern>\[\[Author:<author 1 pattern>\|<author 1 display pattern>\]\]\s+and\s+\[\[Author:<author 2 pattern>\|<author 2 display pattern>\]\]\| section\-author1 = <author 1 pattern> \| section\-author1\-display = <author 1 display pattern> \| section\-author2 = <author 2 pattern> \| section\-author2\-display = <author 2 display pattern>
  • <override contributor pattern>\[\[Author:<author pattern>\|<author display pattern>\]\], translated by \[\[Author:<translator pattern>\|<translator display pattern>\]\]\| section\-author = <author pattern> \| section\-author\-display = <author display pattern> \| section\-translator = <translator pattern> \| <translator display pattern>
  • <override contributor pattern>\{\{anon\}\}\| section\-author = anon

CalendulaAsteraceae (talkcontribs) 08:15, 2 October 2024 (UTC)Reply

Clean up of A Treatise on Electricity and Magnetism

[edit]

To attempt to improve consistency (both with the source text and just in general), could the following changes please be made to Index:A Treatise on Electricity and Magnetism - Volume 1.djvu

  • <h3 align=center>''Some heading text.''</h3> to {{c|''Some heading text.''}} (They should be two single quotes so as to have italicized text, not straight double quotes as they look to me)
  • {{numb form|Some equation in math environment|Empty}} to {{c|Some equation in math environment}}
  • {{numb form|Some equation in math environment|(Some number)}} to {{MathForm2|(Some number)|Some equation in math environment}}

If curious, both MathForm2 and numb form have been used throughout the text, but each has a different right-indent on the equation number, and different line break characteristics after the equation, where MathForm2 is preferred in both cases.

Thanks, TeysaKarlov (talk) 02:36, 5 October 2024 (UTC)Reply

P.S. Actually, if anyone has a better alternative to both MathForm2 and numb form that might also be fine, as I don't love how MathForm2 doesn't seem to right-align all the equation numbers, e.g. Page:A Treatise on Electricity and Magnetism - Volume 1.djvu/156. TeysaKarlov (talk) 02:44, 5 October 2024 (UTC)Reply

Move subpages of Index:Handbook of Western Australia.djvu

[edit]

Could some bot move subpages of Index:Handbook of Western Australia.djvu. Missing pages of the djvu files have been added. Pages to be moved (without redirect):

  • djvu pages 220 to 78 -> 228 to 86 (+8)
  • djvu pages 77 to 1 -> 83 to 7 (+6)

Thanks in advance. // M-le-mot-dit (talk) 13:20, 3 November 2024 (UTC)Reply

Year parameter in subpages of Castes and Tribes of Southern India

[edit]

There are frequent attempts to edit many subpages of Castes and Tribes of Southern India, because people consider the information wrong/false/fake etc. Imo it might help – not much, but at least a very little bit – if | year = 1909 parameter was added into the header of each of the subpages. --Jan Kameníček (talk) 17:01, 6 November 2024 (UTC)Reply

Make more consistent the long s usage in Index:Fameandconfession.djvu

[edit]

Some pages in this work use {{long s}}, while others use a bare ſ. To make things more consistent, please replace ſ with {{ls}} in Special:PrefixIndex/Page:Fameandconfession.djvu. —CalendulaAsteraceae (talkcontribs) 17:30, 14 January 2025 (UTC)Reply