User talk:Novem Linguae/Scripts/SpeciesHelper

Latest comment: 3 hours ago by Classicwiki in topic DEFAULTSORT

{Improve categories} location edit

This is a 2 year old edit, but I just want to check - does SpeciesHelper now place {{Improve categories}} immediately after categories, and above stub tags (per MOS:ORDER)? This is how I've been correcting them.   ~ Tom.Reding (talkdgaf)  18:51, 16 January 2024 (UTC)Reply

Yes, nowadays SpeciesHelper follows MOS:ORDER for category maintenance tags. Although Twinkle and PageTriage do not, so I am not sure how accurate MOS:ORDER is. Perhaps MOS:ORDER should be updated to reflect the reality that Twinkle places these below the stub tag. –Novem Linguae (talk) 20:30, 16 January 2024 (UTC)Reply
If there's an adequate discussion in favor of what Twinkle/PT are doing (I haven't checked), then the MOS should be definitely be updated. If not, then Twinkle/PT need to updated to comply with the MOS.
Not that this is the correct venue, but...it makes more sense for category related things to be grouped together (DEFAULTSORT>categories>improve cats), which puts {{improve categories}} very close to the categories anyway (only 1-to-a-few stub tags' height away, which I think is fine).   ~ Tom.Reding (talkdgaf)  21:19, 16 January 2024 (UTC)Reply

Authority control & Taxonbar edit

I don't think removing {{Authority control}} from pages with {{Taxonbar}} is a good idea. Is there consensus for that somewhere? There is very little overlap, if any, between AC IDs and Taxonbar IDs. I don't have any diffs to share/examine; I just read about this now under SpeciesHelper#Features.   ~ Tom.Reding (talkdgaf)  18:58, 16 January 2024 (UTC)Reply

I came to the same conclusion about 3 months ago and released a patch to have SpeciesHelper stop doing this. Diff. Shouldn't be an issue going forward. I'll update the documentation. –Novem Linguae (talk) 20:21, 16 January 2024 (UTC)Reply

Dual Stub Removal edit

SpeciesHelper likes to remove {{Plant-disease-stub}}. You can see an example here 1. Any chance we can bypass removing that stub template? Seems like a useful template and counterproductive to remove. -- Classicwiki (talk) If you reply here, please ping me. 07:31, 12 May 2024 (UTC)Reply

Same thing happens with {{paleo-gastropod-stub}}. I think it only likes to keep one stub template at a time? -- Classicwiki (talk) If you reply here, please ping me. 07:41, 12 May 2024 (UTC)Reply
  Done. If one of those two are present, it will now skip stub fixes entirely. –Novem Linguae (talk) 09:59, 12 May 2024 (UTC)Reply

DEFAULTSORT edit

In the features section, it says SpeciesHelper will remove empty {{DEFAULTSORT}}. I have noticed it will try to eliminate a filled in {{DEFAULTSORT}}. Example, if you run species helper on Tanychlamys indica. I suspect it is because the template reads as empty when it reads {{DEFAULTSORT:Genus species}}, however it skips trying to remove it when it is {{DEFAULTSORT:Species, Genus}}. I think the comma is important for some reason.

I started a conversation on the template talk page on the correct way for it to be used on species articles.

From my encounters many Wiki species articles seem to overlook DEFAULTSORT. Do you think it is useful on species pages?

If you concur with the response there that {{DEFAULTSORT:Species, Genus}} could potentially the more useful orientation, would it make sense for SpeciesHelper to correct the cases when it is oriented {{DEFAULTSORT:Genus species}} and insert it where it is missing? -- 17:44, 13 May 2024 (UTC) Classicwiki (talk) If you reply here, please ping me. 17:44, 13 May 2024 (UTC) Reply

Striking based on the conversation.

New query: Can we make it so that SpeciesHelper removes {{DEFAULTSORT:Species, Genus}} when the species article is titled in its scientific name? Additionally, if a [[Category:Genus]] is active, is it possible to get SpeciesHelper format the category so that it becomes [[Category:Genus|Species]] (if it already does not do that). -- Classicwiki (talk) If you reply here, please ping me. 20:03, 13 May 2024 (UTC)Reply