MediaWiki REL1_39
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.
 

Detailed Description

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

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

Deprecated
No longer invoked by MW 1.36+

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: