Page MenuHomePhabricator

Mark as reviewed log entry should mention if it's an article or redirect
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):
Change log entry
Hey man im josh (talk | contribs | block) marked Columbia 'Coco' Diaz as reviewed
to
Hey man im josh (talk | contribs | block) marked the redirect Columbia 'Coco' Diaz as reviewed
or
Hey man im josh (talk | contribs | block) marked the article Columbia 'Coco' Diaz as reviewed

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):

  • If a page gets moved or BLAR'd, it becomes difficult to see who marked the page as reviewed. The original title will get marked as reviewed at least twice, and one of those reviews will be for the redirect, not the article.
  • Example of a confusing log:

image.png (834×1 px, 202 KB)

Benefits (why should this be implemented?):

Event Timeline

If we want the log format exactly as written in the task, it probably would require changes to mediawiki-core, as well as pagetriage.
Another option would be use the 'note' api parameter while marking as reviewed/unreviewed. Assuming 'note' is set to 'article', it would leave a log as follows:
Hey man im josh (talk | contribs | block) marked Columbia 'Coco' Diaz as reviewed (article)

MediaWiki core?

Any reason we couldn't just change this message in PageTriage from

"logentry-pagetriage-curation-reviewed": "$1 {{GENDER:$2|marked}} $3 as reviewed",

to use a $4 parameter, or split it into two messages?

MediaWiki core?

Any reason we couldn't just change this message in PageTriage from

"logentry-pagetriage-curation-reviewed": "$1 {{GENDER:$2|marked}} $3 as reviewed",

to use a $4 parameter, or split it into two messages?

Yes it can :)

Change 966517 had a related patch set uploaded (by Sohom Datta; author: Sohom Datta):

[mediawiki/extensions/PageTriage@master] Differentiate between redirects and articles in review logs going forward

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

That being said, this can only be applied to logs going forward, changing anything that has already been logged is going to be non-trivial

Going forward sounds fine to me :)

Obviously, I didn't know how the logentry stuff worked. Frantic searching in the PT and MW-core codebases gave nothing relevant.

Anyway, Soda's patch seems to do everything that is asked for in the ticket.

MediaWiki core?

Any reason we couldn't just change this message in PageTriage from

"logentry-pagetriage-curation-reviewed": "$1 {{GENDER:$2|marked}} $3 as reviewed",

to use a $4 parameter, or split it into two messages?

Looks like this would also help with tallying points for the NPP backlog drive. Since articles and redirects sometimes have different point values. And we need a way to track these even after the articles are deleted.

https://en.wikipedia.org/wiki/User_talk:Tol#NPP_backlog_drive_issue

Change 966517 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Differentiate between redirects and articles in review logs going forward

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