aboutsummaryrefslogtreecommitdiffstats
path: root/includes/title/Title.php
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2024-01-26 12:26:08 -0500
committerJames D. Forrester <jforrester@wikimedia.org>2024-01-26 13:15:18 -0500
commit900d13473f6a5d894cab6bc2761e63786a441670 (patch)
tree467bab2d77f605819aaf3b945c15c507515c1957 /includes/title/Title.php
parent49a1821628444df5504de7a39392319753096bc3 (diff)
downloadmediawikicore-900d13473f6a5d894cab6bc2761e63786a441670.tar.gz
mediawikicore-900d13473f6a5d894cab6bc2761e63786a441670.zip
Hard-deprecate Title::purgeSquid(), deprecated in 1.35
Bug: T230025 Depends-On: I80dfaa9ef9d5a3aba009e82da499b250fcf40b06 Depends-On: I8ee3dd63f0c31085ec15426c556d27c95db06395 Change-Id: I9cc839dc57c6ceda0d3a747c8a8fd386de115514
Diffstat (limited to 'includes/title/Title.php')
-rw-r--r--includes/title/Title.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/title/Title.php b/includes/title/Title.php
index 333458276263..30a8a332466f 100644
--- a/includes/title/Title.php
+++ b/includes/title/Title.php
@@ -2958,9 +2958,10 @@ class Title implements LinkTarget, PageIdentity, IDBAccessObject {
/**
* Purge all applicable CDN URLs
- * @deprecated since 1.35 Use HtmlCacheUpdater
+ * @deprecated since 1.35 Use HtmlCacheUpdater; hard-deprecated in 1.42
*/
public function purgeSquid() {
+ wfDeprecated( __METHOD__, '1.35' );
$htmlCache = MediaWikiServices::getInstance()->getHtmlCacheUpdater();
$htmlCache->purgeTitleUrls( $this, $htmlCache::PURGE_INTENT_TXROUND_REFLECTED );
}