[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [websites/wiki-kde-org/develop] extensions/Validator: force to add the validator settings file
From: Ingo Malchow <imalchow () kde ! org>
Date: 2012-03-31 20:41:50
Message-ID: 20120331204150.8CBCAA60A9 () git ! kde ! org
[Download RAW message or body]
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/aa9811eb62a49304b9dd2936cf060bcc6686199a
diff --git a/extensions/Validator/Validator_Settings.php \
b/extensions/Validator/Validator_Settings.php new file mode 100644
index 0000000..faab667
--- /dev/null
+++ b/extensions/Validator/Validator_Settings.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * File defining the settings for the Validator extension
+ *
+ * NOTICE:
+ * Changing one of these settings can be done by copying or cutting it,
+ * and placing it in LocalSettings.php, AFTER the inclusion of Validator.
+ *
+ * @file Validator_Settings.php
+ * @ingroup Validator
+ *
+ * @licence GNU GPL v3 or later
+ * @author Jeroen De Dauw < jeroendedauw@gmail.com >
+ */
+
+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 = array(
+ ValidationError::SEVERITY_MINOR => ValidationError::ACTION_LOG,
+ ValidationError::SEVERITY_LOW => ValidationError::ACTION_WARN,
+ ValidationError::SEVERITY_NORMAL => ValidationError::ACTION_SHOW,
+ ValidationError::SEVERITY_HIGH => ValidationError::ACTION_DEMAND,
+);
+
+$egValidatorErrListMin = 'minor';
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic