The tool excludes edits that are marked as patrolled but you need to rollback (instead of undo/restore). I can add an option that only gets current one but that probably make the query too complex to run on time.
Best On Wed, Apr 26, 2017 at 2:29 PM Bináris <[email protected]> wrote: > Amir, I have already found a vandalism with your tool and reverted it. > Here: > http://tools.wmflabs.org/dexbot/tools/deleted_sitelinks.php?wiki=huwiki > the last row: 472895901 > <https://www.wikidata.org/wiki/Special:Diff/472895901> 62.250.93.192 > <https://www.wikidata.org/wiki/User:62.250.93.192>Q686894 > <https://www.wikidata.org/wiki/Q686894> /* wbsetsitelink-remove:1|huwiki > */ > Fúriadüh > But the row is still visible after refreshing. > Is it possible to develop the tool so that it checks if the current version > has the removed link and in case of yes it omits the row from the list, so > that we don't have to check reverted items? > > 2017-04-26 5:30 GMT+02:00 Amir Ladsgroup <[email protected]>: > > > Hey, > > One common form of vandalism in Wikidata is removing sitelinks (we > already > > have an abuse filter flagging them). > > One of my friends in Persian Wikipedia (who is not a wikidata editor and > > only cares about Persian Wikipedia) asked me to write a tool that lists > all > > Persian Wikipedia sitelink removals. So I wrote something small and fast > > but it's usable for any wiki. For example English Wikipedia: > > http://tools.wmflabs.org/dexbot/tools/deleted_sitelinks.php?wiki=enwiki > > > > It's slow due to nature of the database query but once it responds, you > > might find good things to revert. > > > > Since this is the most useful for Wikipedia editors who don't want to > > patrol Wikidata (in that case, this query > > <https://www.wikidata.org/w/index.php?namespace=& > > tagfilter=new+editor+removing+sitelink&translations= > > noaction&title=Special%3ARecentChanges> > > is > > the most useful) I'm reaching to wider audiences. Sorry for spamming. > > > > HTH > > Best > > _______________________________________________ > > Wikitech-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > > > -- > Bináris > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
