Page MenuHomePhabricator

Extra line break is added when tagging redirects with redirect category tags
Closed, ResolvedPublicBUG REPORT

Description

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

  • Log out
  • Create a redirect (with no line breaks anywhere, e.g. #REDIRECT [[Test]]
  • Log in as admin
  • Visit redirect
  • PageTriage -> tags menu -> tag it with a redirect maintenance tag

What happens?:

image.png (507×690 px, 28 KB)

What should have happened instead?:

image.png (458×671 px, 27 KB)

Software version (skip for WMF-hosted wikis like Wikipedia):

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

Event Timeline

Change #1019359 had a related patch set uploaded (by Rockingpenny4; author: Rockingpenny4):

[mediawiki/extensions/PageTriage@master] Removes extra line break on tagging redirects with maintenance tags

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

Made a patch for this bug. Here's the relevant screencast:

Soda renamed this task from Extra line break is added when tagging redirects with maintenance tags to Extra line break is added when tagging redirects with redirect category tags.Apr 20 2024, 5:03 PM

Change #1019359 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Removes extra line break on tagging redirects with maintenance tags

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