[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-06-12 Thread Jdlrobson
Jdlrobson closed this task as "Resolved". Jdlrobson added a comment. Yay! Thanks for working on this! TASK DETAIL https://phabricator.wikimedia.org/T331760 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jdlrobson Cc: ngkountas, santhosh, Lucas_We

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-06-12 Thread LGoto
LGoto assigned this task to Jdlrobson. TASK DETAIL https://phabricator.wikimedia.org/T331760 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jdlrobson, LGoto Cc: ngkountas, santhosh, Lucas_Werkmeister_WMDE, Jdlrobson, Michael, ItamarWMDE, Manuel, Pet

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-06-12 Thread ItamarWMDE
ItamarWMDE added a comment. @Jdlrobson in T334682 the amount of transferred data was reduced to 2.82kb gzipped. Can this task be closed? F37101258: image.png TASK DETAIL https://phabricator.wikime

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-06-12 Thread ItamarWMDE
ItamarWMDE closed subtask T334682: [WBClient] Mitigate size of included resource module `mw.config.values.wbSiteDetails` in Wikibase Client sites as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T331760 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpref

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-04-12 Thread ItamarWMDE
ItamarWMDE added a comment. **Story Writing Notes**: - As the Wikidata team, we can try to minimize the initial payload by not including so much configuration. - We will create a new ticket to handle this work in the coming sprint. TASK DETAIL https://phabricator.wikimedia.org/T33176

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-04-11 Thread ItamarWMDE
ItamarWMDE moved this task from Incoming to Prioritized on the wmde-wikidata-tech board. ItamarWMDE added a project: Wikidata Dev Team. TASK DETAIL https://phabricator.wikimedia.org/T331760 WORKBOARD https://phabricator.wikimedia.org/project/board/5864/ EMAIL PREFERENCES https://phabricat

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-04-11 Thread ItamarWMDE
ItamarWMDE added a comment. **Prio Notes**: - Affect end users / production - Does not affect development efforts - Does not affect onboarding - Affects additional stakeholders (WMF web team) TASK DETAIL https://phabricator.wikimedia.org/T331760 EMAIL PREFERENCES https://phabri

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-04-06 Thread Jdlrobson
Jdlrobson added a comment. Reducing the amount of data would also be a good way to fix this! > I'm now wondering: is there a way to subscribe to _all_ js hooks? That way, one could figure out if there is a suitable one for us to use. But I'm curious to hear @santhosh's perspective on thi

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-04-06 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. IMHO the lazy loading is the wrong thing to focus on, and we should instead reduce the amount of data we’re loading: In T331760#8744259 , @Michael wrote: > Another approach could be to create

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-04-06 Thread Michael
Michael added a comment. Thank you for bringing this up again. I had another look and `'mw.uls.settings.open'` is unfortunately //not// what we need. This hook is fired when the language selector on a multilingual site like Wikidata or Commons is opened, so that one can change the UI languag

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-04-05 Thread Jdlrobson
Jdlrobson raised the priority of this task from "Medium" to "High". Jdlrobson added a project: SEO. Jdlrobson added a comment. FYI: This is a high priority from web team's side. Reducing JS is a high priority as Google is apparently reporting many of our pages having low first input delay sco

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-04-03 Thread Jdlrobson
Jdlrobson added a subscriber: santhosh. Jdlrobson added a project: Language-Team. Jdlrobson added a comment. Hey @michael thanks for the note! Yes, this is not lazy loaded, as it's being executed unconditionally on any page where ULS is present. I think if the main purpose is to provide t

[Wikidata-bugs] [Maniphest] T331760: "mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load

2023-03-31 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE renamed this task from ""mw.config.values.wbSiteDetails" module downloads 196 kB of uncompressed JavaScript on Vector-22 page load" to ""mw.config.values.wbSiteDetails" module downloads 27.3 kB of compressed JavaScript on Vector-22 page load". TASK DETAIL https://phabri