3 namespace Wikimedia\Message
;
6 * The constants used to specify parameter types. The values of the constants
7 * are an unstable implementation detail, and correspond to the names of the
8 * parameter types in the Message class.
11 /** A simple text parameter */
14 /** A number, to be formatted using local digits and separators */
17 /** A number of seconds, to be formatted as natural language text. */
18 const DURATION_LONG
= 'duration';
20 /** A number of seconds, to be formatted in an abbreviated way. */
21 const DURATION_SHORT
= 'timeperiod';
24 * An expiry time for a block. The input is either a timestamp in one
25 * of the formats accepted by the Wikimedia\Timestamp library, or
26 * "infinity" for an infinite block.
28 const EXPIRY
= 'expiry';
30 /** A number of bytes. */
33 /** A number of bits per second. */
34 const BITRATE
= 'bitrate';
36 /** The list type (ListParam) */
40 * A text parameter which is substituted after preprocessing, and so is
41 * not available to the preprocessor and cannot be modified by it.
45 /** Reserved for future use. */
46 const PLAINTEXT
= 'plaintext';