MediaWiki
master
|
IDatabase | bool | $db |
string | $item |
string | $prefix | Text to split output items |
string | $title | What is being output |
string | array | $input |
Only for backwards compatibility, do not use
string | $text |
bool | $value |
bool | $help |
bool | $b | Whether or not ampersands should be escaped. |
ApiBase | $module | |
string | $paramName | What type of request is this? e.g. action, query, list, prop, meta, format |
bool | $help |
string | $group | Module group |
string | $modulePrefix |
array | $filter | List of properties to filter out |
string | $modulePrefix |
ApiResult | $result | |
array | $vals | |
string | $params | |
string | $type | |
string | $action | |
string | $ts | |
bool | $legacy |
int | $pageid | |
Title | $title | |
RecentChange | null | $rc |
User | $user |
string | null | $continue | |
ApiBase[] | $allModules | |
array | $generatedModules |
Status | $status | |
string | $errorType |
string | $style | 'standard' for the new style since 1.21, 'raw' for the style used in 1.20 and earlier. |
array | $arr | To add the content element to |
mixed | $value | |
string | $subElemName | When present, content element is created as a sub item of $arr. Use this parameter to create elements in format "<elem>text</elem>" without attributes. |
ApiBase | $module | |
string | $paramName | |
string | array | $paramValue |
array | $arr | To add $value to |
string | $name | Index of $arr to add $value at |
mixed | $value | |
int | $flags | Zero or more OR-ed flags like OVERRIDE | ADD_ON_TOP. This parameter used to be boolean, and the value of OVERRIDE=1 was specifically chosen so that it would be backwards compatible with the new method signature. |
ApiBase | $module | |
string | $paramName | |
string | array | $paramValue |
array | $path | Path to the array, like addValue()'s $path |
string | $tag |
array | $arr | |
string | $tag | Tag name |
ApiMain | $main |
string | $moduleName | |
int | $limit |
bool | $flag | Set the raw mode flag to this state |
mixed | $value |
since 1.24
User | $user | |
bool | $autocreate | True if user is being autocreated on login |
User | $user |
User | $user | |
array | $addgroups | Groups to add. |
array | $delgroups | Groups to remove. |
User | $user |
since 1.27, use \MediaWiki\Session\Token::SUFFIX
string | $virtualUrl | |
array | $headers | Additional HTTP headers to send on success |
string | $title | Prefixed DB key |
string | $username | The user name |
array | $headers | Additional HTTP headers to send on success |
string | $method | AuthPlugin method to call |
array | $params | Parameters to pass |
mixed | $return | Return value if AuthPlugin wasn't called |
PrimaryAuthenticationProvider[] | $providers | |
string | $why |
Exception | Throwable | $e |
string | $url | Path to sheet. Provide either a full url (beginning with 'http', etc) or a relative path from the document root (beginning with '/'). Otherwise it behaves identically to addStyle() and draws from the /skins folder. |
ParserOutput | $parserOutput |
ReadOnlyError |
string | $tag |
string | $url |
string | $script | JavaScript code |
ResourceLoaderContext | $context |
ResourceLoaderContext | $context |
ResourceLoaderContext | $context |
ResourceLoaderContext | $context | Context object |
string | $type | Type of search backend, if not the default |
string | $searchterm |
string | $searchterm |
array | $namespaces |
user | $user |
Since 1.27, Use SearchEngine::prefixSearchSubpages or SearchEngine::completionSearch
Title | $nt | The new title |
bool | $auth | Whether to check user permissions (uses $wgUser) |
string | $reason | Is the log summary of the move, used for spam checking |
Title | $nt | The new title to check |
Title | $nt | The new title |
bool | $auth | Indicates whether $wgUser's permissions should be checked |
string | $reason | The reason for the move |
bool | $createRedirect | Whether to create a redirect from the old title to the new title. Ignored if the user doesn't have the suppressredirect right. |
Since 1.27, Use SearchEngine::prefixSearchSubpages or SearchEngine::completionSearch
string | bool | $action | Account creation type.
|
string | $reason | User supplied reason |
string | $password | User password |
string | $plaintext |
string | $name | Name of the cookie to clear |
bool | $secure | true: Force setting the secure attribute when setting the cookie false: Force NOT setting the secure attribute when setting the cookie null (default): Use the default ($wgCookieSecure) to set the secure attribute |
array | $params | Array of options sent passed to WebResponse::setcookie() |
string | $val | Input token |
string | $name | Name of the cookie to set |
string | $value | Value to set |
int | $exp | Expiration time, as a UNIX time value; if 0 or not specified, use the default $wgCookieExpiration |
bool | $secure | true: Force setting the secure attribute when setting the cookie false: Force NOT setting the secure attribute when setting the cookie null (default): Use the default ($wgCookieSecure) to set the secure attribute |
array | $params | Array of options sent passed to WebResponse::setcookie() |
WebRequest | null | $request | WebRequest object to use; $wgRequest will be used if null is passed. |
string | $name | Name of the cookie to set |
string | $value | Value to set |
bool | $secure | true: Force setting the secure attribute when setting the cookie false: Force NOT setting the secure attribute when setting the cookie null (default): Use the default ($wgCookieSecure) to set the secure attribute |
string | null | $str | New password to set or null to set an invalid password hash meaning that the user will not be able to log in through the web interface. |
string | $str | New password to set or null to set an invalid password hash meaning that the user will not be able to use it |
bool | $throttle | If true, reset the throttle timestamp to the present |
string | $str | New password to set |
PasswordError | On failure |
since 1.25, use UtfNormal\Validator directly
bool | string | $sessionId |
bool | $end |
string | int | float | $req_ver | The version to check, can be a string, an integer, or a float |
MWException |
string | $string | String to escape |