changeset 1054 | e6b14d33ac55 |
parent 1031 | 8a4b75e73137 |
child 1073 | b19a9bcb6a45 |
--- a/includes/wikiformat.php Sat Jul 11 20:25:50 2009 -0400 +++ b/includes/wikiformat.php Sat Jul 11 20:28:03 2009 -0400 @@ -310,6 +310,20 @@ } /** + * Make a rule exclusive (the only one called) + * @param string stage + * @return null + */ + + public function exclusive_rule($rule) + { + if ( is_string($rule) ) + $this->rules = array($rule); + + return null; + } + + /** * Generate a token * @param int Token index * @return string