On Tue, Dec 4, 2018 at 6:52 PM FreedomFighterSparrow <
[email protected]> wrote:

> - Is the editor a human*?
>

That's not as straightforward a question as you might think. How will you
tell if the editor is a human rather than an unflagged bot? Or a human
blindly clicking "Save" on edits proposed by a program such as AWB?

You might also want to consider what happens if someone vandalizes a page
and then is reverted. Does either the vandalism or the revert really count
as an update?


> I really don't want to have to create my own table just for this.


The page_props table already exists for storing properties of pages. It
generally gets its values from the ParserOutput object for the page's
latest revision, although you could use the 'LinksUpdate' hook to influence
the actual database updates instead.

If you want to tag every revision, you could use a change tag. See
https://www.mediawiki.org/wiki/Manual:Tags for an overview.

-- 
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to