Community Wishlist Survey 2021/Admins and patrollers/(Un)delete associated talk page

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Random proposal◄ Admins and patrollers  The survey has concluded. Here are the results!

  • Problem: Add a checkbox to the (un)delete forms to (un)delete the associated talk page simultaneously with the content page. Add a corresponding parameter to the (un)delete actions in the Action API.
  • Who would benefit: Administrators
  • Proposed solution: Self-explanatory.
  • More comments: There is a fairly recent WIP patch for some of this. However, the sooner this is delivered the better. This may sound trivial, but there is a lot of stuff that gets deleted and therefore will save quite a bit of time.
  • Phabricator tickets: T27471, T263211, T263209
  • Proposer: MER-C (talk) 17:20, 21 November 2020 (UTC)[reply]

Discussion

  • Thank you MER-C. The only thing demotivating me from completing that patch is really lack of commitment for review. In my understanding PET is not interested in reviewing patch for this feature and there's really no one else to do. If anyone or team is committing to reviewing I can complete it in as far I am available. And by the way I just abandoned that patch because so many things have changed and it would be easier to rewrite from scratch. – Ammarpad (talk) 09:05, 25 November 2020 (UTC)[reply]
  • @MER-C: This would certainly be useful, but don't forget about the API. (the proposal only mentions "checkbox") When tools and gadgets (like Restore-a-lot and DelReqHandler) can do this, it would save loads of work. And creating a language-independent workaround within the gadget is surprisingly difficult because the gadget doesn't "know" in what namespace a page is and even if it did, can't guess the name of the associated talk namespace, and even if it could, performance is already not great and would be roughly halved. — Alexis Jazz (talk or ping me) 11:42, 25 November 2020 (UTC)[reply]
    Good point, added. MER-C (talk) 14:04, 25 November 2020 (UTC)[reply]
    It only takes two simple API calls to get the name of a pages's associated talk page: One to get the pageid (example) and one to the title from pageid (example). That shouldn't be hard for a tool or gadget to do. --Dipsacus fullonum (talk) 14:30, 25 November 2020 (UTC)[reply]
    @Dipsacus fullonum: Thanks! That's easier than what I was thinking of. (a lookup table or something) Performance is still an issue though, and implementing this in gadgets (and having to implement and maintain it in every gadget separately) is likely more error-prone. — Alexis Jazz (talk or ping me) 15:01, 25 November 2020 (UTC)[reply]
    Actually your trick doesn't work for deleted talk pages. So this won't work for undeletion. — Alexis Jazz (talk or ping me) 15:08, 25 November 2020 (UTC)[reply]

Voting