diff --git a/core/modules/parsers/newwikitextparser/blockrules/class.js b/core/modules/parsers/newwikitextparser/blockrules/class.js index 283253fc3..9bb682729 100644 --- a/core/modules/parsers/newwikitextparser/blockrules/class.js +++ b/core/modules/parsers/newwikitextparser/blockrules/class.js @@ -1,7 +1,7 @@ /*\ title: $:/core/modules/parsers/newwikitextparser/blockrules/class.js type: application/javascript -module-type: wikirule +module-type: wikitextrule Wiki text block rule for assigning classes to paragraphs and other blocks diff --git a/core/modules/parsers/newwikitextparser/blockrules/heading.js b/core/modules/parsers/newwikitextparser/blockrules/heading.js index 1c324e7ca..eccc7ecbb 100644 --- a/core/modules/parsers/newwikitextparser/blockrules/heading.js +++ b/core/modules/parsers/newwikitextparser/blockrules/heading.js @@ -1,7 +1,7 @@ /*\ title: $:/core/modules/parsers/newwikitextparser/blockrules/heading.js type: application/javascript -module-type: wikirule +module-type: wikitextrule Wiki text block rule for headings diff --git a/core/modules/parsers/newwikitextparser/blockrules/html.js b/core/modules/parsers/newwikitextparser/blockrules/html.js index 649deb1a3..bf89b83a0 100644 --- a/core/modules/parsers/newwikitextparser/blockrules/html.js +++ b/core/modules/parsers/newwikitextparser/blockrules/html.js @@ -1,7 +1,7 @@ /*\ title: $:/core/modules/parsers/newwikitextparser/blockrules/html.js type: application/javascript -module-type: wikirule +module-type: wikitextrule Wiki text block rule for block level HTML elements diff --git a/core/modules/parsers/newwikitextparser/blockrules/list.js b/core/modules/parsers/newwikitextparser/blockrules/list.js index 8028a97df..33bddd64f 100644 --- a/core/modules/parsers/newwikitextparser/blockrules/list.js +++ b/core/modules/parsers/newwikitextparser/blockrules/list.js @@ -1,7 +1,7 @@ /*\ title: $:/core/modules/parsers/newwikitextparser/blockrules/list.js type: application/javascript -module-type: wikirule +module-type: wikitextrule Wiki text block rule for lists. diff --git a/core/modules/parsers/newwikitextparser/blockrules/rule.js b/core/modules/parsers/newwikitextparser/blockrules/rule.js index b7b5fc081..a41797be8 100644 --- a/core/modules/parsers/newwikitextparser/blockrules/rule.js +++ b/core/modules/parsers/newwikitextparser/blockrules/rule.js @@ -1,7 +1,7 @@ /*\ title: $:/core/modules/parsers/newwikitextparser/blockrules/rule.js type: application/javascript -module-type: wikirule +module-type: wikitextrule Wiki text block rule for rules diff --git a/core/modules/parsers/newwikitextparser/newwikitextparser.js b/core/modules/parsers/newwikitextparser/newwikitextparser.js index ffb1bf8b3..db0dea00f 100644 --- a/core/modules/parsers/newwikitextparser/newwikitextparser.js +++ b/core/modules/parsers/newwikitextparser/newwikitextparser.js @@ -155,7 +155,7 @@ var WikiTextParser = function(options) { this.runRules = []; var blockRegExpStrings = [], runRegExpStrings = [], - rules = ($tw.plugins.moduleTypes.wikirule || []).slice(0); + rules = ($tw.plugins.moduleTypes.wikitextrule || []).slice(0); for(var t=0; t