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