Jdlrobson updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
=== Wed 20th June 2018
I've narrowed it down ever further https://en.m.wikipedia.beta.wmflabs.org/wiki/T173949-2 with a simplified module https://en.wikipedia.beta.wmflabs.org/wiki/Module:T173949
All this module does is call the method [[ https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/db5e6c729ea1de1e1f77f11265077ced828a13c6/client/includes/DataAccess/Scribunto/WikibaseLuaEntityBindings.php#L83 | formatPropertyValues ]]
This method seems to trigger the load of ext.math.styles in the mobile view.
Next step would be to replicate this on an environment where I can see exactly what's going on.
== Summary
If an article page is connected to a Wikidata entry which has an inception field AND I use Module:Internet_Archive - then` entity:formatPropertyValues( 'P569' )` is invoked inside a Lua module the ext.math.styles module is unexpectedly pulled into the mobile view.
...
I connected https://wikidata.beta.wmflabs.org/wiki/Q361812 to https://en.wikipedia.beta.wmflabs.org/wiki/T173949 and re-ran the experiment but it failed. I updated the module, still no luck, however when I added [[ https://wikidata.beta.wmflabs.org/w/index.php?title=Q361812&type=revision&diff=1032719&oldid=1032718 | an inception (start date) field to the Wikidata item ]] the math module started to get pulled in.=== Wed 20th June 2018
I've narrowed it down ever further https://en.m.wikipedia.beta.wmflabs.org/wiki/T173949-2 with a simplified module https://en.wikipedia.beta.wmflabs.org/wiki/Module:T173949
All this module does is call the method [[ https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/db5e6c729ea1de1e1f77f11265077ced828a13c6/client/includes/DataAccess/Scribunto/WikibaseLuaEntityBindings.php#L83 | formatPropertyValues ]]
This method seems to trigger the load of ext.math.styles in the mobile view.
Next step would be to replicate this on an environment where I can see exactly what's going on.
== Summary
If an article page is connected to a Wikidata entry which has an inception field AND I use Module:Internet_Archive - then` entity:formatPropertyValues( 'P569' )` is invoked inside a Lua module the ext.math.styles module is unexpectedly pulled into the mobile view.
...
TASK DETAIL
EMAIL PREFERENCES
To: Jdlrobson
Cc: Physikerwelt, Krinkle, brion, Niedzielski, greg, TerraCodes, Liuxinyu970226, Peter, Jdlrobson, Volker_E, Aklapper, Imarlier, Lahi, Gq86, GoranSMilovanovic, Maosef, QZanden, LawExplorer, Winter, Vali.matei, JJMC89, Debenben, Bianjiang, Nirmos, Cwek, Wikidata-bugs, Hydriz, aude, fredw, Pkra, Dinoguy1000, ssastry, scfc, Arlolra, Jackmcbarn, Mbch331, Jay8g
Cc: Physikerwelt, Krinkle, brion, Niedzielski, greg, TerraCodes, Liuxinyu970226, Peter, Jdlrobson, Volker_E, Aklapper, Imarlier, Lahi, Gq86, GoranSMilovanovic, Maosef, QZanden, LawExplorer, Winter, Vali.matei, JJMC89, Debenben, Bianjiang, Nirmos, Cwek, Wikidata-bugs, Hydriz, aude, fredw, Pkra, Dinoguy1000, ssastry, scfc, Arlolra, Jackmcbarn, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs