Jump to content

User talk:Kanashimi

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from User talk:Cewbot)
# 💭 Title 💬 👥 🙋 Last editor 🕒 (UTC)
1 Merge banners? 5 2 Kanashimi 2026-06-24 22:05
Legend
  • In the last hour
  • In the last day
  • In the last week
  • In the last month
  • More than one month
Manual settings
When exceptions occur,
please check the setting first.

Merge banners?

[edit]

Is there any chance you could develop the code for your bot so that it can merge multiple instances of the same banner, or remove redundant or duplicate banners?

  • Example of merging: [1]
  • Example of removing redundant: [2]

This would be really helpful, thanks — Martin (MSGJ · talk) 07:37, 22 June 2026 (UTC)[reply]

The bot will indeed merge templates, but the parameters of the two templates must not conflict at all. In the first example, both were |1=, so the bot did not merge them. In the second example, the parameter value of |importance= differed in case, so the bot determined there was a conflict and did not merge them either. Kanashimi (talk) 12:18, 23 June 2026 (UTC)[reply]
Okay understood. At least the parameter could be made case-insensitive? — Martin (MSGJ · talk) 13:34, 23 June 2026 (UTC)[reply]

In this edit, why did the bot keep the empty |needs-infobox= parameter but not the |Curaçao-importance= or |Caribbean Netherlands-importance= parameters? — Martin (MSGJ · talk) 15:06, 24 June 2026 (UTC)[reply]

They are in `remove_unnecessary_WP_parameters`. Kanashimi (talk) 22:05, 24 June 2026 (UTC)[reply]