1 [[!template id=plugin name=pagespec_alias author="[[Jon]]"]]
4 The pagespec_alias plugin allows the administrator(s) of a wiki to define
5 [[PageSpec]] aliases: short names for PageSpecs to ease re-use.
7 Within the setup file, the `pagespec_aliases` value is treated as a list
8 of key/value pairs. The keys define alias names, the values the pagespecs
14 image: "*.png or *.jpg or *.jpeg or *.gif or *.ico"
15 helper: "*.css or *.js"
16 boring: "image() or helper() or internal(*)"
18 With the above, you could use the pagespec aliases such as
20 \[[!map pages="!boring()"]]
22 To define a site map which excluded various page names which might be
23 uninteresting to include in a site map.
28 * <https://github.com/jmtd/ikiwiki/blob/pagespec-alias/IkiWiki/Plugin/pagespec_alias.pm>