r112437 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112436‎ | r112437 | r112438 >
Date:14:16, 26 February 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Added @since annotations
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -51,7 +51,9 @@
5252 const PARAM_MIN = 5; // Lowest value allowed for a parameter. Only applies if TYPE='integer'
5353 const PARAM_ALLOW_DUPLICATES = 6; // Boolean, do we allow the same value to be set more than once when ISMULTI=true
5454 const PARAM_DEPRECATED = 7; // Boolean, is the parameter deprecated (will show a warning)
 55+ /// @since 1.17
5556 const PARAM_REQUIRED = 8; // Boolean, is the parameter required?
 57+ /// @since 1.17
5658 const PARAM_RANGE_ENFORCE = 9; // Boolean, if MIN/MAX are set, enforce (die) these? Only applies if TYPE='integer' Use with extreme caution
5759
5860 const LIMIT_BIG1 = 500; // Fast query, std user limit

Status & tagging log