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]- Beer Parlour discussion establishing consensus.
- Grease Pit discussion looking for someone else with a bot.
- 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)
[edit]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]- RFM discussion establishing consensus.
Implementation
[edit]Python scripts accessible on GitHub.
- Move Category:Exonyms to Category:Exonyms by language.
- Update the category's name in all of its members.
- Move all subcategories from their topic names to catlangname names. For example, move Category:en:Exonyms to Category:English exonyms.
- Update the categories' names in all of their members.
Status
[edit]Indefinitely postponed. I explained why in the RFM discussion.
Discussions
[edit]- 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]- 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]Status
[edit]- I have replaced all instances in Taos entries. — excarnateSojourner (talk · contrib) 23:40, 9 September 2023 (UTC)
- 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]- Replacing in Taos entries: Python script
- Finding instances in all entries: Python script, which produced this list of entries:
- crow
- January
- hour
- English
- two
- five
- country
- fruit
- poison
- baby
- Indian
- church
- tomato
- person
- five hundred
- boy
- girl
- bird
- ant
- earth
- child
- grandfather
- nephew
- niece
- brother-in-law
- brother-in-law
- brother-in-law
- son-in-law
- daughter-in-law
- duck
- wood
- chocolate
- tamale
- city
- grape
- burro
- burro
- knee
- neck
- who
- street
- road
- mass
- family
- fly
- lightning
- bull
- machine
- sheep
- thunder
- cheese
- basket
- coat
- coal
- cake
- rooster
- sparrow
- magpie
- buffalo
- beaver
- donkey
- badger
- squirrel
- liver
- stomach
- people
- people
- people
- mare
- colt
- hammer
- peach
- pear
- garden
- spider
- dancer
- mint
- mile
- cigar
- town
- shop
- steam
- toro
- glass
- wheel
- tyre
- mule
- offspring
- stepbrother
- land
- half brother
- valley
- ox
- witch
- lizard
- maize
- racetrack
- coyote
- thief
- truck
- truck
- worm
- seed
- tramp
- fingernail
- walk
- chief
- lamb
- mattress
- agent
- knot
- ankle
- steer
- drop
- cabbage
- human being
- spruce
- relative
- soldier
- skull
- singer
- teacher
- question
- giant
- rattlesnake
- camp
- camp
- godfather
- godmother
- chipmunk
- pine
- paternal uncle
- doll
- loaf
- daddy
- col
- orphan
- return
- dance
- queso
- cheek
- dancing
- youth
- fir
- old man
- raisin
- lettuce
- stream
- strip
- mum
- cutting
- washing
- wild goose
- vinegar
- juniper
- ranch
- chili
- baking soda
- sweetheart
- Earth
- baking powder
- bracelet
- blue jay
- compadre
- apple tree
- garter
- eastward
- old woman
- tienda
- paternal aunt
- mula
- in front of
- bedspring
- hot spring
- nighthawk
- bedstead
- Santa Fe
- corncob
- little one
- Taos
- Taos
- Taos
- kùoúna
- kòwúna
- msotuúna
- moza
- kwog
- kwog
- chili powder
- tnw
- tkwitho
- túyug
- tbu
- tyuku
- ttwyu
- cat/translations
- fire/translations
- dog/translations
- gold/translations
- egg/translations
- son/translations
- head/translations
- star/translations
- cow/translations
- moon/translations
- ear/translations
- river/translations
- fish/translations
- sky/translations
- ice/translations
- sugar/translations
- water/translations
- bed/translations
- bed/translations
- brother/translations
- mountain/translations
- sister/translations
- 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]Implementation
[edit]I have written a Python script to do this.
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]Implementation
[edit]See GitHub.
- Move cat:Racist names for places to cat:Derogatory names for places (along with its subcategories).
- 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]Implementation
[edit]- I have edited the appropriate fields in Module:category tree/topic cat/data/Names for the "places" categories.
- I have written Python scripts for a previous project that can move set categories like these.
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:
- Modify
{{ws header}}
's parameters.- Bump the existing
|1=
(used to optionally specify an alternative term to display) down to|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. - Deprecate
|lang=
in favour of the new|1=
.
- Bump the existing
- 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=
.
- Move the value of
- 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=
.
- Extract the languages from all the L2 headings, convert them to a language codes, and add them as
- Else (there are no L2 headings):
- Maybe add the entry to a list for manual review.
- If the entry contains
- For all entries in the Thesaurus namespace:
- 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]- Category talk:Thesaurus § RFM discussion: May 2019–October 2021
- 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]- 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:
- 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.
- 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}}
.
- If e.g.
- Look for e.g.
{{DEFAULTSORT:*Adams, Douglas}}
and remove the asterisk.
- Look for
- For each template in e.g. cat:English quotation templates with a title ending with " quotation templates", edit its documentation page:
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.