aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hooks.txt
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2020-05-11 11:45:25 -0700
committerKrinkle <krinklemail@gmail.com>2020-05-11 18:56:27 +0000
commit4363a7406f8f73f97097822319efe8df0402e56c (patch)
tree60512b4db6b7cec8363bd762d33ea48ae608b387 /docs/hooks.txt
parentdd31864c507ca3a1c96a3890123572d487171dbb (diff)
downloadmediawikicore-4363a7406f8f73f97097822319efe8df0402e56c.tar.gz
mediawikicore-4363a7406f8f73f97097822319efe8df0402e56c.zip
resourceloader: Document replacement for the ResourceLoaderTestModules hook
Bug: T232875 Change-Id: Id30e1e552df43a3237deeaf25ad181d7bf1944ef
Diffstat (limited to 'docs/hooks.txt')
-rw-r--r--docs/hooks.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/hooks.txt b/docs/hooks.txt
index a3fec23c1e20..06b68c327ff3 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -2875,7 +2875,8 @@ such as when responding to a resource
loader request or generating HTML output.
[&]$resourceLoader: ResourceLoader object
-'ResourceLoaderTestModules': DEPRECATED since 1.33! Register ResourceLoader modules
+'ResourceLoaderTestModules': DEPRECATED since 1.33! Use the QUnitTestModule static extension
+registration attribute instead. Register ResourceLoader modules
that are only available when `$wgEnableJavaScriptTest` is true. Use this for test
suites and other test-only resources.
&$testModules: one array of modules per test framework. The modules array