Table of Contents

Extranet Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" unknown

plugin Hide some pages and disable actions from extranet IP

Last updated on
2023-02-18
Provides
Action
Repository
Source
By Lortet

Installation

Install the plugin using the Extension Manager Plugin with the download URL above (source).

Settings

Name Description Default value
server_ip_key Name of the $_SERVER array entry to use to retrieve the client`s IP address. See php.net $_SERVER page REMOTE_ADDR
extranet_ip_list List of IP addresses to filter
Example: 10.100.10.1,10.100.10.2
extranet_ip_regex Regular expression of IP addresses to filter
Example: /10\.100\.[0-9]+\.[0-9]+/
hide_regex Regular expression of namespaces and pages to hide from extranet
Example: /(^hiddenpage$|^hiddennamespace:|^public:hiddenpage$|^public:hiddensubnamespace:$|secretpage$)/
hide_files Should hide medias? true
disable_actions Also prevent access to actions from extranet admin, edit, preview, save, revisions, diff, export_raw, export_xhtml, export_xhtmlbody, permalink, register
preserve_first_title Should the first title be kept on hidden pages? false
message_prefix Message prefix
Example: <adm danger> or <WRAP alert>
message_suffix Message suffix
Example: </adm> or </WRAP>

Syntax

You can also prevent access to page from extranet with the tag ~~NOEXTRANET~~.

:!: The use of this tag can be disabled from the settings in a future update.