33 $params = parent::getMessageParameters();
34 $subtype = $this->entry->getSubtype();
35 if ( $subtype ===
'create2' || $subtype ===
'byemail' ) {
42 $params[3] = $target->getName();
49 $timestamp =
wfTimestamp( TS_MW, $this->entry->getTimestamp() );
50 if ( $timestamp <
'20080129000000' ) {
51 # Suppress $comment from old entries (before 2008-01-29),
52 # not needed and can contain incorrect links
56 return parent::getComment();
60 $subtype = $this->entry->getSubtype();
61 if ( $subtype ===
'create2' || $subtype ===
'byemail' ) {
63 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 factory method for creation from username.
static newFromId( $id)
Static factory method for creation from a given user ID.