protected $origin = self::ORIGIN_CORE_INDIVIDUAL;
+ protected $targets = array( 'desktop', 'mobile' );
+
/* Methods */
/**
public function getScript( ResourceLoaderContext $context ) {
global $wgUser;
return Xml::encodeJsCall( 'mw.user.options.set',
- array( $wgUser->getOptions() ) );
+ array( $wgUser->getOptions() ),
+ ResourceLoader::inDebugMode()
+ );
}
/**