Remove deprecated class alias GetBlockErrorMessageKey
Deprecated since 033e75cb26 included in MediaWiki 1.40.
Use GetBlockErrorMessageKeyHook instead.
Change-Id: I346c7ec9ed7d57e3d1e1aa9f761d24e87c4ec513
This commit is contained in:
parent
a63b56c427
commit
19d4adbe1c
3 changed files with 1 additions and 7 deletions
|
|
@ -515,6 +515,7 @@ because of Phabricator reports.
|
|||
* All public properties of LinksUpdate, deprecated in 1.38, were removed.
|
||||
* The class Wikimedia\Rdbms\MySQLMasterPos, deprecated in 1.37, has been
|
||||
removed. Use Wikimedia\Rdbms\MySQLPrimaryPos instead.
|
||||
* The class GetBlockErrorMessageKey, deprecated in 1.40, has been removed.
|
||||
* MagicWord::addToArray has been removed without deprecation. There were no
|
||||
known uses.
|
||||
* …
|
||||
|
|
|
|||
|
|
@ -1216,7 +1216,6 @@ $wgAutoloadLocalClasses = [
|
|||
'MediaWiki\\Hook\\FileUploadHook' => __DIR__ . '/includes/filerepo/Hook/FileUploadHook.php',
|
||||
'MediaWiki\\Hook\\FormatAutocommentsHook' => __DIR__ . '/includes/Hook/FormatAutocommentsHook.php',
|
||||
'MediaWiki\\Hook\\GalleryGetModesHook' => __DIR__ . '/includes/gallery/Hook/GalleryGetModesHook.php',
|
||||
'MediaWiki\\Hook\\GetBlockErrorMessageKey' => __DIR__ . '/includes/Hook/GetBlockErrorMessageKeyHook.php',
|
||||
'MediaWiki\\Hook\\GetBlockErrorMessageKeyHook' => __DIR__ . '/includes/Hook/GetBlockErrorMessageKeyHook.php',
|
||||
'MediaWiki\\Hook\\GetCacheVaryCookiesHook' => __DIR__ . '/includes/Hook/GetCacheVaryCookiesHook.php',
|
||||
'MediaWiki\\Hook\\GetCanonicalURLHook' => __DIR__ . '/includes/Hook/GetCanonicalURLHook.php',
|
||||
|
|
|
|||
|
|
@ -25,9 +25,3 @@ interface GetBlockErrorMessageKeyHook {
|
|||
*/
|
||||
public function onGetBlockErrorMessageKey( Block $block, string &$key );
|
||||
}
|
||||
|
||||
/**
|
||||
* Retain the old class name for backwards compatibility.
|
||||
* @deprecated since 1.40
|
||||
*/
|
||||
class_alias( GetBlockErrorMessageKeyHook::class, 'MediaWiki\Hook\GetBlockErrorMessageKey' );
|
||||
|
|
|
|||
Loading…
Reference in a new issue