Page MenuHomePhabricator

Invite to review of recently translated articles not showing when it should
Closed, ResolvedPublic

Description

The entry point to encourage review of recently translated articles (T287236) is not showing for articles that meet the criteria such as this one

The article was created today ( 31 August 2022‎ ) and had only 3 edits, meeting the expected criteria:

  • User is accessing the mobile web version of the article.
  • There are no other notices for the article.
  • User is logged-in
  • The article was published as a new page by Content or Section Translation.
  • The article was published in the last 10 days.
  • The article has less than 5 edits since it was published.
  • The page is not a redirect.

However the invite is not shown as this video illustrates:

The expected result would be to see the "This page was recently translated" notice like in the mockup below:

review-page.png (851×375 px, 133 KB)

Additional considerations:

  • Note that the time criteria ("The article was published in the last 10 days") may no longer apply after some days and you may need to look for similar examples from recently translated articles.
  • The above example is for an article created with Content Translation. Articles created with Section translation seem to have the same issue (examples from Persian and from Turkish Wikipedias), and may be worth checking. Although this may be a case of their recent support (T302061) not being deployed.

Event Timeline

Pginer-WMF created this task.

Change 883555 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] SX recent translation entrypoint: Fix query to use proper page title

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

Change 883555 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX recent translation entrypoint: Fix query to use proper page title

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

@EChukwukere-WMF, the example article used in the description is no longer valid for testing since it does no longer meet the criteria of being published in the last ten days. In order to find valid articles to test you can pick from the recent articles created on Bengali Wikipedia with Content and with Section Translation.

Since the fix, it seems much easier to find examples where the invite shows such as this article illustrated below:

bn.m.wikipedia.org_wiki_%E0%A6%9F%E0%A7%87%E0%A6%95%E0%A6%B0%E0%A6%BE%E0%A6%A1%E0%A6%BE%E0%A6%B0(iPad Mini).png (768×1 px, 312 KB)