wikimedia/mediawiki-core

View on GitHub
includes/Hook/MaintenanceRefreshLinksInitHook.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace MediaWiki\Hook;

use RefreshLinks;

/**
 * This is a hook handler interface, see docs/Hooks.md.
 * Use the hook name "MaintenanceRefreshLinksInit" to register handlers implementing this interface.
 *
 * @stable to implement
 * @ingroup Hooks
 */
interface MaintenanceRefreshLinksInitHook {
    /**
     * This hook is called before executing the refreshLinks.php maintenance script.
     *
     * @since 1.35
     *
     * @param RefreshLinks $refreshLinks
     * @return bool|void True or no return value to continue or false to abort
     */
    public function onMaintenanceRefreshLinksInit( $refreshLinks );
}