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