diff --git a/editcheck/modules/AddReferenceEditCheck.js b/editcheck/modules/editchecks/AddReferenceEditCheck.js similarity index 100% rename from editcheck/modules/AddReferenceEditCheck.js rename to editcheck/modules/editchecks/AddReferenceEditCheck.js diff --git a/editcheck/modules/ConvertReferenceEditCheck.js b/editcheck/modules/editchecks/ConvertReferenceEditCheck.js similarity index 100% rename from editcheck/modules/ConvertReferenceEditCheck.js rename to editcheck/modules/editchecks/ConvertReferenceEditCheck.js diff --git a/editcheck/modules/TextMatchEditCheck.js b/editcheck/modules/editchecks/TextMatchEditCheck.js similarity index 100% rename from editcheck/modules/TextMatchEditCheck.js rename to editcheck/modules/editchecks/TextMatchEditCheck.js diff --git a/editcheck/modules/init.js b/editcheck/modules/init.js index c9d426cf34..ecab91c8b0 100644 --- a/editcheck/modules/init.js +++ b/editcheck/modules/init.js @@ -11,9 +11,9 @@ require( './EditCheckAction.js' ); require( './BaseEditCheck.js' ); // TODO: Load these checks behind feature flags -// require( './ConvertReferenceEditCheck.js' ); -// require( './TextMatchEditCheck.js' ); -require( './AddReferenceEditCheck.js' ); +// require( './editchecks/ConvertReferenceEditCheck.js' ); +// require( './editchecks/TextMatchEditCheck.js' ); +require( './editchecks/AddReferenceEditCheck.js' ); /** * Return the content ranges (content branch node interiors) contained within a range diff --git a/extension.json b/extension.json index a87db6d9a9..7a2e5db03e 100644 --- a/extension.json +++ b/extension.json @@ -618,9 +618,9 @@ "editcheck/modules/EditCheckFactory.js", "editcheck/modules/EditCheckAction.js", "editcheck/modules/BaseEditCheck.js", - "editcheck/modules/AddReferenceEditCheck.js", - "editcheck/modules/ConvertReferenceEditCheck.js", - "editcheck/modules/TextMatchEditCheck.js", + "editcheck/modules/editchecks/AddReferenceEditCheck.js", + "editcheck/modules/editchecks/ConvertReferenceEditCheck.js", + "editcheck/modules/editchecks/TextMatchEditCheck.js", { "name": "editcheck/modules/config.json", "callback": "\\MediaWiki\\Extension\\VisualEditor\\EditCheck\\ResourceLoaderData::getConfig"