1<?php 2/** 3 * Configuration metadata for the Delete Page Guard plugin 4 * 5 * The Configuration Manager uses this metadata to render appropriate 6 * input controls and perform simple validation. For details see the 7 * DokuWiki developer documentation. 8 */ 9 10// patterns: use the default (empty) class to render a textarea control. This 11// allows multiple regular expressions to be entered on separate lines. Each 12// line should contain one Perl‑compatible regular expression. The 13// Configuration Manager treats an empty setting class as a multiline 14// textarea for free text input. 15$meta['patterns'] = array(''); 16 17// match_target: single choice from a list of options. Choices are 18// 'id' (match against page ID) and 'filepath' (match against relative 19// filesystem path). The order of choices determines display order. 20$meta['match_target'] = array('multichoice', '_choices' => array('id','filepath')); 21 22// exempt_groups: comma separated list. Use 'string' for free text input. 23$meta['exempt_groups'] = array('string'); 24 25// trim_mode: boolean on/off. Use 'onoff' to present a checkbox. 26$meta['trim_mode'] = array('onoff');