[Wikitech-l] Efficiently find the last content edit of an article?

2015-04-27 Thread Daniel Barrett
What is the best way (in code) to locate the most recent revision of article in which the text actually changed? That is, the revision was not a move or other non-editing operation? I figure the logic would be something like: $r = GetTheMostRecentRevision(); IF $r NOT a Move THEN return $r

Re: [Wikitech-l] Efficiently find the last content edit of an article?

2015-04-27 Thread John
just comparing the text hashes should be enough On Mon, Apr 27, 2015 at 2:51 PM, Daniel Barrett d...@cimpress.com wrote: What is the best way (in code) to locate the most recent revision of article in which the text actually changed? That is, the revision was not a move or other non-editing