User talk:AnomieBOT/docs/TemplateSubster
This bot changed all the dates entered from 2010-10-05, etc. to 2010. How do I correctly enter dates to avoid this? Cpflieger (talk) 16:18, 26 October 2011 (UTC)
- Just type the date, for example "2010-10-15". No templates or anything are necessary. Note that even before the bot's edit, the pages were still displaying just "2010" rather than the date you intended. Anomie⚔ 17:01, 26 October 2011 (UTC)
why is this being done by a bot?
[edit]Shouldn't the templates themselves be set up to automatically subst, when appropriate? By extending the server code if necessary, I mean. I also don't see why {{unsigned}} needs substing, but that's not a matter for here. 50.0.121.79 (talk) 04:07, 22 May 2016 (UTC)
- I am wondering this too it just replaced {{welcome}} on a talk page. Reb1981 (talk) 04:11, 2 March 2017 (UTC)
- Making templates force themselves to be substituted when editors intended a transclusion would indeed require a change to MediaWiki. You'd want to start an RfC on one of the Village pump pages to demonstrate that people actually want that functionality to exist, then file a task in Phabricator requesting it be implemented. Anomie⚔ 13:47, 2 March 2017 (UTC)
Seems to have simply deleted a template
[edit]Not sure what's going on here [1]. EEng 15:14, 11 October 2018 (UTC)
Oh, wait. Apparently the template is being deleted and is currently empty. Never mind. EEng 16:37, 11 October 2018 (UTC)
Looks incorrect
[edit]See [2] (from 2017). Probably, {rsh} is missing brackets ({{rsh}}). -DePiep (talk) 10:43, 2 February 2019 (UTC)
- See User talk:AnomieBOT/Archive 9#Errors after substituting Redr and User talk:AnomieBOT/Archive 10#Old error (missed { and }) in subst of redr -> redirect category shell. Anomie⚔ 17:58, 3 February 2019 (UTC)
I don't get it. It's often desirable to use the template form so that later it's apparent the right character is present (given that minus, ndash, hyphen, and God-knows-what-else are so similar). EEng 14:23, 8 August 2020 (UTC)
Degree symbol
[edit]This help request has been answered. If you need more help, you can , contact the responding user(s) directly on their user talk page, or consider visiting the Teahouse. |
Is AnomieBOT supposed to substitute "{{degree|180}}" with "{{formatnum:180}}°". This doesn't seem to match what's described on Template:Degree. This substitution occurred today on the Skurfing (sport) article. If this is correct, I should like it stated on the template page to avoid confusion.
Christopher, Sheridan, OR (talk) 21:50, 31 August 2020 (UTC)
- Maybe ask the bot's user Anomie — Maile (talk) 23:59, 31 August 2020 (UTC)
- Thank you for pinging the user for me. This is the Talk page for the user link in the edit History, and since the bot's operator wasn't listed at the top (though I found it later when I read your reply), I put the message here on the bot's talk page. Christopher, Sheridan, OR (talk) 01:10, 1 September 2020 (UTC)
- @DeNoel: FYI, this isn't the bot's talk page. The bot's talk page is at User talk:AnomieBOT.The bot substs {{degree}} because someone told it to in Special:Diff/649914365 by adding
{{subst only|auto=yes}}
to its doc page. It does seem odd for the template when substed to be producing{{formatnum:}}
; that should probably be discussed on the template's talk page. Anomie⚔ 11:49, 1 September 2020 (UTC)- Discussion added to Template talk:Degree; thank you. Christopher, Sheridan, OR (talk) 20:44, 1 September 2020 (UTC)
- @DeNoel: FYI, this isn't the bot's talk page. The bot's talk page is at User talk:AnomieBOT.The bot substs {{degree}} because someone told it to in Special:Diff/649914365 by adding
- Thank you for pinging the user for me. This is the Talk page for the user link in the edit History, and since the bot's operator wasn't listed at the top (though I found it later when I read your reply), I put the message here on the bot's talk page. Christopher, Sheridan, OR (talk) 01:10, 1 September 2020 (UTC)
Do not pointlessly expand template shortcuts
[edit]Please do not automatically expand highly used shortcut template names, like {{ill}}, to ponderous full names (like {{interlanguage link multi}}). The editor who placed the shorter version did it for a reason, and if they are to be expanded, that is something that should be via consensus, on the Talk page. Absent any valid reason for it, this is mindless fiddling that causes no change to the rendered article page, may be a violation of MOS:VAR, and in any case is not an improvement to the article. Thanks, Mathglot (talk) 05:12, 12 October 2020 (UTC)
- The bot does not do that. Are you being confused by edits the bot made in 2016 like this and this when it was substing {{Interlanguage link}}, before {{Interlanguage link multi}} was in turn moved to that title? Anomie⚔ 01:07, 13 October 2020 (UTC)
|subst=subst:
[edit]In this edit, TemplateSubster added |subst=subst:
. That parameter is not recognized by Module:Citation/CS1 so that module emits an Unknown parameter error. Can the addition of that parameter be suppressed? Does it really need to be there? What does it actually accomplish?
—Trappist the monk (talk) 20:33, 4 December 2022 (UTC)
- If I write:
{{subst:cite web/Dutch|url=https://www.vrt.be/vrtnws/nl/2018/01/23/steeds-minder-politieke-partijleden/|titel=Ondanks hoeraberichten: steeds minder partijleden|bezochtdatum=2019-02-26|auteur=VRT NWS|datum=2018-01-23|werk=vrtnws.be|taal=nl|archiefurl=https://web.archive.org/web/20190226172717/https://www.vrt.be/vrtnws/nl/2018/01/23/steeds-minder-politieke-partijleden/|archiefdatum=2019-02-26|dodeurl=nee}}
- and Publish changes, I get this:
{{cite web|access-date=2019-02-26|archive-date=2019-02-26|archive-url=https://web.archive.org/web/20190226172717/https://www.vrt.be/vrtnws/nl/2018/01/23/steeds-minder-politieke-partijleden/|author=VRT NWS|date=2018-01-23|language=nl|title=Ondanks hoeraberichten: steeds minder partijleden|url=https://www.vrt.be/vrtnws/nl/2018/01/23/steeds-minder-politieke-partijleden/|url-status=live|work=vrtnws.be}}<!-- auto-translated by Module:CS1 translator -->
- which is the intended result. I expect to get that same output when the template is auto-subst'd.
- —Trappist the monk (talk) 23:26, 4 December 2022 (UTC)
- The parameter is added because some templates do require that parameter to subst correctly, and the bot can't know which need it and which don't. The vast majority of templates just ignore any unknown parameter. Your best bet here is to have your template recognize and ignore a
|subst=
, since you're already purporting to "handle" every other unknown parameter. Anomie⚔ 23:30, 4 December 2022 (UTC)
- The parameter is added because some templates do require that parameter to subst correctly, and the bot can't know which need it and which don't. The vast majority of templates just ignore any unknown parameter. Your best bet here is to have your template recognize and ignore a
Question
[edit]Is there any script that does what this bot does? It would make my life easier sometimes. RodRabelo7 (talk) 01:53, 28 July 2023 (UTC)
Errors
[edit]Hi, the bot has made multiple edits like this in which an extra, backwards bracket was added after |water-polo-importance=
. I've fixed all instances but wasn't sure if this was specific to a run of water polo-related articles, or if the error would continue in other runs of the bot. Thanks.— TAnthonyTalk 17:49, 5 June 2024 (UTC)
- It's because the template being substituted had that extra left-brace too, until it was fixed in Special:Diff/1227410820. GIGO. Anomie⚔ 10:57, 6 June 2024 (UTC)