diff -r bdbb49cf6f1b -r e6b14d33ac55 includes/wikiformat.php --- 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