mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
Move edit checks to /editchecks folder
Change-Id: I27eee69c4086d44fd7d60bacde9a76c170af63fe
This commit is contained in:
parent
56e1607665
commit
ee79edb58b
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue