MediaWiki:Api-help-param-type-password/qqq

From translatewiki.net
NoteThis message is ignored on export for MediaWiki. Translating it is a waste of your effort!
NoteThis message is used in a technical context. Do not translate it unless you are sure that all technical terms are handled correctly.

Used to indicate that a parameter is a password or list of passwords. Parameters:

  • $1 - 1 if the parameter takes one value, 2 if the parameter takes a list of values.

See also:

  • api-help-datatypes ("Input to MediaWiki should be NFC-normalized UTF-8. MediaWiki may attempt to convert other input, but this may cause some operations (such as [[Special:ApiHelp/edit|edits]] with MD5 checks) to fail.

Some parameter types in API requests need further explanation: ;boolean :Boolean parameters work like HTML checkboxes: if the parameter is specified, regardless of value, it is considered true. For a false value, omit the parameter entirely. ;timestamp :Timestamps may be specified in several formats, see [[mw:Special:MyLanguage/Timestamp|the Timestamp library input formats documented on mediawiki.org]] for details. ISO 8601 date and time is recommended: <kbd><var>2001</var>-<var>01</var>-<var>15</var>T<var>14</var>:<var>56</var>:<var>00</var>Z</kbd>. Additionally, the string <kbd>now</kbd> may be used to specify the current timestamp. ;alternative multiple-value separator :Parameters that take multiple values are normally submitted with the values separated using the pipe character, e.g. <kbd>param=value1|value2</kbd> or <kbd>param=value1%7Cvalue2</kbd>. If a value must contain the pipe character, use U+001F (Unit Separator) as the separator ''and'' prefix the value with U+001F, e.g. <kbd>param=%1Fvalue1%1Fvalue2</kbd>.")