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