config:hidepages
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:hidepages [2008-11-13 23:26] – 70.103.232.219 | config:hidepages [2024-01-25 22:16] (current) – Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Configuration Setting: hidepages ====== | ||
+ | |||
+ | This option accepts a Regular Expression to filter certain pages from all automatic listings (RSS, recent changes, search results, index, sitemap). This is useful to exclude certain pages like the ones used in the sidebar templates. The regexp is matched against the full pagename with a leading colon. If it matches, the page is assumed to be a hidden one. This is a rather cosmetic option, not a security one. | ||
+ | |||
+ | * Type: String | ||
+ | * Default: | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | Here's complex example excludes '': | ||
+ | <code php> | ||
+ | $conf[' | ||
+ | </ | ||
+ | |||
+ | Another example. In this case the contents of ''/ | ||
+ | < | ||
+ | . | ||
+ | ├── admin | ||
+ | │ ├── build_notes.txt | ||
+ | │ ├── new_software.txt | ||
+ | │ └── todos.txt | ||
+ | ├── admin_links.txt | ||
+ | ├── labels | ||
+ | │ └── start.txt | ||
+ | ├── playground | ||
+ | │ └── playground.txt | ||
+ | ├── sidebar.txt | ||
+ | ├── software | ||
+ | │ ├── dokuwiki | ||
+ | │ │ └── start.txt | ||
+ | │ ├── kdialog | ||
+ | │ │ └── start.txt | ||
+ | │ ├── start.txt | ||
+ | │ └── __template.txt | ||
+ | ├── start.txt | ||
+ | ├── templates | ||
+ | │ └── start.txt | ||
+ | └── wiki | ||
+ | ├── dokuwiki.txt | ||
+ | ├── syntax.txt | ||
+ | └── welcome.txt | ||
+ | </ | ||
+ | To hide '' | ||
+ | |||
+ | <code php> | ||
+ | |||
+ | {{ https:// | ||
+ | |||
+ | ===== See also ===== | ||
+ | |||
+ | * [[: | ||
+ | * [[https:// | ||