Reported by Fork99 at https://en.wikipedia.org/wiki/Wikipedia_talk:New_pages_patrol/Reviewers#Possible_bug_in_the_curation_tool_when_you_RfD_a_redirect
Steps to replicate the issue (include links if applicable):
- Figure out what today's date is in UTC
- Make the corresponding log page for that day. For example, https://test.wikipedia.org/wiki/Wikipedia:Redirects_for_discussion/Log/2023_September_2
- Seed it with wikitext from English Wikipedia, for example, https://en.wikipedia.org/w/index.php?title=Wikipedia:Redirects_for_discussion/Log/2023_September_2&action=edit§ion=T-1
- Create a redirect
- RFD that redirect using the Page Curation toolbar -> delete menu -> Redirects for Discussion
What happens?:
- Log page has [[:{{{target}}}]] written to it
What should have happened instead?:
- Log page should have the redirect target written to it. This target probably needs to be discovered with an API query, the result of which much be awaited before proceeding to write the log entry.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
- High priority bug. RFD is broken. No one is going to want to use this workflow if they have to go edit every one of their RFDs in order to replace [[:{{{target}}}]] with the proper wikilink.