/**
* Returns true for content models that support caching using the
- * ParserCache mechanism. See WikiPage::isParserCacheUser().
+ * ParserCache mechanism. See WikiPage::isParserCacheUsed().
*
* @since 1.21
*
* @return bool
*/
public function isParserCacheSupported() {
- return true;
+ return false;
}
/**
public function supportsSections() {
return true;
}
+
+ /**
+ * Returns true, because wikitext supports caching using the
+ * ParserCache mechanism.
+ *
+ * @since 1.21
+ * @return bool
+ */
+ public function isParserCacheSupported() {
+ return true;
+ }
}
# XXX: make ScriptContentHandler base class, do highlighting stuff there?