getHash(); if ( !isset( $this->modifiedTime[$hash] ) ) { global $wgUser; $this->modifiedTime[$hash] = wfTimestamp( TS_UNIX, $wgUser->getTouched() ); } return $this->modifiedTime[$hash]; } /** * @param ResourceLoaderContext $context * @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'; } }