* @copyright 2025 Johann Duscher */ // Newline separated list of PCRE regular expressions. A page whose ID // (or relative file path, depending on match_target) matches any of // these patterns cannot be deleted by empty save. // Example patterns: // ^start$ - Protects the main start page // ^sidebar$ - Protects any sidebar pages // ^users:[^:]+:start$ - Protects user start pages (users:alice:start) // ^wiki:(syntax|dokuwiki)$ - Protects specific wiki documentation pages $conf['patterns'] = ''; // Which attribute to match against: 'id' matches against the page ID // (colon separated), 'filepath' matches against the relative file path // below the data directory. Default is 'id'. $conf['match_target'] = 'id'; // Comma separated list of additional user groups that may delete // protected pages. Administrators always bypass the block. Example: // 'manager,editor' $conf['exempt_groups'] = ''; // When true, whitespace‑only content is treated as empty. When false, // only truly empty strings trigger deletion. Default is on. $conf['trim_mode'] = 1;