Content deleted Content added
Line 99:
:Apparently URLs are not allowed to contain square brackets. Are you sure [[d:Q97683524#P356]] is the correct value? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 10:33, 14 October 2024 (UTC)
::Yes, this is the correct value; please see [https://bioone.org/journals/american-museum-novitates/volume-2006/issue-3539/0003-0082(2006)3539%5b1%3aRCIBAN%5d2.0.CO%3b2/Rock-Crawlers-in-Baltic-Amber-Notoptera-Mantophasmatodea/10.1206/0003-0082(2006)3539%5B1:RCIBAN%5D2.0.CO;2.full this publication on BioOne] (also note the URL, I had to replace the square brackets with <code>%5B</code> and <code>%5D</code> to make the URL work). Oddly enough, DOIs sometimes contain square brackets; here are some examples found in English Wikipedia articles:
::* in [[Hunter-Schreger band]]: <code><nowiki>https://doi.org/10.1671/0272-4634(2005)025[0924:ESOPMO]2.0.CO;2</nowiki></code> - [https://www.tandfonline.com/doi/abs/10.1671/0272-4634%282005%29025%5B0924%3AESOPMO%5D2.0.CO%3B2 Link]
::* in [[List of mosasaur-bearing stratigraphic units]]: <code><nowiki>https://doi.org/10.1671/0272-4634(2002)022[0629:ANSOGM]2.0.CO;2</nowiki></code> - [https://www.tandfonline.com/doi/abs/10.1671/0272-4634%282002%29022%5B0629%3AANSOGM%5D2.0.CO%3B2 Link]
::* in [[Periodic travelling wave]]: <code><nowiki>https://doi.org/10.1890/0012-9658(2000)081[0981:SAADTW]2.0.CO;2</nowiki></code> - [https://esajournals.onlinelibrary.wiley.com/doi/abs/10.1890/0012-9658%282000%29081%5B0981%3ASAADTW%5D2.0.CO%3B2 Link]
::I guess we could use the <code><nowiki>{{urlencode}}</nowiki></code> magic word, but perhaps there is a better way to encode the square brackets using a local function in the module? (I [https://species.wikimedia.org/w/index.php?title=Module:Authority_control/sandbox&diff=prev&oldid=9748771 tried] to do it, without success. I must have forgotten something.) [[User:Korg|Korg]] ([[User talk:Korg|talk]]) 13:22, 14 October 2024 (UTC)
|