Manual:$wgDisabledActions/de-formal
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.23.0</tvar>.</translate> |
<translate> Access</translate>: $wgDisabledActions | |
---|---|
Array of disabled article actions, e.g. view, edit, dublincore, delete, etc. |
|
<translate> Introduced in version:</translate> | 1.4.1 |
<translate> Deprecated in version:</translate> | 1.18.0 (Gerrit change 157140; git #8779f4b5) |
<translate> Removed in version:</translate> | 1.23.0 (Gerrit change 109891; git #e7b85e72) |
<translate> Allowed values:</translate> | (array of strings) |
<translate> Default value:</translate> | array() |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.22</tvar> is unsupported version</translate>"><translate> ≤</translate> 1.22
MediaWiki Version: |
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:
// Old format
$wgDisabledActions = array( 'raw', 'render', 'credits' );
// New format
$wgActions['raw'] = false;
$wgActions['render'] = false;
$wgActions['credits'] = false;
Categories:
- MediaWiki configuration settings/de-formal
- MediaWiki configuration settings introduced in version 1.4.1/de-formal
- MediaWiki configuration settings deprecated in version 1.18.0/de-formal
- MediaWiki configuration settings removed in version 1.23.0/de-formal
- Pages with broken file links
- MediaWiki deprecated or obsolete features/de-formal
- Permission variables/de-formal