Manual:$wgDisabledActions/fr

From Linux Web Expert

<translate> Access</translate>: $wgDisabledActions
Tableau des actions d'article désactivées, par ex. 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>(tableau de chaînes)
<translate> Default value:</translate>array()

Détails

<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.22</tvar> is unsupported version</translate>">
<translate> ≤</translate> 1.22
Version de MediaWiki :

Tableau des actions d'article désactivées, par ex. view, edit, dublincore, delete, etc. Voir Manuel:Paramètres de 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;