* @copyright 2025 Johann Duscher
*/
// Protect against direct call
if (!defined('DOKU_INC')) die();
// Configuration Manager setting descriptions
$lang['patterns'] = 'Regular expression patterns to protect pages from deletion (one pattern per line). Pages matching any pattern cannot be deleted via empty save.
Examples:
^start$ — protects the main start page
^sidebar$ — protects sidebar pages
^users:[^:]+:start$ — protects user start pages
^wiki:(syntax|dokuwiki)$ — protects specific wiki pages';
$lang['match_target'] = 'What to match patterns against: page ID (e.g., wiki:syntax) or file path (e.g., wiki/syntax.txt)';
$lang['exempt_groups'] = 'User groups that can delete protected pages, in addition to administrators (comma-separated). Leave empty to allow only administrators.
Example: manager,editor';
$lang['trim_mode'] = 'Treat pages containing only whitespace as empty and subject to deletion protection';