Crate wikidot_path

Source
Expand description

A library to provide Wikidot-compatible path parsing.

Wikidot accepts paths in an unusual manner: each argument is submitted as another “directory”. For instance, the path /scp-xxxx/norender/true/edit/true is how you access page scp-xxxx with flags “edit” and “norender” activated.

URL normalization is performed when parsing. See the wikidot-normalize crate for more information.

Modules§

prelude
A “prelude” for consumers of the wikidot-path crate.

Structs§

ArgumentSchema
Helper structure to assist with argument parsing.
PageArguments
Represents the set of arguments for a page.

Enums§

ArgumentValue
A type for possible values an argument key could have.