Page MenuHomePhabricator

See percent similarity to top deleted revision (help auto detect CSD G4)
Open, Needs TriagePublicFeature

Description

CSD G4 requires that the new article be substantially similar to the old article. However patrollers that aren't admins cannot see deleted revisions.

PageTriage already detects if an article has been "previously deleted". This ticket is to explore the idea of expanding this detection to include...

  • Detection of a previous AFD, by checking for the existence of an AFD page
  • If previous AFD detected, and the page has been deleted before, there should be an API added to PageTriage to pull the top deleted revision, and then compare it to the current top revision, and provide a % wikicode match.
  • This should either be run with a button, or run automatically.
  • May or may not want to make this a pagetriage_page_tag (article metadata).

Todo

  • add API - could add to pagetriagelist API (but then would calculate this all the time, and calculating it could be expensive), or could create a dedicated API (would only calculate this when needed)
  • add to front end - could add a button to calculate this, or could auto calculate it when visiting the article, or could auto calculate it for everything and add it as a red article tag in Special:NewPagesFeed (pagetriage_page_tag / metadata are involved in the latter)
  • decide if we also want to add similar support for "previous AFD". there is an afd_status page tag, but it only tracks current deletion tagging. There is a recreated tag, but it tracks all kinds of previous deletion, not just AFD.

Credit to @Samwalton9 for the idea

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Novem_Linguae renamed this task from See percent similarity to top deleted revision to See percent similarity to top deleted revision (help auto detect CSD G4).Jul 17 2024, 10:02 PM
Novem_Linguae added a subscriber: Samwalton9.

Change #1057181 had a related patch set uploaded (by Rockingpenny4; author: Rockingpenny4):

[mediawiki/extensions/PageTriage@master] Adds functionality to compare text of recreated articles to latest deleted revision

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

Change #1061716 had a related patch set uploaded (by Rockingpenny4; author: Rockingpenny4):

[mediawiki/extensions/PageTriage@master] Adds functionality to compare external links of recreated articles to latest deleted revision

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

Change #1057181 had a related patch set uploaded (by Sohom Datta; author: Rockingpenny4):

[mediawiki/extensions/PageTriage@master] Adds functionality to compare text of recreated articles to latest deleted revision

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

Change #1061716 had a related patch set uploaded (by Sohom Datta; author: Rockingpenny4):

[mediawiki/extensions/PageTriage@master] Adds functionality to compare external links of recreated articles to latest deleted revision

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

Change #1057181 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Adds functionality to compare text of recreated articles to latest deleted revision

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

Change #1084923 had a related patch set uploaded (by Rockingpenny4; author: Rockingpenny4):

[mediawiki/extensions/PageTriage@master] Adds functionality to compare text of recreated articles to latest deleted revision

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

Scardenasmolinar subscribed.

Moving this back to Review because the merged patch has been reverted.

Change #1084924 had a related patch set uploaded (by Sohom Datta; author: Rockingpenny4):

[mediawiki/extensions/PageTriage@master] Reland "Adds functionality to compare text of recreated articles to latest deleted revision"

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