Page MenuHomePhabricator

"Please specify a valid format" notice when trying to export translation on translatewiki.net
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Go to translatewiki.net
  • Select a random message group at top left
  • Click "Export" tab at the left side of "More" dropdown menu

What happens?:
There is a red notice said "Please specify a valid format."

What should have happened instead?:
Well, it should not.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

image.png (295×856 px, 31 KB)
image.png (356×1 px, 21 KB)
Select message groupRed text

Event Timeline

abi_ triaged this task as Low priority.
abi_ set the point value for this task to 1.

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

[mediawiki/extensions/Translate@master] ExportTranslation: Do not try to export if format is not specified

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

Change 779580 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] ExportTranslation: Do not try to export if format is not specified

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

Tested on translatewiki.net

image.png (729×1 px, 70 KB)

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

[mediawiki/extensions/Translate@master] ExportTranslation: Fix broken web view for WikiPageMessageGroups

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

abi_ raised the priority of this task from Low to Medium.
abi_ moved this task from Done to In Review on the Language-Team (Language-2022-April-June) board.

Reopening due to reports from Slack regarding a broken feature:

On Meta-wiki clicking Translate, and then Export, used to give a really nice easy-to-copy "takeout" version of the text you were exporting, without having to press "Fetch" or do anything (it used to show up right away below the Fetch). In fact, now I can't get that text anymore this way, I have to resort to my old hack.
This is the page where the wiki-text used to be displayed:
https://meta.wikimedia.org/w/index.php?title=Special:ExportTranslations&language=hu&gr[…]+Code+of+Conduct+%28UCoC%29+and+UCoC+Enforcement+Guidelines
It would basically show the wiki-text that is in this source window: https://meta.wikimedia.org/w/index.php?title=Wikimedia_Foundation_Board_noticeboard/Ap[…]nduct_(UCoC)_and_UCoC_Enforcement_Guidelines/hu&action=edit

Change 785108 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] ExportTranslation: Fix broken web view for WikiPageMessageGroups

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

Deployed and fixed the broken feature.