Jdlrobson created this task. Jdlrobson added projects: MediaWiki-extensions-WikibaseClient, Technical-Debt. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION The BeforePageDisplayMobile will be deprecated in 1.43 (T350200 <https://phabricator.wikimedia.org/T350200>). A usage was detected in the Wikibase codebase here: https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/31782c68e53239618eb59b2f4574fc93d1d6b87e/extension-repo.json#969 Please update it to use the BeforePageDisplay hook. Thanks in advance! The preferred way to do this is to use the BeforePageDisplay hook as follows: $isMobileView = ExtensionRegistry::getInstance()->isLoaded( 'MobileFrontend' ) && $services->getService( 'MobileFrontend.Context' )->shouldDisplayMobileView(); if ( $isMobileView ) { .. } TASK DETAIL https://phabricator.wikimedia.org/T365835 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jdlrobson Cc: Aklapper, Jdlrobson, ItamarWMDE, Akuckartz, darthmon_wmde, lucamauri, Izno, Nastoshka, Wikidata-bugs, Dinoguy1000, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org