aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hooks.txt
diff options
context:
space:
mode:
authorDannyS712 <DannyS712.enwiki@gmail.com>2020-04-15 06:38:58 +0000
committerTim Starling <tstarling@wikimedia.org>2020-05-05 11:22:04 +1000
commitb361cf7239885169010a7a7ab08935d493fb0aac (patch)
tree02febed7811ded25761baf8f23c2b1e4eda006ce /docs/hooks.txt
parentba6ac46ff4081cf9cfe77bb459391984b57a3791 (diff)
downloadmediawikicore-b361cf7239885169010a7a7ab08935d493fb0aac.tar.gz
mediawikicore-b361cf7239885169010a7a7ab08935d493fb0aac.zip
Update hook interfaces for recent additions and deprecations
Changes since the interfaces were generated: 5 hooks added: * RevisionUndeleted * ParserBeforePreprocess * RollbackComplete * HtmlCacheUpdaterAppendUrls * HtmlCacheUpdaterVaryUrls 9 hooks deprecated: * ArticleRevisionUndeleted * ArticleRollbackComplete (soft deprecation) * UndeleteShowRevision * InternalParseBeforeSanitize * ParserFetchTemplate * ParserSectionCreate * ParserPreSaveTransformComplete * BeforeParserrenderImageGallery * ParserBeforeTidy Bug: T240307 Change-Id: Ib91b1d8e519e6cb3c74a6fe174fe2fd0103d6d30
Diffstat (limited to 'docs/hooks.txt')
-rw-r--r--docs/hooks.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/hooks.txt b/docs/hooks.txt
index e41797171ac4..1dd8e0412937 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -3532,7 +3532,7 @@ $mode: Integer.
'HtmlCacheUpdaterVaryUrls': Add variants of URLs to purge from HTTP caches.
Extensions that provide site-wide variants of all URLs, such as by serving from
an alternate domain or path, can use this hook to append alternative URLs for
-each url in $canonical.
+each url in $urls.
$urls: Canonical URLs.
&$append: Append alternative URLs for $urls.