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.):