Page MenuHomePhabricator

Easy ability to reload page after Translate Import function
Closed, ResolvedPublic2 Estimated Story PointsFeature

Description

Feature summary (what you would like to be able to do and where):
Ability to reload the import page after a successful import of translations using the Translate extension.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
When you are doing multiple imports of translations.

Benefits (why should this be implemented?):
It would just be handy if there was a link or something that would avoid needing to take additional step of manually reloading (vs. refreshing) the page.

Ideally a link or some sort of function accompanying this existing message:

Screenshot 2023-03-09 at 12.09.34 PM.png (238×602 px, 36 KB)

Event Timeline

Varnent renamed this task from Ability to reload page after Translate Import function to Easy ability to reload page after Translate Import function.Mar 9 2023, 8:12 PM

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

[mediawiki/extensions/Translate@master] ImportTranslationsSpecialPage: Add link to go back after import

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

We've added a back-link that appears at all times:

image.png (301×744 px, 16 KB)

Additionally after a successful import another message to go back to Special:ImportTranslations is displayed at the bottom.

image.png (304×480 px, 25 KB)

@Varnent - What are your thoughts about having the form displayed right there after import rather than putting a link to go back to the form? Would that make the process faster / more efficient?

Change 904269 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] ImportTranslationsSpecialPage: Add link to go back after import

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

Now deployed on meta.wikimedia.org.

The following is pending:

@Varnent - What are your thoughts about having the form displayed right there after import rather than putting a link to go back to the form? Would that make the process faster / more efficient?

Now deployed on meta.wikimedia.org.

The following is pending:

@Varnent - What are your thoughts about having the form displayed right there after import rather than putting a link to go back to the form? Would that make the process faster / more efficient?

I think that would be great - and thank you for adding this link - it's very helpful. I like the idea of it being towards the bottom after the confirmation page as while I recognize the scrolling down isn't "convenient" - I would argue it's a good idea to review the results and verify it was successful before just habitually moving on to next import task (I recognize there is already a breadcrumb back link at top of page - so this thinking is specific to the form being displayed). So yes - I think this would be a great idea!

I also realized today it might be helpful in the confirmation message to display either the filename imported and/or page imported to (presumably with link) as with this improved workflow, I am now finding it harder to remember which language I just finished (as it is not always 100% evident from text itself - especially if you do not speak dozens of languages). I can create a separate ticket for that if helpful - but given this is in same arena figured I would mention it here while it was on my mind.

Thank you again for your great work on this stuff! I recognize some of these are minor and odd - but the little things make a big difference in mass workflows as we all know. ;)

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

[mediawiki/extensions/Translate@master] ImportTranslationsSpecialPage: Update successful import message

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

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

[mediawiki/extensions/Translate@master] ImportTranslationsSpecialPage: Show import form after success message

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

Change 908273 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] ImportTranslationsSpecialPage: Update successful import message

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

Change 908274 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] ImportTranslationsSpecialPage: Show import form after success message

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

abi_ changed the point value for this task from 1 to 2.Apr 17 2023, 12:54 PM

Updated based on feedback:

image.png (370×921 px, 30 KB)

Perfect - thank you!

Deployed and tested on Meta.