1<?php 2/** 3 * Default configuration for the Delete Page Guard plugin 4 * 5 * Each key defined here will be used as a default when the plugin is 6 * installed. Administrators can override these values via the 7 * Configuration Manager. See metadata.php for descriptions. 8 */ 9 10// Newline separated list of PCRE regular expressions. A page whose ID 11// (or relative file path, depending on match_target) matches any of 12// these patterns cannot be deleted by empty save. 13$conf['patterns'] = ''; 14 15// Which attribute to match against: 'id' matches against the page ID 16// (colon separated), 'filepath' matches against the relative file path 17// below the data directory. Default is 'id'. 18$conf['match_target'] = 'id'; 19 20// Comma separated list of additional user groups that may delete 21// protected pages. Administrators always bypass the block. Example: 22// 'manager,editor' 23$conf['exempt_groups'] = ''; 24 25// When true, whitespace‑only content is treated as empty. When false, 26// only truly empty strings trigger deletion. Default is on. 27$conf['trim_mode'] = 1;