https://bugzilla.wikimedia.org/show_bug.cgi?id=56856
Web browser: ---
Bug ID: 56856
Summary: ResourceLoaderULSModule::getModifiedTime updates
continuously
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: performance
Severity: major
Priority: Unprioritized
Component: UniversalLanguageSelector
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Blocks: 56292
Classification: Unclassified
Mobile Platform: ---
ResourceLoaderULSModule updates its modified time whenever
ResourceLoaderContext::getLanguage varies. ResourceLoaderContext::getLanguage
varies gets the language via the 'lang' parameter on the module request. The
lang parameter is set in mediawiki.js to wgUserLanguage.
Result: the version of ext.uls.languagenames is updated continuously as users
with different language settings hit the site, with the effect that practically
every request for the module (and any other module fetched in the same request)
is uncached.
To confirm this bug report, you can go to enwiki and check
mw.loader.getVersion('ext.uls.languagenames'); . Then reload and check again.
'mediawiki.language.data' appears to likewise update continuously.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l