1*9a383d51SJohann Duscher<?php 2*9a383d51SJohann Duscher/** 3*9a383d51SJohann Duscher * English language file for Delete Page Guard Plugin - Configuration Settings 4*9a383d51SJohann Duscher * 5*9a383d51SJohann Duscher * @license GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html) - see LICENSE.md 6*9a383d51SJohann Duscher * @author Johann Duscher <jonny.dee@posteo.net> 7*9a383d51SJohann Duscher * @copyright 2025 Johann Duscher 8*9a383d51SJohann Duscher */ 9*9a383d51SJohann Duscher 10*9a383d51SJohann Duscher// Protect against direct call 11*9a383d51SJohann Duscherif (!defined('DOKU_INC')) die(); 12*9a383d51SJohann Duscher 13*9a383d51SJohann Duscher// Configuration Manager setting descriptions 14*9a383d51SJohann Duscher$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*9a383d51SJohann Duscher 16*9a383d51SJohann Duscher$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*9a383d51SJohann Duscher 18*9a383d51SJohann Duscher$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*9a383d51SJohann Duscher 20*9a383d51SJohann Duscher$lang['trim_mode'] = 'Treat pages containing only whitespace as empty and subject to deletion protection'; 21