Page MenuHomePhabricator

Removing a disambiguation template should mark article as unreviewed
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):
Removing a disambiguation template should mark article as unreviewed.

I'm pleased to see that NPP catches [[WP:NPPREDIRECT|redirects converted to articles]]. Does any mechanism cover dabs converted to articles? For example, if I overwrite [[John Smith]] with a badly written bio of my non-notable friend John Smith, is there a system for picking that up? How about name lists such as [[Abdul Hamid]]? @Certes

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

Benefits (why should this be implemented?):

Notes

  • Another ticket talks about [[mw:Extension:Disambiguator]] which notes whether a page is a disambiguation page in SQL table page_props. Example query to see if a page is a disambiguation page: https://quarry.wmcloud.org/query/66497
  • Could also do an edit page hook and look for the removal of something. Perhaps the category "Disambiguation pages"
    • The "mark redirect-to-article as unreviewed" code lives in Hooks.php->onRevisionFromEditComplete(). That'd be a good spot for this.
  • Set index articles are basically a disambiguation page, but are not marked as such in page_props and would have to be detected a different way. Example: https://en.wikipedia.org/wiki/New_York_Proposition_1

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Novem_Linguae moved this task from Backlog to Soon on the PageTriage board.

To clarify since this came up in our call, this feature is a security feature to prevent undisclosed paid editors from hijacking disambiguation pages.

It is very similar to something that PageTriage already does, which is detect when redirects flip from redirect to article, and mark it as unreviewed.

Note that the patch should check if Extension:Disambiguator is installed, and handle a lack of it gracefully, in case PageTriage is installed on a wiki without this extension.