tools_interface/lib.rs
1//! # Tools Interface
2//!
3//! This rust crate implements structs to easily interface with several Wikipedia/Wikidata/Wikimedia tools and APIs.
4//!
5//! ## Supported tools
6//!
7//! - [A List Building Tool](https://a-list-bulding-tool.toolforge.org/) `AListBuildingTool`
8//! - [Completer](https://completer.toolforge.org/) `Completer`
9//! - [Duplicity](https://wikidata-todo.toolforge.org/duplicity/) `Duplicity`
10//! - [PagePile](https://pagepile.toolforge.org/) (read only) `PagePile`
11//! - [Pageviews API](https://wikitech.wikimedia.org/wiki/Analytics/AQS/Pageviews) `Pageviews`
12//! - [Persondata Template](https://persondata.toolforge.org/vorlagen/) `PersondataTemplate`
13//! - [PetScan](https://petscan.wmflabs.org/) `PetScan`
14//! - [Missing Topics](https://missingtopics.toolforge.org/) `MissingTopics`
15//! - [Quarry](https://quarry.wmcloud.org/) (existing results only) `Quarry`
16//! - [QuickStatements](https://quickstatements.toolforge.org/) (start batches) `QuickStatements`
17//! - [SparqlRC](https://wikidata-todo.toolforge.org/sparql_rc.php) `SparqlRC`
18//!
19//! If you would like to see other tools supported, add a request to the [Issue tracker](https://github.com/magnusmanske/tools_interface/issues).
20
21pub mod a_list_building_tool;
22pub mod completer;
23pub mod duplicity;
24pub mod error;
25pub mod missing_topics;
26pub mod pagepile;
27pub mod pageviews;
28pub mod persondata_template;
29pub mod petscan;
30pub mod quarry;
31pub mod quickstatements;
32pub mod site;
33pub mod sparql_rc;
34pub mod tool;
35pub mod tools_interface;
36
37pub use a_list_building_tool::AListBuildingTool;
38pub use completer::{Completer, CompleterFilter};
39pub use duplicity::Duplicity;
40pub use error::ToolsError;
41pub use missing_topics::MissingTopics;
42pub use pagepile::PagePile;
43pub use pageviews::*;
44pub use persondata_template::*;
45pub use petscan::*;
46pub use quarry::Quarry;
47pub use quickstatements::QuickStatements;
48pub use site::Site;
49pub use sparql_rc::{EntityEdit, EntityEditor, SparqlRC};
50pub use tool::Tool;
51pub use tools_interface::ToolsInterface;
52
53/*
54TEST:
55cargo test --lib --tests --bins
56
57TODO
58- WD-FIST
59- https://xtools.wmcloud.org/pages (parse wikitext output)
60- https://ws-search.toolforge.org/ (needs HTML scraping?)
61- https://wp-trending.toolforge.org/
62- https://wikinearby.toolforge.org/ (via its API)
63- https://wikidata-todo.toolforge.org/user_edits.php
64- https://wikidata-todo.toolforge.org/wd_edit_stats.php
65- https://wikidata-todo.toolforge.org/wdq_image_feed.php
66- https://fist.toolforge.org/wd4wp/#/
67- https://whattodo.toolforge.org
68- https://checkwiki.toolforge.org/checkwiki.cgi
69- https://cil2.toolforge.org/
70- https://grep.toolforge.org/
71- https://nppbrowser.toolforge.org/
72- https://searchsbl.toolforge.org/
73- https://item-quality-evaluator.toolforge.org (to add scores)
74- topicmatcher
75*/