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/)
8//! - [Completer](https://completer.toolforge.org/)
9//! - [Duplicity](https://wikidata-todo.toolforge.org/duplicity/)
10//! - [List Building](https://list-building.toolforge.org)
11//! - [PagePile](https://pagepile.toolforge.org/) (read only)
12//! - [Pageviews API](https://wikitech.wikimedia.org/wiki/Analytics/AQS/Pageviews)
13//! - [Persondata Template](https://persondata.toolforge.org/vorlagen/)
14//! - [PetScan](https://petscan.wmflabs.org/)
15//! - [Missing Topics](https://missingtopics.toolforge.org/)
16//! - [Quarry](https://quarry.wmcloud.org/) (retrieve existing results only)
17//! - [QuickStatements](https://quickstatements.toolforge.org/) (create and start batches)
18//! - [SparqlRC](https://wikidata-todo.toolforge.org/sparql_rc.php)
19//! - [WikiNearby](https://wikinearby.toolforge.org/)
20//! - [XTools pages](https://xtools.wmcloud.org/pages)
21//!
22//! If you would like to see other tools supported, add a request to the [Issue tracker](https://github.com/magnusmanske/tools_interface/issues).
23
24pub mod a_list_building_tool;
25pub mod completer;
26pub mod duplicity;
27pub mod error;
28pub mod fancy_title;
29pub mod grep;
30pub mod list_building;
31pub mod missing_topics;
32pub mod page_list;
33pub mod pagepile;
34pub mod pageviews;
35pub mod persondata_template;
36pub mod petscan;
37pub mod quarry;
38pub mod quickstatements;
39pub mod search;
40pub mod site;
41pub mod sparql_rc;
42pub mod tool;
43pub mod tools_interface;
44pub mod wiki_nearby;
45pub mod xtools_pages;
46
47pub use a_list_building_tool::AListBuildingTool;
48pub use completer::{Completer, CompleterFilter};
49pub use duplicity::Duplicity;
50pub use error::ToolsError;
51pub use missing_topics::MissingTopics;
52pub use pagepile::PagePile;
53pub use pageviews::*;
54pub use persondata_template::*;
55pub use petscan::*;
56pub use quarry::Quarry;
57pub use quickstatements::QuickStatements;
58pub use site::Site;
59pub use sparql_rc::{EntityEdit, EntityEditor, SparqlRC};
60pub use tool::Tool;
61pub use tools_interface::ToolsInterface;
62
63/*
64TEST:
65cargo test --lib --tests --bins
66
67TODO
68- WD-FIST
69- https://ws-search.toolforge.org/ (needs HTML scraping?)
70- https://wp-trending.toolforge.org/
71- https://wikidata-todo.toolforge.org/user_edits.php
72- https://wikidata-todo.toolforge.org/wd_edit_stats.php
73- https://wikidata-todo.toolforge.org/wdq_image_feed.php
74- https://fist.toolforge.org/wd4wp/#/
75- https://whattodo.toolforge.org
76- https://checkwiki.toolforge.org/checkwiki.cgi
77- https://grep.toolforge.org/ [DEFUNCT?]
78- https://nppbrowser.toolforge.org/
79- https://searchsbl.toolforge.org/
80- https://item-quality-evaluator.toolforge.org (to add scores)
81- topicmatcher
82*/