aboutsummaryrefslogtreecommitdiffstats
path: root/includes/content/Hook
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2021-05-17 21:50:12 +0200
committerUmherirrender <umherirrender_de.wp@web.de>2021-05-17 23:00:40 +0200
commit8831b494c1c2d50ec5e030a7fb40ed396bea8089 (patch)
treea291fdfbf12848decfd823e49085f366930d1763 /includes/content/Hook
parentf10562720fbf8623a89e6aa3c34ffa01b0d9ee0e (diff)
downloadmediawikicore-8831b494c1c2d50ec5e030a7fb40ed396bea8089.tar.gz
mediawikicore-8831b494c1c2d50ec5e030a7fb40ed396bea8089.zip
Use @deprecated annotation on hook interfaces, not functions
Use only one place to document the deprecation of hook interfaces/functions Bug: T282903 Change-Id: Ie7d2d7a50afe2897e5c2369f473a33ecaa821637
Diffstat (limited to 'includes/content/Hook')
-rw-r--r--includes/content/Hook/SecondaryDataUpdatesHook.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/content/Hook/SecondaryDataUpdatesHook.php b/includes/content/Hook/SecondaryDataUpdatesHook.php
index a150a89d6691..f81ac53e7543 100644
--- a/includes/content/Hook/SecondaryDataUpdatesHook.php
+++ b/includes/content/Hook/SecondaryDataUpdatesHook.php
@@ -19,9 +19,6 @@ interface SecondaryDataUpdatesHook {
/**
* Use this hook to modify the list of DataUpdates to perform when page content is modified.
*
- * @deprecated since 1.32 Use RevisionDataUpdates or override
- * ContentHandler::getSecondaryDataUpdates instead.
- *
* @param Title $title Title of the page that is being edited
* @param Content $oldContent Page content before the edit
* @param bool $recursive Whether DataUpdates should trigger recursive updates