Paladox has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/213002

Change subject: Fix javascript problem in ResourceLoaderStartUpModule
......................................................................

Fix javascript problem in ResourceLoaderStartUpModule

* Replaces $versionHash = $module->getVersionHash( $context ); with 
$versionHash = $module->getDefinitionSummary( $context );

Bug: T99988
Change-Id: Ia0e1fb89da390349e6231543aecddf4c2bf158b2
---
M includes/resourceloader/ResourceLoaderStartUpModule.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/02/213002/1

diff --git a/includes/resourceloader/ResourceLoaderStartUpModule.php 
b/includes/resourceloader/ResourceLoaderStartUpModule.php
index 06054ee..967d09e 100644
--- a/includes/resourceloader/ResourceLoaderStartUpModule.php
+++ b/includes/resourceloader/ResourceLoaderStartUpModule.php
@@ -206,7 +206,7 @@
                                continue;
                        }
 
-                       $versionHash = $module->getVersionHash( $context );
+                       $versionHash = $module->getDefinitionSummary( $context 
);
                        if ( strlen( $versionHash ) !== 8 ) {
                                // Module implementation either broken or 
deviated from ResourceLoader::makeHash
                                // Asserted by 
tests/phpunit/structure/ResourcesTest.

-- 
To view, visit https://gerrit.wikimedia.org/r/213002
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia0e1fb89da390349e6231543aecddf4c2bf158b2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to