- $params[4] = Message::rawParam( "<span class='blockExpiry' title='$durationTooltip'>" .
- $this->context->getLanguage()->translateBlockExpiry( $params[4],
- $this->context->getUser() ) . '</span>' );
+ $params[4] = Message::rawParam(
+ "<span class=\"blockExpiry\" title=\"$durationTooltip\">" .
+ $this->context->getLanguage()->translateBlockExpiry(
+ $params[4],
+ $this->context->getUser(),
+ wfTimestamp( TS_UNIX, $this->entry->getTimestamp() )
+ ) .
+ '</span>'
+ );