Expand description
This module implements “messy includes”, or legacy Wikidot includes.
It is an annoying but necessary hack that parses the psuedoblock
[[include]]
and directly replaces that part with the
foreign page’s wikitext.
Structs§
- Debug
Includer - An
Includer
that replaces included references with the page content followed by the include variables and their values. - Fetched
Page - A type used by
Includer
which represents a page that is ready to be included. - Include
Ref - Represents an include block before it has been replaced with the fetched page.
- Null
Includer - An
Includer
that replaces include blocks with nothing.
Traits§
- Includer
- A trait that handles the formatting of included pages.
Functions§
- include
- Replaces the include blocks in a string with the content of the pages referenced by those blocks.