Removed deprecated $wgDisabledActions

$wgDisabledActions is deprecated since 1.18 and is hardly used
anywhere. It occurs once in includes/DefaultSettings.php where
it is initialized to an empty array.And in Setup.php, for every
action in $wgDisabledActions $wgActions is set to false. Also
added Release notes

Bug: 60460
Change-Id: I5fab95c76b2742b12c1f397d27898148625a9959
This commit is contained in:
tinajohnson.1234 2014-01-28 19:53:16 +05:30 committed by Chad Horohoe
parent cb4804ef44
commit e7b85e720f
3 changed files with 1 additions and 11 deletions

View file

@ -36,6 +36,7 @@ production.
belongs in LocalSettings.php.
* $wgSkipSkin, which has been replaceable by $wgSkipSkins since 2005 (r9249), is
now formally deprecated.
* Removed deprecated $wgDisabledActions as it is hardly used anywhere.
=== New features in 1.23 ===
* ResourceLoader can utilize the Web Storage API to cache modules client-side.

View file

@ -6483,12 +6483,6 @@ $wgActions = array(
'watch' => true,
);
/**
* Array of disabled article actions, e.g. view, edit, delete, etc.
* @deprecated since 1.18; just set $wgActions['action'] = false instead
*/
$wgDisabledActions = array();
/** @} */ # end actions }
/*************************************************************************//**

View file

@ -341,11 +341,6 @@ if ( !$wgEnotifMinorEdits ) {
$wgHiddenPrefs[] = 'enotifminoredits';
}
# $wgDisabledActions is deprecated as of 1.18
foreach ( $wgDisabledActions as $action ) {
$wgActions[$action] = false;
}
# We always output HTML5 since 1.22, overriding these is no longer supported
# we set them here for extensions that depend on its value.
$wgHtml5 = true;