Jump to content

Handbuch:$wgDisabledActions

From mediawiki.org
This page is a translated version of the page Manual:$wgDisabledActions and the translation is 64% complete.
Zugang: $wgDisabledActions
Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.
Eingeführt in Version:1.4.1
Veraltet in Version:1.18.0 (Gerrit change 157140; git #8779f4b5)
Entfernt in Version:1.23.0 (Gerrit change 109891; git #e7b85e72)
Erlaubte Werte:(Array von Strings)
Standardwert:array()

Details

MediaWiki Version:
1.22

Array of disabled article actions, e.g. view, edit, dublincore, delete, etc. Siehe Handbuch:Parameter von index.php .

Veraltet seit 1.18 und entfernt in 1.23. Just set $wgActions ['action'] = false; to disable an action.

Example of converting $wgDisabledActions to $wgActions:

// Altes Format
$wgDisabledActions = array( 'raw', 'render', 'credits' );

// Neues Format
$wgActions['raw'] = false;
$wgActions['render'] = false;
$wgActions['credits'] = false;