r112454 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112453‎ | r112454 | r112455 >
Date:23:07, 26 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Modified paths:
  • /trunk/extensions/Validator/RELEASE-NOTES (modified) (history)
  • /trunk/extensions/Validator/includes/Parameter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Validator/RELEASE-NOTES
@@ -4,8 +4,9 @@
55 This change log contains a list of completed to-do's (new features, bug fixes, refactoring) for every version of Validator.
66
77 === Validator 0.4.14 ===
 8+(trunk)
89
9 -* New built-in parameter type 'Title'. Accepts existing and non-existing page titles which are valid within the wiki.
 10+* New built-in parameter type 'title'. Accepts existing and non-existing page titles which are valid within the wiki.
1011
1112 === Validator 0.4.13 ===
1213 (2011-11-30)
Index: trunk/extensions/Validator/includes/Parameter.php
@@ -19,7 +19,7 @@
2020 const TYPE_FLOAT = 'float';
2121 const TYPE_BOOLEAN = 'boolean';
2222 const TYPE_CHAR = 'char';
23 - const TYPE_TITLE = 'Title'; // since 0.4.14
 23+ const TYPE_TITLE = 'title'; // since 0.4.14
2424
2525 /**
2626 * Indicates whether parameters that are provided more then once should be accepted,