Manual:$wgDisabledActions

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎français • ‎日本語 • ‎polski
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
Removed in version: 1.23.0 (git #e7b85e72)
Allowed values: array of strings
Default value: array()
Other settings: Alphabetical | By function

Details[edit]

MediaWiki version: 1.22

Array of disabled article actions, e.g. view, edit, dublincore, delete, etc. See Manual:Parameters to index.php#ActionsManual:Parameters to index.php#Actions.

Deprecated since 1.18 and removed in 1.23. Just set $wgActionsManual:$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;