Page MenuHomePhabricator

Provide additional metadata for the "sectiontranslation" edit tag
Closed, ResolvedPublic

Description

When looking to the recent changes of the Section Translation test server, I noticed that:

  • Section translation and Content Translation tags are rendered differently. While the former appears as "ContentTranslation" and links to the project page, the later is shown as a plain "sectiontranslation" text (see screenshot below)
  • Section translation does not appear as an option when filtering the edits by tags (using the tag icon)

Looking at the Tags page it shows that the Section Translation tag has some properties missing or different compared to Content Translation that may be the cause of the discrepancy:

We may need to adjust the following properties for the Section Translation tag:

  • Appearance on change lists. Show as "SectionTranslation" including a link to the project page.
  • Full description of meaning. The content was translated from a section in another language using the Section Translation features of the Content Translation tool.
  • Source. I guess it make sense to be the same as in CX ("Defined by the software"). In any case it does not make sense to be "no longer in use".
  • Active. I guess it should be "yes".

The above information is based on my assumptions, we may need to check in more details how tags are defined in the technical documentation to confirm these. Feel free to comment or propose alternatives.

Implementation notes

See rECTX592e63af90de: Introduce a distinct CX2 tag as an example.

Event Timeline

This may be causing a weird behaviour when linking to Recent Changes. This link shows edits created with Section Translation, but:

  • the "sectiontranslation" tag does not appear in the UI
  • refreshing the page makes it to no longer work (the resulting list is no longer limited to section translation edits)

This may be adding unnecessary noise for users interested in reviewing the content created with the tool.

Pginer-WMF raised the priority of this task from Medium to High.Feb 25 2021, 10:32 AM

Change 673035 had a related patch set uploaded (by Nik Gkountas; owner: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] Enable and add metadata for "sectiontranslation" edit tag

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

@Pginer-WMF as Santhosh noticed it may be better to change 'Section translation features' to 'Section translation feature' inside the Full description of meaning of the tag. What do you think?

Change 673035 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Enable and add metadata for "sectiontranslation" edit tag

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

@Pginer-WMF as Santhosh noticed it may be better to change 'Section translation features' to 'Section translation feature' inside the Full description of meaning of the tag. What do you think?

Yes. That must have been a typo. Let's do the change.