Jump to content

Manual:$wgDisabledActions/pl

From mediawiki.org
This page is a translated version of the page Manual:$wgDisabledActions and the translation is 18% complete.
Dostęp: $wgDisabledActions
Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.
Wprowadzono w wersji:1.4.1
Przestarzałe w wersji:1.18.0 (Gerrit change 157140; git #8779f4b5)
Usunięto w wersji:1.23.0 (Gerrit change 109891; git #e7b85e72)
Dozwolone wartości:(array of strings)
Domyślna wartość:array()

Szczegóły

Wersja MediaWiki:
1.22

Array of disabled article actions, e.g. view, edit, dublincore, delete, etc. See Podręcznik:Parametry dla index.php .

Deprecated since 1.18 and removed in 1.23. Just set $wgActions ['action'] = false; to disable an action.

Przykład konwersji $wgDisabledActions na $wgActions:

// Old format
$wgDisabledActions = array( 'raw', 'render', 'credits' );

// New format
$wgActions['raw'] = false;
$wgActions['render'] = false;
$wgActions['credits'] = false;