Move edit checks to /editchecks folder

Change-Id: I27eee69c4086d44fd7d60bacde9a76c170af63fe
This commit is contained in:
Ed Sanders 2024-11-14 16:44:59 +00:00
parent 56e1607665
commit ee79edb58b
5 changed files with 6 additions and 6 deletions

View file

@ -11,9 +11,9 @@ require( './EditCheckAction.js' );
require( './BaseEditCheck.js' ); require( './BaseEditCheck.js' );
// TODO: Load these checks behind feature flags // TODO: Load these checks behind feature flags
// require( './ConvertReferenceEditCheck.js' ); // require( './editchecks/ConvertReferenceEditCheck.js' );
// require( './TextMatchEditCheck.js' ); // require( './editchecks/TextMatchEditCheck.js' );
require( './AddReferenceEditCheck.js' ); require( './editchecks/AddReferenceEditCheck.js' );
/** /**
* Return the content ranges (content branch node interiors) contained within a range * Return the content ranges (content branch node interiors) contained within a range

View file

@ -618,9 +618,9 @@
"editcheck/modules/EditCheckFactory.js", "editcheck/modules/EditCheckFactory.js",
"editcheck/modules/EditCheckAction.js", "editcheck/modules/EditCheckAction.js",
"editcheck/modules/BaseEditCheck.js", "editcheck/modules/BaseEditCheck.js",
"editcheck/modules/AddReferenceEditCheck.js", "editcheck/modules/editchecks/AddReferenceEditCheck.js",
"editcheck/modules/ConvertReferenceEditCheck.js", "editcheck/modules/editchecks/ConvertReferenceEditCheck.js",
"editcheck/modules/TextMatchEditCheck.js", "editcheck/modules/editchecks/TextMatchEditCheck.js",
{ {
"name": "editcheck/modules/config.json", "name": "editcheck/modules/config.json",
"callback": "\\MediaWiki\\Extension\\VisualEditor\\EditCheck\\ResourceLoaderData::getConfig" "callback": "\\MediaWiki\\Extension\\VisualEditor\\EditCheck\\ResourceLoaderData::getConfig"