Mattflaschen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/80408
Change subject: Remove comment saying code should add RL dependencies directly
......................................................................
Remove comment saying code should add RL dependencies directly
This does not reflect actual ResourceLoader best practices.
Bug: 51853
Change-Id: I62e875c472ecc54b310ce5ed14fdcabda02e19e5
---
M includes/resourceloader/ResourceLoaderModule.php
1 file changed, 1 insertion(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/08/80408/1
diff --git a/includes/resourceloader/ResourceLoaderModule.php
b/includes/resourceloader/ResourceLoaderModule.php
index f6a7114..9847ac0 100644
--- a/includes/resourceloader/ResourceLoaderModule.php
+++ b/includes/resourceloader/ResourceLoaderModule.php
@@ -274,12 +274,7 @@
* Get a list of modules this module depends on.
*
* Dependency information is taken into account when loading a module
- * on the client side. When adding a module on the server side,
- * dependency information is NOT taken into account and YOU are
- * responsible for adding dependent modules as well. If you don't do
- * this, the client side loader will send a second request back to the
- * server to fetch the missing modules, which kind of defeats the
- * purpose of the resource loader.
+ * on the client side.
*
* To add dependencies dynamically on the client side, use a custom
* loader script, see getLoaderScript()
--
To view, visit https://gerrit.wikimedia.org/r/80408
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I62e875c472ecc54b310ce5ed14fdcabda02e19e5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits