getHash(); if ( isset( $this->modifiedTime[$hash] ) ) { return $this->modifiedTime[$hash]; } global $wgUser; return $this->modifiedTime[$hash] = wfTimestamp( TS_UNIX, $wgUser->getTouched() ); } /** * @param $context ResourceLoaderContext * @return string */ public function getScript( ResourceLoaderContext $context ) { global $wgUser; return Xml::encodeJsCall( 'mw.user.options.set', array( $wgUser->getOptions() ), ResourceLoader::inDebugMode() ); } /** * @return bool */ public function supportsURLLoading() { return false; } /** * @return string */ public function getGroup() { return 'private'; } }