Home location: Home location where unfortunately the download link is broken
Following is a rewrite of action.php (in detail, a rewrite of handle_parser_wikitext_preprocess
). Enhancements are:
__header.txt
and __footer.txt
(two underscores). Mechanism is same and the implementation is based on code for namespace_templates
The plugins below is rewrite and enhanced:
HeaderFooter Enhanced
To add header or footer text to pages in a namespace, you need to create a file named _header.txt
or _footer.txt
in the namespace directory (root namespace is under data/pages), which contains all you need to add. Then, put the file in a namespace. It's all! Easy enough ? Yes, just like what the page template does!
_header.txt
and _footer.txt
support the same markup syntax as you use in any common wiki page._header.txt
or _footer.txt
, subdirectories are not influenced. (If needed, just put the same _header.txt
/_footer.txt
in subdirectories)http://www.example.com/namespace/page?purge=true
_header.txt
/_footer.txt
are in the same level directory.