MediaWiki  1.33.1
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
Returns
string HTML for link

Definition at line 31 of file ReplaceTextUtils.php.

References $linkRenderer, $title, and Linker\link().

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


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