Jdlrobson added a comment.

  Hi there, just checking in on the status of this ticket! Since Wikibase is 
now the main benefactor of this I'm keen to start making progress towards this 
objective.
  
  It seems we should be able to adapt a few to check for the presence of 
MobileFrontend and mobile mode as detailed on 
https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_for_extension_developers#Target_system
  Would you accept patches of that nature?
  
    if ( ExtensionRegistry::getInstance()->isLoaded( 'MobileFrontend' ) ) {
        $mobileContext = MediaWikiServices::getInstance()->getService( 
'MobileFrontend.Context' );
        $isMobileView = $mobileContext->shouldDisplayMobileView();
        if ( $isMobileView ) {
            $out->addModule( 'ext.foo.bar' );
        }
    }

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

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

To: Jdlrobson
Cc: ItamarWMDE, Manuel, Lucas_Werkmeister_WMDE, StudiesWorld, Jdforrester-WMF, 
Aklapper, Krinkle, Catrope, Legoktm, TrevorParscal, ori, Ricordisamoa, Krenair, 
gerritbot, Florian, brion, Nikerabbit, Tgr, pmiazga, Ciencia_Al_Poder, 
Tacsipacsi, JohanahoJ, Ltrlg, AntiCompositeNumber, Lens0021, kostajh, 
Universal_Omega, Michael, Jdlrobson, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Izno, Wikidata-bugs, 
aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to