Community Wishlist Survey 2021/Editing/Edit 'macros'

Edit 'macros'

  • Problem: I observe this on en.wikipedia, but it is likely everywhere. On en.wikipedia certain mainspace tags get a date. So if one adds {{fact}}, a bot follows up and changes it in {{fact|date=November 2019}}. That results in a second edit, sometimes conflicting with your follow-up edit.
  • Who would benefit: globally
  • Proposed solution: I suggest to write create the possibility to have 'macros', that result in pre-safe modification of the addition of {{fact}} and automatically adds the |date={{{CURRENTMONTH}}} {{{CURRENTYEAR}}}
    Obviously, it needs to be namespace-limited, and probably be handled by a protected page so that you don't get the vandal-addition of abusive macros. And one could consider to have a pre-save check there as well ('Wikipedia executed the following macro(s) on your written text: <list of macros>. Please [accept] or [reject] the changes made by the macro(s).', upon which the page is really saved).
  • More comments:
  • Phabricator tickets:
  • Proposer: Dirk Beetstra T C (en: U, T) 12:41, 30 November 2020 (UTC)

Discussion

  • {{subst:}} with a suitable template can already be used to achieve this. --Dominic Z. (talk) 20:06, 10 December 2020 (UTC)
    • @Dominic Z.: If you talk only about templates, maybe. But there are also cases like 'ISBN #######' ('magic word') which on en.wikipedia is by bot replaced with {{ISBN|#######}}. I maybe should have been clearer in that above. --Dirk Beetstra T C (en: U, T) 06:19, 13 December 2020 (UTC)
  • Some templates, when the parameter "time" is mandatory, coulde include the nowadays date and time by default.--BoldLuis (talk) 14:13, 11 December 2020 (UTC)
  • en:Wikipedia:AutoHotkey can be used as partial solution to this. --Papuass (talk) 21:44, 14 December 2020 (UTC)

Voting

  •   Support MarioSuperstar77 (talk) 18:33, 8 December 2020 (UTC)
  •   Support Shoeper (talk) 18:52, 8 December 2020 (UTC)
  •   Support Ponor (talk) 22:07, 8 December 2020 (UTC)
  •   Support Hanif Al Husaini (talk) 01:03, 9 December 2020 (UTC)
  •   Support --Ciao • Bestoernesto 03:51, 9 December 2020 (UTC)
  •   Support No such user (talk) 09:14, 9 December 2020 (UTC)
  •   Support --Magol (talk) 11:30, 9 December 2020 (UTC)
  •   Support JPxG (talk) 05:51, 10 December 2020 (UTC)
  •   Support Szczot3k (talk) 08:00, 10 December 2020 (UTC)
  •   Support BoldLuis (talk) 14:13, 11 December 2020 (UTC)
  •   Support Dreamy Jazz talk to me | enwiki 16:40, 11 December 2020 (UTC)
  •   Support Helemaal als dit kan voorkomen dat botjes die bij het toevoegen van zo'n datum ook andere, ongerelateerde en niet altijd oncontroversiële bewerkingen doen ("meenemen"), waarbij bijvoorbeeld de "onderwatercode" naar hun persoonlijke smaak wordt ingericht. Wutsje (talk) 20:09, 11 December 2020 (UTC)
  •   Support DGG (talk) 01:19, 12 December 2020 (UTC)
  •   Support as proposer. --Dirk Beetstra T C (en: U, T) 05:37, 13 December 2020 (UTC)
  •   Oppose We have bots for a reason. The fact that they do stuff, and it involves edits, is a given, not a problem. If you're tired of seeing bot edits in your watchlist, turn them off. This is not something MW devs should waste any resources on.  — SMcCandlish ¢ >ʌⱷ҅ʌ<  06:18, 15 December 2020 (UTC)
    That's not a solution: We still don't see the interesting edit. (It might be a solution if the Watchlist simply displayed the last change matching the filter.) ◅ SebastianHelm (talk) 12:28, 16 December 2020 (UTC)
  •   Support because it's silly to not see the actual meaningful change. (See discussion above.) ◅ SebastianHelm (talk) 12:28, 16 December 2020 (UTC)
  •   Support PeacefulJack (talk) 10:16, 17 December 2020 (UTC)
  • I don't support the proposed solution, because I think it wastes human time, but I do support attempts to solve this problem. Being edit-conflicted by a bot is silly, and it occurs and annoys me with some frequency; mostly Anomiebot is the one that edit-conflicts me (I appreciate the automatic adding of the date, just not the edit conflict). A simpler solution might be to have the editing interface silently roll back any bot edits which would otherwise edit-conflict a non-bot editor, and notify the bot. Or just have AnomieBot wait until the manual editor has stopped editing for an hour. HLHJ (talk) 22:51, 19 December 2020 (UTC)