Page MenuHomePhabricator

Follow-up after publishing: Invite to translate another section
Closed, ResolvedPublic

Assigned To
Authored By
Pginer-WMF
Aug 11 2020, 2:00 PM
Referenced Files
F34107250: image.png
Feb 16 2021, 11:40 AM
F34106308: Screenshot_20210215-155925.jpg
Feb 15 2021, 7:25 PM
F34106310: Screenshot_20210215-155339.jpg
Feb 15 2021, 7:25 PM
F34106307: Screenshot_20210215-155940.jpg
Feb 15 2021, 7:25 PM
F34106309: Screenshot_20210215-155329.jpg
Feb 15 2021, 7:25 PM
F34095349: Screenshot_20210208-131421.jpg
Feb 8 2021, 4:30 PM
F34095348: Screenshot_20210208-131421-1.jpg
Feb 8 2021, 4:30 PM
F31757912: Contribute again - Invite.png
Aug 11 2020, 2:00 PM

Description

As part of the "Show follow-up options after publishing" step (T241592) of the section translation workflow, users get an invite to translate another section as they get confirmation that it was published.

This ticket expands the confirmation panel (T260136) to include an invite to translate another section .

Contribute again - Invite.png (768×1 px, 184 KB)
Contribute again - Invite Dimensions.png (768×1 px, 126 KB)

In the case where there is no other section missing for the article, the call to action will be "Expand another article". Which will lead the user to the Translation Dashboard in the suggestions view.

More details available in the parent ticket: T241592: Section Translation: Show follow-up options after publishing

Event Timeline

Pginer-WMF raised the priority of this task from Medium to High.Jan 12 2021, 1:43 PM

Change 661708 had a related patch set uploaded (by Nik Gkountas; owner: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX Follow up after publishing: Add invitation panel to target page

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

@Pginer-WMF, @ngkountas, when the messages of the invitation panel will be available on translatewiki for internationalization? Thanks.

@Pginer-WMF, @ngkountas, when the messages of the invitation panel will be available on translatewiki for internationalization? Thanks.

The code for this is still in review. On the right column there is a "tags" section that shows the status of the ticket for the current work board "Language-Team (Language-2021-January-March)". Once the code is merged, you'll see that gerritbot adds a comment in the style of "Change XYZ merged by jenkins-bot...". Code needs to be merged and exported before it is available for translation.

Given that it is possible that, even after merging, some additional changes may be needed, I think the best time to look into translations is when the ticket is marked as resolved since all the checks will be completed by then.

@Pginer-WMF, @ngkountas, when the messages of the invitation panel will be available on translatewiki for internationalization? Thanks.

The code for this is still in review. On the right column there is a "tags" section that shows the status of the ticket for the current work board "Language-Team (Language-2021-January-March)". Once the code is merged, you'll see that gerritbot adds a comment in the style of "Change XYZ merged by jenkins-bot...". Code needs to be merged and exported before it is available for translation.

Given that it is possible that, even after merging, some additional changes may be needed, I think the best time to look into translations is when the ticket is marked as resolved since all the checks will be completed by then.

@Pginer-WMF, I just saw that the confirm panel is now in SX test server, see screenshots:

Screenshot_20210208-131421.jpg (1×720 px, 239 KB)

Screenshot_20210208-131421-1.jpg (834×720 px, 101 KB)

Change 661708 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX Follow up after publishing: Add invitation panel to target page

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

Jpita subscribed.

the translated article and the missing article are the same.
this way we can never see the "Expand another article" message.

image.png (1×888 px, 135 KB)

@ngkountas fix on this ticket or new one?

the translated article and the missing article are the same.
this way we can never see the "Expand another article" message.

image.png (1×888 px, 135 KB)

@ngkountas fix on this ticket or new one?

Nik can confirm, but I think the problem here is that the API to check for sections is looking at the real articles and the section is added to the test instance one. If this is the case, this would be one of the aspects to verify on a real wiki.

Having said that, when publishing to the sandbox we may find a similar issue even on a real wiki. So it may be worth processing the list of missing sections in a way that we surface in the example the next one to the one added.

Pau described the issue accurately. In general API to check for sections has currently serious limitations in finding missing and present sections.