Page MenuHomePhabricator

Error thrown when applying a speedy deletion tag which has parameters
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to a page in the New Pages Feed
  • Go to the deletion flyout of the page triage toolbar
  • Choose a deletion tag with a param (e.g. G5)
  • Click "Mark for deletion"

What happens?:

  • The tag is applied, but the page does not refresh.
  • An error is thrown "PageTriage error type: Cannot read properties of undefined (reading 'replace')

File: delete.js
Page name: Main Page1
Skin: vector-2022
Dump of this.selectedTag: undefined"

  • Sometimes this error is in an alert box, and sometimes only in the console.

What should have happened instead?:
The tag should be applied and the page should refresh without errors.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Latest master: 9739157caaa26b354fa22c7a5b974e1ebb97cc46

Other information (browser name/version, screenshots, etc.):

Event Timeline

Has this worked in the past?

If so, let's 1) add a regression tag and 2) git bisect to figure out the patch that introduced the bug. This patch looks like it might have touched some code related to this.

Change #1021963 had a related patch set uploaded (by Sohom Datta; author: Sohom Datta):

[mediawiki/extensions/PageTriage@master] Do not send talk page notification when notif text or title is not defined

https://gerrit.wikimedia.org/r/1021963

Has this worked in the past?

If so, let's 1) add a regression tag and 2) git bisect to figure out the patch that introduced the bug. This patch looks like it might have touched some code related to this.

This is probably a old bug that resurfaced due to a config re-organization the recent tags patch does not appear to be the culprit

Change #1021963 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Do not send talk page notification when notif text or title is not defined

https://gerrit.wikimedia.org/r/1021963

Soda claimed this task.