Go to the documentation of this file.
43 private function getBlockDetails(
47 if ( $language ===
null ) {
48 $language = $this->getLanguage();
52 $vals[
'blockid'] = $block->
getId();
54 $vals[
'blockedbyid'] = $block->
getBy();
56 ->message->inLanguage( $language )->plain();
64 $vals[
'systemblocktype'] = $block->getSystemBlockType();
79 abstract public function getLanguage();
wfTimestamp( $outputtype=TS_UNIX, $ts=0)
Get a timestamp string in one of various formats.
static formatExpiry( $expiry, $infinity='infinity')
Format an expiry timestamp for API output.