Git commit aa9811eb62a49304b9dd2936cf060bcc6686199a by Ingo Malchow. Committed on 31/03/2012 at 22:41. Pushed by imalchow into branch 'develop'. force to add the validator settings file A +33 -0 extensions/Validator/Validator_Settings.php http://commits.kde.org/websites/wiki-kde-org/aa9811eb62a49304b9dd2936cf060b= cc6686199a diff --git a/extensions/Validator/Validator_Settings.php b/extensions/Valid= ator/Validator_Settings.php new file mode 100644 index 0000000..faab667 --- /dev/null +++ b/extensions/Validator/Validator_Settings.php @@ -0,0 +1,33 @@ + + */ + +if ( !defined( 'MEDIAWIKI' ) ) { + die( 'Not an entry point.' ); +} + +# Maps actions to error severity. +# ACTION_LOG will cause the error to be logged +# ACTION_WARN will cause a notice that there is an error to be shown inline +# ACTION_SHOW will cause an error message to be shown inline +# ACTION_DEMAND will cause an error message to be shown inline and prevent= rendering of the regular output +$egErrorActions =3D array( + ValidationError::SEVERITY_MINOR =3D> ValidationError::ACTION_LOG, + ValidationError::SEVERITY_LOW =3D> ValidationError::ACTION_WARN, + ValidationError::SEVERITY_NORMAL =3D> ValidationError::ACTION_SHOW, + ValidationError::SEVERITY_HIGH =3D> ValidationError::ACTION_DEMAND, +); + +$egValidatorErrListMin =3D 'minor';