1<?php 2/** 3 * English language file for Delete Page Guard Plugin - Configuration Settings 4 * 5 * @license GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html) - see LICENSE.md 6 * @author Johann Duscher <jonny.dee@posteo.net> 7 * @copyright 2025 Johann Duscher 8 */ 9 10// Protect against direct call 11if (!defined('DOKU_INC')) die(); 12 13// Configuration Manager setting descriptions 14$lang['patterns'] = 'Regular expression patterns to protect pages from deletion (one pattern per line). Pages matching any pattern cannot be deleted via empty save.<br><br>Examples:<br><code>^start$</code> — protects the main start page<br><code>^sidebar$</code> — protects sidebar pages<br><code>^users:[^:]+:start$</code> — protects user start pages<br><code>^wiki:(syntax|dokuwiki)$</code> — protects specific wiki pages'; 15 16$lang['match_target'] = 'What to match patterns against: page ID (e.g., <code>wiki:syntax</code>) or file path (e.g., <code>wiki/syntax.txt</code>)'; 17 18$lang['exempt_groups'] = 'User groups that can delete protected pages, in addition to administrators (comma-separated). Leave empty to allow only administrators.<br>Example: <code>manager,editor</code>'; 19 20$lang['trim_mode'] = 'Treat pages containing only whitespace as empty and subject to deletion protection'; 21