Lucas_Werkmeister_WMDE added a comment.
The way items are added to the menu from the code perspective seems to be (based on ext.cx.entrypoints.uls.relevantlanguages.js <https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/ContentTranslation/+/b7ed89aa15d05372d87af5d240bd80df00a7315c/modules/entrypoints/ext.cx.entrypoints.uls.relevantlanguages.js#84>): - listen for the `mw.uls.compact_language_links.open` hook, which is called with a `$trigger` - get the ULS instance from the trigger as `var uls = $trigger.data( 'uls' );` - insert any DOM element(s) you want before the ULS instance’s results view, like `uls.$resultsView.before( missingLanguagesPanel );` TASK DETAIL https://phabricator.wikimedia.org/T310259 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Hooman_Mallahzadeh, Nikerabbit, Snaevar, karapayneWMDE, ItamarWMDE, Tgr, EChukwukere-WMF, Lydia_Pintscher, santhosh, olga, Aklapper, Theklan, ovasileva, Pginer-WMF, JCW555, hnijhuis, Astuthiodit_1, Patafisik_WMF, Invadibot, Selby, Universal_Omega, maantietaja, Akuckartz, Demian, Nandana, Jony, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, JJMC89, Iniquity, _jensen, rosalieper, Agabi10, Taiwania_Justo, Scott_WUaS, Volker_E, Wikidata-bugs, aude, Amire80, Arrbee, KartikMistry, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
