MediaWiki fundraising/REL1_35
MediaWiki\Hook\ParserTestTablesHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\ParserTestTablesHook:

Public Member Functions

 onParserTestTables (&$tables)
 Use this hook to alter the list of tables to duplicate when parser tests are run.
 

Detailed Description

Stable to implement.

Definition at line 9 of file ParserTestTablesHook.php.

Member Function Documentation

◆ onParserTestTables()

MediaWiki\Hook\ParserTestTablesHook::onParserTestTables ( & $tables)

Use this hook to alter the list of tables to duplicate when parser tests are run.

Use when page save hooks require the presence of custom tables to ensure that tests continue to run properly.

Since
1.35
Parameters
string[]&$tablesArray of table names
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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