35 $params = parent::getMessageParameters();
36 $subtype = $this->entry->getSubtype();
37 if ( $subtype ===
'create2' || $subtype ===
'byemail' ) {
38 if ( isset( $params[3] ) ) {
44 $params[3] = $target->getName();
51 $timestamp =
wfTimestamp( TS_MW, $this->entry->getTimestamp() );
52 if ( $timestamp <
'20080129000000' ) {
53 # Suppress $comment from old entries (before 2008-01-29),
54 # not needed and can contain incorrect links
58 return parent::getComment();
62 $subtype = $this->entry->getSubtype();
63 if ( $subtype ===
'create2' || $subtype ===
'byemail' ) {
65 return [ Title::makeTitle(
NS_USER_TALK, $this->entry->getTarget()->getText() ) ];
wfTimestamp( $outputtype=TS_UNIX, $ts=0)
Get a timestamp string in one of various formats.
static newFromName( $name, $validate='valid')
static newFromId( $id)
Static factory method for creation from a given user ID.