These new APIs may be very useful for offline content developers.
---------- Forwarded message ---------- From: Luca de Alfaro luca@dealfaro.com Date: 2011/2/3 Subject: [Toolserver-l] APIs giving origin and author of text ("blame" maps), and signals on revision vandalism To: toolserver-l@lists.wikimedia.org
Dear All,
We wanted to let you know of three recent APIs we have built for WikiTrust that may be useful to tool developers. If anyone would like to build a service on top of these APIs (or have suggestions for other APIs that we might be able to provide with our data), we would love to work with you to make it happen.
kind regards, Luca, Bo, and Ian
VANDALISM API: A request like
http://en.collaborativetrust.com/WikiTrust/RemoteAPI?method=quality&revi...
returns the vandalism probability for revision 1234. This is a plain text floating point number from zero to one, where 1.0 means that the revision is vandalism.
SELECTION API: A request like
http://en.collaborativetrust.com/WikiTrust/RemoteAPI?method=select&pagei...
returns a JSON array of objects describing the top-quality recent revisions of the page. Each entry consist of a revision_id, and of a few additional parameters.
TEXT ORIGIN API: A request like
http://en.collaborativetrust.com/WikiTrust/RemoteAPI?method=wikimarkup&p...
returns a JSON object containing a string, consisting of the WikiTrust text with some additional markup. The markup consists in tags like:
Since {{#t:10,84893431,Habitual gardner}}its inception in {{#t:10,86765634,Bassemkhalifa}}1928 the movement
which means that the words “its inception in” were written by “Habitual gardner”, in revision 86765634 (and have trust 10).
---
See http://www.wikitrust.net/vandalism-api for additional information about these APIs.
_______________________________________________ Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette