9 $params = parent::getMessageParameters();
26 } elseif ( !isset(
$params[4] ) ) {
29 $params[3] = $this->entry->getTarget()->getText();
33 $title = Title::makeTitleSafe( NS_USER,
$params[3] );
38 $title = Title::makeTitleSafe( NS_USER,
$params[4] );
48 if ( !$this->plaintext ) {
49 $text = htmlspecialchars( $text );
52 if ( !$title instanceof
Title ) {
53 $link =
"[[User:$text]]";
55 $link =
'[[' . $title->getPrefixedText() .
']]';
63 $key = parent::getMessageKey();
68 return "$key-legaciest";
69 } elseif ( !isset(
$params[5] ) ) {
70 return "$key-legacier";
89 $title = Title::makeTitleSafe( NS_USER, $newUserName );
static link( $target, $html=null, $customAttribs=[], $query=[], $options=[])
This function returns an HTML link to the given target.
Represents a title within MediaWiki.
namespace and then decline to actually register it file or subcat img or subcat $title
usually copyright or history_copyright This message must be in HTML not wikitext & $link