tra('Anchor Name'), 'documentation' => 'PluginAname', 'description' => tra('Create an anchor that can be linked to'), 'prefs' => ['wikiplugin_aname'], 'body' => tra('The name of the anchor.'), 'tags' => [ 'basic' ], 'introduced' => 1, 'params' => [], 'iconname' => 'link', ]; } function wikiplugin_aname($data, $params) { global $tikilib; extract($params, EXTR_SKIP); // the following replace is necessary to maintain compliance with XHTML 1.0 Transitional // and the same behavior as tikilib.php and ALINK. This will change when the world arrives at XHTML 1.0 Strict. $data = preg_replace('/[^a-zA-Z0-9]+/', '_', $data); return ""; }