User:ExcarnateSojournerBot/Past projects

Past projects undertaken (or abandoned) by excarnateSojourner using excarnateSojournerBot.

2022

edit

Uncategorize multiword "words"

edit

Remove multiword terms from subcategories of Category:English words by number of syllables.

Status

edit

  Done — excarnateSojourner (talk · contrib) 08:22, 22 November 2022 (UTC)

Discussions

edit
  1. Beer Parlour discussion establishing consensus.
  2. Grease Pit discussion looking for someone else with a bot.
  3. Vote to let me create my own bot (passed).

Implementation

edit

My Python script on GitHub removes plain links (e.g. [[Category:English 2-syllable words]]), removes template links (e.g. {{cat|en|English 2-syllable words}} or {{cln|en|2-syllable words}}), and adds |nocount=1 to {{IPA|en}} templates when appropriate.

Move Category:WC to Category:Toilet (room), and similarly for all language-specific subcategories.

Status

edit

  Done — excarnateSojourner (talk · contrib) 00:54, 23 December 2022 (UTC)

Discussions

edit
  1. RFM discussion establishing consensus.

Implementation

edit

Python scripts accessible on GitHub.

Status

edit

Indefinitely postponed. I explained why in the RFM discussion.

Discussions

edit
  1. RFM discussion explaining why the categories should be moved, establishing consensus, and explaining why moving the categories would be more complicated than I first realized.

Implementation

edit

Python scripts on GitHub.

2023

edit

Recategorize grandchildren of Category:Languages by country

edit

cat:Languages by country contains subcategories for each continent (e.g. cat:Languages of the Americas), each of which contains subcategories for each country in that continent (e.g. cat:Languages of Canada). cat:Languages by country should instead contain the country categories directly. So its grandchildren should be made its children. (This should result in the deletion of the continent subcategories, since they will be empty.)

Status

edit

  Done — excarnateSojourner (talk · contrib) 06:35, 21 February 2023 (UTC)

Discussion

edit
  1. RFM discussion explaining the motivation and establishing consensus.

Implementation

edit

A Python script I wrote, which is on GitHub.

Replace curly quotes in Taos terms

edit

Description and discussion

edit
See Wiktionary:Requests for moves, mergers and splits § Entries in CAT:Taos lemmas with curly apostrophes

Status

edit
  1. I have replaced all instances in Taos entries. — excarnateSojourner (talk · contrib) 23:40, 9 September 2023 (UTC)
  2.   Done: I've replaced instances in template calls which use twf (Taos's language code) in the etymology and translation sections of all entries in all languages, as requested by -sche. — excarnateSojourner (talk · contrib) 19:10, 13 November 2023 (UTC)

Implementation

edit
  1. Replacing in Taos entries: Python script
  2. Finding instances in all entries: Python script, which produced this list of entries:
  1. Replacing instances found in all entries: Python script

2024

edit

Add rhyme syllable counts

edit

Use the subcategories of Category:English words by number of syllables to automatically add syllable counts to existing {{rhymes|en}} templates.

Status

edit

  Done in June 2024. — excarnateSojourner (ta·co) 16:43, 16 September 2024 (UTC)

Discussion

edit
  1. Wiktionary:Beer parlour/2024/April § Copying rhyme syllable counts from existing categories

Implementation

edit

I have written a Python script to do this.

Add language codes to lookfrom

edit

Add a language code to each transclusion of {{lookfrom}} at the same time that the current implementation of the template is overwritten by the implementation of {{prefixlanglemma}}.

Status

edit

  Done — excarnateSojourner (ta·co) 04:56, 14 July 2024 (UTC)

Discussion

edit
  1. Wiktionary:Requests for deletion/Others § Template:lookfrom

Implementation

edit

See GitHub.

  1. Move cat:Racist names for places to cat:Derogatory names for places (along with its subcategories).
  2. Move cat:Racist names for countries to cat:Derogatory names for countries (along with its subcategories).

Status

edit

  Done — excarnateSojourner (ta·co) 00:53, 11 August 2024 (UTC)

Discussion

edit
  1. Wiktionary:Requests for moves, mergers and splits § Category:Racist names for countries → Category:Derogatory names for countries

Implementation

edit

Populate thesaurus entry categories

edit

Category:English thesaurus entries (and likely its siblings) severely under-represent the actual population of applicable thesaurus entries. These categories are supposed to be populated by {{ws header}}'s |lang= parameter. It seems that {{ws header}} is widely used (at least in English entries), but the optional |lang= parameter is often not used. I want to:

  1. Modify {{ws header}}'s parameters.
    1. Bump the existing |1= (used to optionally specify an alternative term to display) down to |2=.
    2. Create |1= as an optional parameter to replace |lang=. This makes the template more consistent with other widely-used templates (such as {{m}}, {{head}}, {{IPA}}). This parameter's value should be a comma separated list of language codes. These should be used to add the entry to all corresponding thesaurus entry categories.
    3. Deprecate |lang= in favour of the new |1=.
  2. Fix thesaurus entries.
For all entries in the Thesaurus namespace:
If the entry contains {{ws header}} and |lang= is specified:
Move the value of |lang= to |1=.
Else if there is at least one L2 heading:
Extract the languages from all the L2 headings, convert them to a language codes, and add them as |1=.
Else (there are no L2 headings):
Maybe add the entry to a list for manual review.
  1. Make {{ws header}}'s |1= required.

Status

edit

  Done: TTO fixed the categorization. See Category talk:Thesaurus § RFM discussion: May 2019–October 2021. — excarnateSojourner (ta·co) 17:30, 28 August 2024 (UTC)

Discussion

edit
  1. Category talk:Thesaurus § RFM discussion: May 2019–October 2021
  2. Wiktionary:Grease pit/2023/January § Category:English thesaurus entries

Categorize appendices

edit

There are several blocks of similarly named appendix subpages listed at Wiktionary:Todo/Lists/Uncategorised pages (all namespaces) § Appendix that look bot-categorizable.

Parent page Proposed categories for subpages
Subpages of Appendix:Chinese radical Category:Chinese appendices, Category:Japanese appendices, Category:Korean appendices, Category:Vietnamese appendices, Category:Han script appendices
Subpages of Appendix:Chinese total strokes Category:Chinese appendices, Category:Japanese appendices, Category:Korean appendices, Category:Vietnamese appendices, Category:Han script appendices
Subpages of Appendix:Dictionary of Mining, Mineral, and Related Terms Category:English appendices unless someone can find a more specific category
Subpages of Appendix:JLPT Category:Japanese appendices, Category:Basic word lists by language

This table is incomplete.

Status

edit

Abandoned. — excarnateSojourner (ta·co) 19:49, 4 September 2024 (UTC)

Discussion

edit

I asked in the Discord to get opinions on this, and the only person who responded suggested creating a subcategory for each set of subpages. But on further consideration I don't see much value in having all of a page's subpages categorized similarly to the parent page. Someone reading through the category can already see the parent page listed, and someone looking at a subpage can easily get to the parent page if they want to see the relevant categories.

Quotation navigation metatemplates

edit

Quotation template navigation templates such as {{Douglas Adams quotation templates}} are used in the documentation of quotation templates to link to other quotation templates for works by the same author. Create cat:Quotation navigation templates by language as a subcategory of both cat:Navigation templates and cat:Quotation templates by language. Create e.g. cat:English quotation navigation templates as a subcategory of both cat:Quotation navigation templates by language and cat:English quotation templates. Recategorize the templates, e.g. {{Douglas Adams quotation templates}}, from cat:Navigation templates and e.g. cat:English quotation templates into e.g. cat:English quotation navigation templates.

Status

edit

  Done — excarnateSojourner (ta·co) 03:46, 15 September 2024 (UTC)

Discussion

edit
  1. Wiktionary:Beer parlour § Recategorizing quotation navigation templates by bot. I want to implement the structure suggested here by Sgconlaw.

Implementation

edit

Implemented using a Python script that does the following:

  1. Edit Module:category tree/poscatboiler/data/templates to add entries for cat:Quotation navigation templates by language and e.g. cat:English quotation navigation templates.
  2. For each subcategory of cat:Quotation templates by language:
    For each template in e.g. cat:English quotation templates with a title ending with " quotation templates", edit its documentation page:
    Look for [[Category:Navigation templates]] and e.g. [[Category:English quotation templates]] and replace them with e.g. [[Category:English quotation navigation templates]].
    If e.g. [[Category:English quotation navigation templates]] does not yet exist, create it using {{auto cat}}.
    Look for e.g. {{DEFAULTSORT:*Adams, Douglas}} and remove the asterisk.

Categorize prefixed templates

edit

While categorizing undercategorized templates I have come across reference templates and quotation templates such as {{R:gd:Borgstrom1941}} which have the appropriate language prefix in their title, and can therefore be categorized by language just by adding {{refcat}} or {{quotecat}} to their documentation.

Status

edit

  Done. — excarnateSojourner (ta·co) 03:06, 2 October 2024 (UTC)

Discussion

edit

I think this is uncontroversial and obvious enough that consensus does not need to be explicitly established.

Implementation

edit

A Python script.