Nardog
Welcome to Wikispecies!
editHello, and welcome to Wikispecies! Thank you for your contributions. I hope you like the place and decide to stay. Here are some pages you might like to see:
- Help:Contents provides a good introduction to editing Wikispecies.
- Templates are there to help you to follow our syntax and formatting standards.
- Have a look at Done and to do.
If you have named a taxon, then it is likely that there is (or will be) a Wikispecies page about you, and other pages about your published papers. Please see our advice and guidance for taxon authors.
If you have useful images to contribute to Wikispecies, please upload them at Wikimedia Commons. This is also true for video or audio files containing bird songs, whale vocalization, etc.
Please sign your comments on talk pages using four tildes (~~~~); this will automatically produce your username (if you're logged in) and the date. Please also read the Wikispecies policy What Wikispecies is not. If you need help, ask me on my talk page, or in the Village Pump. Again, welcome! -- Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:33, 7 October 2024 (UTC)
createRedirects.js
editUser:Nardog/createRedirects.js looks intriguing. Note that on this project, the heading of a section on synonyms should use the markup ==={{int:Synonyms}}===
or possibly === {{int:Synonyms}} ===
. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:36, 7 October 2024 (UTC)
- It's a fork of User:Rillke/createRedirects.js, requested by Korg here. JS has no way of knowing system messages except asynchronously. Nardog (talk) 13:07, 7 October 2024 (UTC)
- The script seems to recognise
==={{int:Synonyms}}===
but not==={{int:Synonymy}}===
- Also, when I use it (for example on Cryptops lamprethus), the yellow links turn red, and no redirect is created. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:29, 7 October 2024 (UTC)
- Fixed redirect creation. Nardog (talk) 00:23, 8 October 2024 (UTC)
- Thank you; confirmed working. What about
==={{int:Synonymy}}===
? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:27, 8 October 2024 (UTC)- On line 81, the word "Synonymy" should be added. I would suggest removing the translations that are not used ("Sinónimos", "Synonymes", "Sinonimi"). So it would have this code:
$('.mw-heading3').has('#Synonyms,#Synonymy').nextUntil('.mw-heading3,.mw-heading2,hr').find('li').each(_highlightLi);
- Also, I would suggest updating the documentation in the top comment ("It requires a h3 section which is exactly named "Synonyms" or "Synonymy""; line 9 can be deleted). Thanks again for this patch! Korg (talk) 12:09, 8 October 2024 (UTC)
- @Korg: Please do not edit my comments (nor others'). I have restored the one you changed, which was correct as I made it. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:41, 8 October 2024 (UTC)
- Thank you Andy for your remark, it's noted. As for editing other people's comments, I disagree with you, but that's another topic (there are situations, depending on the content of the comment, where it can be welcome or necessary, taking into account the nature of the edit, the intention and the context).
- I didn't see the extra spaces in the second heading markup, my mistake. I thought you were referring to the other heading "Synonymy" which is also used on the project. Kind regards, Korg (talk) 22:02, 10 October 2024 (UTC)
- @Korg: Please do not edit my comments (nor others'). I have restored the one you changed, which was correct as I made it. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:41, 8 October 2024 (UTC)
- Thank you; confirmed working. What about
- Fixed redirect creation. Nardog (talk) 00:23, 8 October 2024 (UTC)
- The script seems to recognise
Further enhancements
editThank you Nardog for the improvements to the script!
In the documentation it is indicated that a test had been done with the page Epipactis helleborine subsp. helleborine (Diff, page at the time).
In the list of synonyms, there are names that have two parts in italics, and one part without (e.g., Serapias helleborine var. latifolia).
The form of these names could be simplified as follows: ''Italics'' (f.|lusus|subsp.|subvar.|var.) ''italics''
.
In addition, under the "Synonyms" heading, the word "Heterotypic", displayed using the {{HET}}
template, is highlighted when it should not be. Other templates are also affected: {{BA}}
, {{HOT}}
, {{REP}}
and {{MIS}}
.
Would it be possible to make these changes? Thank you for your time. Korg (talk) 22:02, 10 October 2024 (UTC)
- Many thanks for the changes, it's much appreciated! I have informed users of this script at the Village Pump. Best regards, Korg (talk) 10:51, 12 October 2024 (UTC)
Hi,
On the Myrtaceae page, "Type genus:" is highlighted by mistake. Perhaps we should include a list of terms not to be highlighted, or prevent the highlighting of terms containing a colon?
For information, several redirects were created by mistake from an old version of the page, because the authors' names were not formatted (e.g., Baeckeaceae Bercht. & J.Presl, Přir. Rostlin: 233. (1820)).
On the Acanthus page, "Type species:" and "Type:" are highlighted by mistake. Several terms are also highlighted by mistake on the Gastrochilus distichus page. Thanks in advance for any corrections. Korg (talk) 19:14, 13 October 2024 (UTC)