aboutsummaryrefslogtreecommitdiffstats
path: root/includes/HookContainer
diff options
context:
space:
mode:
authorAmir Sarabadani <Ladsgroup@gmail.com>2021-06-11 10:14:31 +0200
committerAmir Sarabadani <Ladsgroup@gmail.com>2021-06-17 08:33:31 +0200
commit5d1badae5d355702b67666f42dc106d67db0b1fc (patch)
tree30d353d7bd37549822a57ca2c8cbe75f65cc5749 /includes/HookContainer
parentae7fa75b6acb7a7cb64be03447fb0f94db52cceb (diff)
downloadmediawikicore-5d1badae5d355702b67666f42dc106d67db0b1fc.tar.gz
mediawikicore-5d1badae5d355702b67666f42dc106d67db0b1fc.zip
Deprecate LocalFile::getHistory hook
This undocumented hook which is only used in FlaggedRevs (and it's being removed in If5a56a8fd5fc568) doesn't serve much purpose and can break the file class. Bug: T284777 Change-Id: I7ed8c01f0d0485f40307a24cc33cf3536f70c417
Diffstat (limited to 'includes/HookContainer')
-rw-r--r--includes/HookContainer/DeprecatedHooks.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/HookContainer/DeprecatedHooks.php b/includes/HookContainer/DeprecatedHooks.php
index 342bdc751b5a..22dd79062f30 100644
--- a/includes/HookContainer/DeprecatedHooks.php
+++ b/includes/HookContainer/DeprecatedHooks.php
@@ -43,6 +43,7 @@ class DeprecatedHooks {
'BeforeResetNotificationTimestamp' => [ 'deprecatedVersion' => '1.37' ],
'EditPageBeforeEditToolbar' => [ 'deprecatedVersion' => '1.36' ],
'InternalParseBeforeSanitize' => [ 'deprecatedVersion' => '1.35' ],
+ 'LocalFile::getHistory' => [ 'deprecatedVersion' => '1.37' ],
'MagicWordwgVariableIDs' => [ 'deprecatedVersion' => '1.35', 'silent' => true ],
'PageContentSave' => [ 'deprecatedVersion' => '1.35', 'silent' => true ],
'ParserGetVariableValueVarCache' => [ 'deprecatedVersion' => '1.35' ],