Module parse_mediawiki_sql::utils
source · [−]Available on crate feature
utils
only.Expand description
Defines memory_map
to read decompressed MediaWiki SQL files,
and NamespaceMap
to display a page title prefixed by its namespace name.
Structs
The error type used by
memory_map
and NamespaceMap
.A handle to an immutable memory mapped buffer.
Represents a MediaWiki title. A title can be broken down into the following
attributes:
[[interwiki:ns:db_key#fragment]]
.Traits
Functions
Memory-maps a file, returning a useful message in case of error.