Page MenuHomePhabricator

Use standard deletion tag user talk message templates instead of custom ones
Open, Needs TriagePublic

Description

Currently, when tagging for deletion using the Page Curation toolbar, PageTriage leaves a user talk message to the creator of the page, and places custom templates as the message.

For example, placing a CSD A7 leaves this template on the user talk of the creator:

https://en.wikipedia.org/wiki/Template:Db-significance-notice-NPF

image.png (367×1 px, 48 KB)

I think the original intent of these was to make nicer/friendlier messages than the defaults, but this has the unfortunate side effect of duplicating work. Now there are 2 of every CSD user talk message template.

This ticket is to think about switching all of these back to the normal defaults, such as...

https://en.wikipedia.org/wiki/Template:Db-significance-notice

image.png (678×1 px, 158 KB)

The switch itself wouldn't be too hard. Would just need to update the file modules/ext.pageTriageDefaultTagsOptions/ext.pageTriageDefaultDeletionTagsOptions.js, specifically the lines containing the word talkpagenotiftpl (talk page notification template).

Consensus is being discussed at https://en.wikipedia.org/wiki/Wikipedia_talk:New_pages_patrol/Reviewers#Attention

  • change all the talkpagenotiftpl values
  • see if there's any parameters getting passed to all of the templates. if so, makes sure they are correct
  • do any of the templates take custom parameters? if so make sure we don't break that
  • do the old and new templates handle headings the same way? if one includes headings and the other doesn't, or vice versa, would need to modify some code
  • do the old and new templates handle signatures the same way? if one includes headings and the other doesn't, or vice versa, would need to modify some code

The standard template appears to be {{subst:db-csd-notice-custom|1=Article name|2=X#}} for single, and {{subst:db-notice-multiple|Page title|G11|G12|etc.}} for multiple.