Jump to content

Template talk:Canmore

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

accessdate errors

[edit]

@EdwardUK: I just fixed 25 articles that were in Category:CS1 errors: redundant parameter, such as Knockfarrel:

  • Before: {{canmore |num=12782 |desc=Knock Farril |accessdate=October 11, 2020}} generates Historic Environment Scotland. "Knock Farril (12782)". Canmore. Retrieved October 11, 2020.
  • After: {{canmore |num=12782 |desc=Knock Farril |access-date=October 11, 2020}} generates Historic Environment Scotland. "Knock Farril (12782)". Canmore. Retrieved October 11, 2020.

Since {{canmore}} was added to Knockfarrel last year, I'm wondering if this new error is somehow related to your recent edit to this template. GoingBatty (talk) 19:58, 28 October 2021 (UTC)[reply]

yes - just spotted this myself and am working on fixing it EdwardUK (talk) 19:59, 28 October 2021 (UTC)[reply]
I think this was due to "accessdate" being missing from the exclude section at the top of the code, something I missed when testing - hopefully it is corrected now. EdwardUK (talk) 20:06, 28 October 2021 (UTC)[reply]
The problem was the result of changing this template into a wrapper template, which meant it tried to use the one from Cite web in addition to the parameter that was already being used for it here - I have removed the accessdate parameter from the code for it is no longer needed here. EdwardUK (talk) 20:21, 28 October 2021 (UTC)[reply]