Page MenuHomePhabricator

Marking a page for translation "removed priority languages" even if there never were any
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

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

  • Mark a page for translation

What happens?:

It says "foo removed priority languages from translatable page bar" even if there never were any priority languages

What should have happened instead?:

No such log entry

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

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

https://www.mediawiki.org/w/index.php?title=Special:Log&page=Template%3AOnWikimedia

Event Timeline

That's right, I noticed that too! I was already wondering

@abi_ we didn't run the cleanup script yet, did we?

@abi_ we didn't run the cleanup script yet, did we?

No, not yet. I'll start running them today.

Change #1033868 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] TranslatablePageMarker: Fix check to detect metaata change

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

abi_ triaged this task as Medium priority.
abi_ moved this task from Backlog to page translation on the MediaWiki-extensions-Translate board.
abi_ set the point value for this task to 1.

@abi_ we didn't run the cleanup script yet, did we?

No, not yet. I'll start running them today.

Just a note that this issue is not a result of not running that script.

Change #1033868 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] TranslatablePageMarker: Fix check to detect metadata change

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

abi_ moved this task from In Review to Done on the Language-Team (Language-2024-April-June) board.

Looking at https://www.mediawiki.org/wiki/Special:Log?type=pagetranslation&user=&page=&wpdate=&tagfilter=&wpfilters%5B%5D=newusers&wpFormIdentifier=logeventslist; after the latest deployment, I don't see any more instances of the an incorrect log entry mentioning removal of priority languages.

image.png (1×1 px, 366 KB)