| This feature was removed completely in version 1.23.0. |
| Access: $wgDisabledActions | |
|---|---|
| Array of disabled article actions, e.g. view, edit, dublincore, delete, etc. |
|
| Introduced in version: | 1.4.1 |
| Deprecated in version: | 1.18.0 (Gerrit change 157140; git #8779f4b5) |
| Removed in version: | 1.23.0 (Gerrit change 109891; git #e7b85e72) |
| Allowed values: | (array of strings) |
| Default value: | array() |
| Other settings: Alphabetical | By function | |
Details
| MediaWiki version: | ≤ 1.22 |
Array of disabled article actions, e.g. view, edit, dublincore, delete, etc. See Manual:Parameters to index.php.
Deprecated since 1.18 and removed in 1.23.
Just set $wgActions['action'] = false; to disable an action.
Example of converting $wgDisabledActions to $wgActions:
// <translate nowrap><!--T:9--> Old format</translate>
$wgDisabledActions = array( 'raw', 'render', 'credits' );
// <translate nowrap><!--T:10--> New format</translate>
$wgActions['raw'] = false;
$wgActions['render'] = false;
$wgActions['credits'] = false;
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.