wiki.techinc.nl/includes/Hook/ParserTestTablesHook.php
DannyS712 3a51bbe32a ParserTestTablesHook: do not document as both stable and deprecated
Remove `@stable to implement` now that it is deprecated,
and add the missing entry to DeprecatedHooks as a silent
deprecation (i.e. the equivalent of soft deprecation).

Follow-up: I5124789fac333a664b73b4b4a1e801ecc0a618ca
Change-Id: I8aece4b9811344b997a8c31f5376b4dd9784d4e2
2021-06-02 14:15:23 +00:00

24 lines
702 B
PHP

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ParserTestTables" to register handlers implementing this interface.
*
* @ingroup Hooks
* @deprecated No longer invoked by MW 1.36+
*/
interface ParserTestTablesHook {
/**
* 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
*
* @param string[] &$tables Array of table names
* @return bool|void True or no return value to continue or false to abort
*/
public function onParserTestTables( &$tables );
}