16 private $revisionTimestamp;
25 $this->revisionTimestamp = $revisionTimestamp;
27 $this->user = $skinContext->
getUser();
37 $localizer = $this->localizer;
39 $language = $this->language;
40 $timestamp = $this->revisionTimestamp;
43 $d = $language->
userDate( $timestamp, $user );
45 $s =
' ' . $localizer->
msg(
'lastmodifiedat', $d,
$t )->parse();
55 $localizer->
msg(
'laggedreplicamode' )->parse() .
60 'is-replica' => $isLagged,
64 'timestamp' => $timestamp,
Base class for language-specific code.
userDate( $ts, UserIdentity $user, array $options=[])
Get the formatted date for the given timestamp and formatted for the given user.
userTime( $ts, UserIdentity $user, array $options=[])
Get the formatted time for the given timestamp and formatted for the given user.
Interface for localizing messages in MediaWiki.
msg( $key,... $params)
This is the method for getting translated interface messages.