r60390 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60389‎ | r60390 | r60391 >
Date:12:41, 25 December 2009
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Validator 0.2 rc1
Modified paths:
  • /trunk/extensions/Validator/INSTALL (modified) (history)
  • /trunk/extensions/Validator/RELEASE-NOTES (modified) (history)
  • /trunk/extensions/Validator/Validator.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Validator/INSTALL
@@ -1,4 +1,4 @@
2 -[[Validator 0.1]]
 2+[[Validator 0.2]]
33
44 Once you have downloaded the code, place the 'SemanticMaps' directory within
55 your MediaWiki 'extensions' directory. Then add the following code to your
Index: trunk/extensions/Validator/RELEASE-NOTES
@@ -3,6 +3,24 @@
44 == Validator change log ==
55 This change log contains a list of completed to-do's (new features, bug fixes, refactoring) for every version of Validator.
66
 7+
 8+==== Validator 0.2 ====
 9+(2009-12-25)
 10+
 11+* Added handling for lists of a type, instead of having list as a type. This includes per-item-validation and per-item-defaulting.
 12+
 13+* Added list validation functions: item_count and unique_items
 14+
 15+* Added boolean, number and char types.
 16+
 17+* Added support for output types. The build in output types are lists, arrays, booleans and strings. Via a hook you can add your own output types.
 18+
 19+* Added Validator_ERRORS_MINIMAL value for $egValidatorErrorLevel.
 20+
 21+* Added warning message to ValidatorManager that will be shown for errors when egValidatorErrorLevel is Validator_ERRORS_WARN.
 22+
 23+* Added criteria support for is_boolean, has_length and regex.
 24+
725 === Validator 0.1 ===
826 (2009-12-17)
927
Index: trunk/extensions/Validator/Validator.php
@@ -24,7 +24,7 @@
2525 die( 'Not an entry point.' );
2626 }
2727
28 -define( 'Validator_VERSION', '0.2 a8' );
 28+define( 'Validator_VERSION', '0.2 rc1' );
2929
3030 // Constants indicating the strictness of the parameter validation.
3131 define( 'Validator_ERRORS_NONE', 0 );

Status & tagging log