wikioxide 0.1.0

MediaWiki wikitext parser producing typed domain models (templates, links, categories, warnings) with template expansion — no HTML, no network
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Discussion parsing: turns a talk page's raw wikitext into signed comments with authors,
//! timestamps and original-source spans.
//!
//! Built for Russian Wikipedia process pages (КПМ/ЗКА) but parameterised entirely by
//! [`SiteConfig`](crate::SiteConfig) — user namespaces and month names — so it serves any
//! wiki whose signatures follow MediaWiki's `HH:MM, D month YYYY (UTC)` shape. Everything is
//! reported as byte spans into the original wikitext, so a consumer (an archiver, say) can
//! slice or move the exact source of a comment or thread.

mod comment;
mod signature;
mod timestamp;

pub use comment::{Comment, Discussion};
pub use signature::Author;
pub use timestamp::CommentTime;