User talk:Novem Linguae/Scripts/SpeciesHelper

{Improve categories} location
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 (talk ⋅dgaf) 18:51, 16 January 2024 (UTC)


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


 * 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 (talk ⋅dgaf)  21:19, 16 January 2024 (UTC)

Authority control & Taxonbar
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 (talk ⋅dgaf) 18:58, 16 January 2024 (UTC)


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

Dual Stub Removal
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)


 * 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)
 * ✅. If one of those two are present, it will now skip stub fixes entirely. – Novem Linguae (talk) 09:59, 12 May 2024 (UTC)

DEFAULTSORT
In the features section, it says SpeciesHelper will remove empty. I have noticed it will try to eliminate a filled in. Example, if you run species helper on Tanychlamys indica. I suspect it is because the template reads as empty when it reads, however it skips trying to remove it when it is. 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 could potentially the more useful orientation, would it make sense for SpeciesHelper to correct the cases when it is oriented  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)

Striking based on the conversation.

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


 * In reference to the Tanychlamys indica example: After reading the code, it looks like there is code that will remove s identical to the title (case insensitive). I have gone ahead and added this to the documentation. With that in mind, are you still requesting changes to the defaultsort algorithm? If so can you provide more diffs/examples to help me wrap my head around it? – Novem Linguae  (talk) 06:05, 14 May 2024 (UTC)
 * @Novem Linguae, apologies for the delayed response.
 * I ran a quick experiment at Alnus firma to test my query if you want to look at the history.
 * Lets say exists, like it does for Category:Alnus.
 * Scenario 1: When visiting a species page of the Alnus genera, like Alnus firma, SpeciesHelper will automatically add the genus category in the format, when the genus category is missing (diff example here).
 * Scenario 2: However, if the genus category is present in a species article, SpeciesHelper will not add the species to category. It fails to add the sort key. Running SpeciesHelper on this version of Alnus firma, did not change  to.
 * Request: If a is present (tagged) on a species article, is it possible to get SpeciesHelper format the category so that it becomes.
 * Hope that is a clear example? Let me know if what I am requesting is still confusing. --Classicwiki (talk) If you reply here, please ping me. 02:37, 24 May 2024 (UTC)