MediaWiki  master
MediaWiki\Hook\ParserTestTablesHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. 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. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ParserTestTables" to register handlers implementing this interface.

Stable to implement

Definition at line 12 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: