// Copyright 2019 Fredrik Portström // This is free software distributed under the terms specified in // the file LICENSE at the top-level directory of this distribution. pub fn create_configuration() -> crate::Configuration { crate::Configuration::new(&crate::ConfigurationSource { category_namespaces: &["category"], extension_tags: &[ "categorytree", "ce", "charinsert", "chem", "gallery", "graph", "hiero", "imagemap", "indicator", "inputbox", "mapframe", "maplink", "math", "nowiki", "poem", "pre", "ref", "references", "score", "section", "source", "syntaxhighlight", "templatedata", "timeline", ], file_namespaces: &["file", "image"], link_trail: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", magic_words: &[ "DISAMBIG", "FORCETOC", "HIDDENCAT", "INDEX", "NEWSECTIONLINK", "NOCC", "NOCOLLABORATIONHUBTOC", "NOCONTENTCONVERT", "NOEDITSECTION", "NOGALLERY", "NOGLOBAL", "NOINDEX", "NONEWSECTIONLINK", "NOTC", "NOTITLECONVERT", "NOTOC", "STATICREDIRECT", "TOC", ], protocols: &[ "//", "bitcoin:", "ftp://", "ftps://", "geo:", "git://", "gopher://", "http://", "https://", "irc://", "ircs://", "magnet:", "mailto:", "mms://", "news:", "nntp://", "redis://", "sftp://", "sip:", "sips:", "sms:", "ssh://", "svn://", "tel:", "telnet://", "urn:", "worldwind://", "xmpp:", ], redirect_magic_words: &["REDIRECT"], }) }