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: wikibugs-l@lists.wikimedia.org
          Reporter: o...@wikimedia.org
                CC: alolita.sha...@gmail.com,
                    amir.ahar...@mail.huji.ac.il, kartik.mis...@gmail.com,
                    niklas.laxst...@gmail.com, pgi...@wikimedia.org,
                    run...@gmail.com, s.mazel...@xs4all.nl,
                    santhosh.thottin...@gmail.com
            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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to