Wikipedia:Bots/Requests for approval/PrimeBOT 39

PrimeBOT 39
Operator:

Time filed: 12:48, Thursday, May 11, 2023 (UTC)

Function overview: Convert template use following update

Automatic, Supervised, or Manual: Automatic

Programming language(s): AWB

Source code available: WP:AWB

Links to relevant discussions (where appropriate):

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 into a  call.

Discussion

 * BAG assistance needed valid request not attended by any BAG members for almost two months. —usernamekiran (talk) 23:02, 29 June 2023 (UTC)
 * This seems pretty straightforward. Let's go to trial.
 * &#32; Headbomb {t · c · p · b} 17:38, 2 July 2023 (UTC)
 * Edits. As a note, I did not run genfixes just to make the proposed change more obvious, but if this task does proceed I will be running genfixes alongside them.
 * , I think this request is a little more convoluted than initially requested. Languages such as  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)
 * @Primefac I think we can run it for some languages that we can determine now, it shouldn't be that hard as long as it is consistent for each language (ex. German never uses, Polish always uses it, etc.). We could create a list for all languages that wikisource exists on, or just run it for now for some editions that are the biggest (ex. the ones with interwikis here). I did some checks and it seems it's pretty consisten - just a wikisource naming convention. Note that depending on the language, the "author" prefix is different - Polish is "autor". Swedish is "Författare", etc. In the end, what we need to fix is not the outgoing links but the text on our side. Consider this case, similar to the German one you quote, where we improved the language or our template but messed the link: before, diff, after. Since the links work, can we just figure out the way to change the wording in the template but retain the same link as before? The older template was able to do it, somehow, seems we are introducing a new error somehow? Piotr Konieczny aka Prokonsul Piotrus&#124; reply here 04:48, 5 July 2023 (UTC)
 * If you wouldn't mind making a list of which languages use the Author (in whatever language) prefix, I can hard-code their use into the template so that there isn't any issue.
 * This wasn't a problem before because wikisource author only linked to to the English version so no translation or odd coding was necessary. As mentioned in the original discussion, wikisource lang just links to a general search (which does sometimes turn up the author page directly) and thus does not require the "Author:" prefix. Primefac (talk) 08:06, 5 July 2023 (UTC)
 * This wasn't a problem before because wikisource author only linked to to the English version so no translation or odd coding was necessary. As mentioned in the original discussion, wikisource lang just links to a general search (which does sometimes turn up the author page directly) and thus does not require the "Author:" prefix. Primefac (talk) 08:06, 5 July 2023 (UTC)


 * Just for now, while we deal with actual template issues. Primefac (talk) 08:31, 5 July 2023 (UTC)
 * @Primefac See talk, is this helpful? Those are most larger Wiki source projects, should be enough to get most of our stuff sorted out. We can take a look at what, if anything, is left after dealing with those languages? Piotr Konieczny aka Prokonsul Piotrus&#124; reply here 07:06, 7 July 2023 (UTC)
 * Should do, thanks for that. Going to keep this on hold for a bit longer, there's a TFD for merging all of these together and I might be able to enact these proposed changes during the merge process. Primefac (talk) 08:13, 7 July 2023 (UTC)
 * @Primefac Just checking the status of this? Piotr Konieczny aka Prokonsul Piotrus&#124; reply here 09:54, 22 September 2023 (UTC)
 * Somewhat stalled, been rather busy myself and it doesn't look like anyone has started work on the template merger. I think I might have cleared my on-wiki plate somewhat (touch wood) so I'll see about prioritising the merger. Primefac (talk) 10:51, 22 September 2023 (UTC)