1<?php 2/** 3 * Configuration metadata for the Delete 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 'string' class to allow free text. You may 11// specify multiple patterns separated by newlines. There is no built‑in 12// textarea class, but the Configuration Manager will provide a multi‑line 13// input for long strings when the `_type` is not specified. 14$meta['patterns'] = array('string'); 15 16// match_target: single choice from a list of options. Choices are 17// 'id' (match against page ID) and 'filepath' (match against relative 18// filesystem path). The order of choices determines display order. 19$meta['match_target'] = array('multichoice', '_choices' => array('id','filepath')); 20 21// exempt_groups: comma separated list. Use 'string' for free text input. 22$meta['exempt_groups'] = array('string'); 23 24// trim_mode: boolean on/off. Use 'onoff' to present a checkbox. 25$meta['trim_mode'] = array('onoff');