diff options
author | James D. Forrester <jforrester@wikimedia.org> | 2020-05-11 11:45:25 -0700 |
---|---|---|
committer | Krinkle <krinklemail@gmail.com> | 2020-05-11 18:56:27 +0000 |
commit | 4363a7406f8f73f97097822319efe8df0402e56c (patch) | |
tree | 60512b4db6b7cec8363bd762d33ea48ae608b387 /docs/hooks.txt | |
parent | dd31864c507ca3a1c96a3890123572d487171dbb (diff) | |
download | mediawikicore-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.txt | 3 |
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 |