MediaWiki  1.34.0
ReplaceTextUtils Class Reference

Static Public Member Functions

static link (Title $title, $text=null)
 Shim for compatibility. More...
 

Detailed Description

Definition at line 23 of file ReplaceTextUtils.php.

Member Function Documentation

◆ link()

static ReplaceTextUtils::link ( Title  $title,
  $text = null 
)
static

Shim for compatibility.

Parameters
Title$titleto link to
string | null$textto show, not escaped
Returns
string HTML for link

Definition at line 31 of file ReplaceTextUtils.php.

References $title, and Linker\link().

Referenced by SpecialReplaceText\doSpecialReplaceText(), SpecialReplaceText\pageListForm(), and ReplaceTextHooks\replaceTextReminder().


The documentation for this class was generated from the following file: