--- a/includes/wikiformat.php Wed Aug 26 13:43:11 2009 -0400
+++ b/includes/wikiformat.php Wed Aug 26 23:25:39 2009 -0400
@@ -316,6 +316,29 @@
}
/**
+ * Disables all rules.
+ * @return null
+ */
+
+ public function disable_all_rules()
+ {
+ $this->rules = array();
+ return null;
+ }
+
+ /**
+ * Enables a rule
+ * @param string rule
+ * @return null
+ */
+
+ public function enable_rule($rule)
+ {
+ $this->rules[] = $rule;
+ return null;
+ }
+
+ /**
* Make a rule exclusive (the only one called)
* @param string stage
* @return null