MediaWiki
1.28.0
|
IDatabase | bool | $db |
Only for backwards compatibility, do not use
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 |
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 |
MWException |
string | $title | Prefixed DB key |
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 |
array | $modules | Array of module names |
array | $modules | Array of module names |
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
User | $user |
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 |