Page MenuHomePhabricator

Special:TranslatorSignup summary appears multiple times
Closed, ResolvedPublicBUG REPORT

Description

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

What happens?:

What should have happened instead?:

  • The page summary should only appear once

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

  • MediaWiki 1.41.0-wmf.3
  • TranslatorSignup 1.41.0-wmf.3

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

image.png (769×1 px, 137 KB)

This patch was submitted to fix the issue: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/TranslationNotifications/+/906614/1

But with that patch in place on my local machine I now see translationnotifications-text[1] added to the header.

image.png (624×1 px, 37 KB)

Calling $form->setHeaderHtml( '' ); fixes the issue.

Event Timeline

abi_ triaged this task as Medium priority.Apr 10 2023, 5:18 AM
abi_ updated the task description. (Show Details)

Change 906614 had a related patch set uploaded (by Abijeet Patro; author: Wargo):

[mediawiki/extensions/TranslationNotifications@master] TranslatorSignup: Call setHeaderHtml with empty string

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

Change 906614 merged by jenkins-bot:

[mediawiki/extensions/TranslationNotifications@master] TranslatorSignup: Call setHeaderHtml with empty string

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

Nikerabbit claimed this task.
Nikerabbit moved this task from Backlog to Bugs on the TranslationNotifications board.