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 language.
  However, it is unfortunately //not// fired when the language/site selector on 
a monolingual site, like English Wikipedia, is opened.
  
  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 this as well.

TASK DETAIL
  https://phabricator.wikimedia.org/T331760

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: santhosh, Lucas_Werkmeister_WMDE, Jdlrobson, Michael, ItamarWMDE, Manuel, 
Peter, Aklapper, nray, Dominika_Naumiuk, JCW555, hnijhuis, Wangombe, 
Astuthiodit_1, Nishu02, Patafisik_WMF, karapayneWMDE, Invadibot, Selby, 
PallaviPatke, maantietaja, Rileych, Akuckartz, Demian, 50019062, Nandana, Lahi, 
Gq86, GoranSMilovanovic, Chicocvenancio, QZanden, LawExplorer, Winter, 
Vali.matei, Iniquity, Darwinius, _jensen, rosalieper, Agabi10, Soum213, 
Taiwania_Justo, Scott_WUaS, Volker_E, Wikidata-bugs, aude, Lydia_Pintscher, 
Nikerabbit, Arrbee, KartikMistry, Mbch331, Krenair
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to