[Wikidata-bugs] [Maniphest] [Commented On] T173949: ext.math.styles is sometimes loaded when not needed - causing CSS size in production to fluctuate - parser cache pollution?

2018-06-15 Thread Krinkle
Krinkle added a comment. @Jdlrobson It does indeed appear to be a bug somewhere relating to cache pollution, in particular it seems a cache key somewhere is being shared between mobile and desktop that shouldn't be. I can reproduce the following in Incognito mode (with disabled cache):

[Wikidata-bugs] [Maniphest] [Commented On] T173949: ext.math.styles is sometimes loaded when not needed - causing CSS size in production to fluctuate - parser cache pollution?

2018-06-15 Thread Physikerwelt
Physikerwelt added a comment. @Jdlrobson from my understanding what happens during hook registration code is that this code is only called if the parser sees a math,ce, or chem tag in the template expanded wikitext. I could imagine that during template expansion math tags might appear under

[Wikidata-bugs] [Maniphest] [Commented On] T173949: ext.math.styles is sometimes loaded when not needed - causing CSS size in production to fluctuate - parser cache pollution?

2018-06-15 Thread Physikerwelt
Physikerwelt added a comment. Another potential source of caching problems is the setting dependent cache key https://github.com/wikimedia/mediawiki-extensions-Math/blob/df1689c7177d5b7ef946ae2ff525594bd377da3f/Math.hooks.php#L133-L136 depending on the user setting for math rendering different

[Wikidata-bugs] [Maniphest] [Commented On] T173949: ext.math.styles is sometimes loaded when not needed - causing CSS size in production to fluctuate - parser cache pollution?

2018-06-15 Thread Jdlrobson
Jdlrobson added a comment. @Physikerwelt it's how the hooks work that confuse me. The Barack Obama article on enwiki uses neither the chem or the math parser functions but the ext.math.styles appear to be leaking into the page some how. How that's happening, I have no idea. Do you have any

[Wikidata-bugs] [Maniphest] [Commented On] T173949: ext.math.styles is sometimes loaded when not needed - causing CSS size in production to fluctuate - parser cache pollution?

2018-06-15 Thread Physikerwelt
Physikerwelt added a comment. @Jdlrobson I am maintaining the code in the Math extension. It there anything with the code within the math extension which is unclear?TASK DETAILhttps://phabricator.wikimedia.org/T173949EMAIL