MediaWiki  1.29.1
ParserTestMockParser Class Reference

A parser used during article insertion which does nothing, to avoid unnecessary log noise and other interference with debugging. More...

Public Member Functions

 parse ( $text, Title $title, ParserOptions $options, $linestart=true, $clearState=true, $revid=null)
 
 preSaveTransform ( $text, Title $title, User $user, ParserOptions $options, $clearState=true)
 

Detailed Description

A parser used during article insertion which does nothing, to avoid unnecessary log noise and other interference with debugging.

Definition at line 7 of file ParserTestMockParser.php.

Member Function Documentation

◆ parse()

ParserTestMockParser::parse (   $text,
Title  $title,
ParserOptions  $options,
  $linestart = true,
  $clearState = true,
  $revid = null 
)

Definition at line 14 of file ParserTestMockParser.php.

◆ preSaveTransform()

ParserTestMockParser::preSaveTransform (   $text,
Title  $title,
User  $user,
ParserOptions  $options,
  $clearState = true 
)

Definition at line 8 of file ParserTestMockParser.php.


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