https://bugzilla.wikimedia.org/show_bug.cgi?id=56894

       Web browser: ---
            Bug ID: 56894
           Summary: ResourceLoaderLanguageDataModule::getModifiedTime
                    updates continuously
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: performance
          Severity: major
          Priority: Unprioritized
         Component: ResourceLoader
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: niklas.laxst...@gmail.com
                CC: alolita.sha...@gmail.com,
                    amir.ahar...@mail.huji.ac.il, b...@mzmcbride.com,
                    kartik.mis...@gmail.com, krinklem...@gmail.com,
                    mybugs.m...@gmail.com, niklas.laxst...@gmail.com,
                    o...@wikimedia.org, pgi...@wikimedia.org,
                    roan.katt...@gmail.com, run...@gmail.com,
                    s.mazel...@xs4all.nl, santhosh.thottin...@gmail.com,
                    tpars...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

+++ This bug was initially created as a clone of Bug #56856 +++

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