use crate::error::SiteError; use crate::page::PageMeta; use crate::site::Site; use crate::wikitext::ParsedDirective; #[derive(Debug, Default, Eq, PartialEq)] pub struct Inline {} impl Inline { pub const REQUIRED: &'static [&'static str] = &["pages"]; pub const ALLOWED: &'static [&'static str] = &[ "actions", "archive", "description", "feedlimit", "feeds", "feedshow", "limit", "sort", "template", "trail", ]; pub const ALLOW_ANY_UNNAMED: bool = true; pub fn new() -> Self { Self::default() } pub fn process(&self, _site: &Site, _meta: &mut PageMeta) -> Result { Ok("FIXME:inline".into()) } } impl From for Inline { fn from(_p: ParsedDirective) -> Self { Inline::new() } }