edsu / wikichanges

a NodeJS library for monitoring changes on Wikipedia sites
https://npmjs.org/package/wikichanges
70 stars 17 forks source link

How to define minimum change size #9

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hello,

I've been using the code from anon to implement this bot https://twitter.com/BotDetectorCamb, I would like to know if it's possible to define a minimum change size (let's say as a parameter, e.g. 50 chars difference between edits) and if it's not, is it a planned functionality ?

Thanks in advance.

edsu commented 10 years ago

Yes, each change should have a delta property which is a positive or negative integer that represents the size of the change.

ghost commented 10 years ago

Thanks for your help Ed. I know now how to filter short changes.