Remove deprecated function WikiEditorHooks::editPageShowEditFormInitial

The function is hard deprecated since 874741c9a included in REL1_41 and
not used anywhere:
https://codesearch.wmcloud.org/search/?q=editPageShowEditFormInitial

Change-Id: I8ea15bcbdd7b141f2e974381f1e13ca7be656d48
This commit is contained in:
Fomafix 2023-12-28 22:45:26 +00:00
parent 90b142de60
commit 84ece5c258

View file

@ -307,25 +307,6 @@ class Hooks implements
}
}
/**
* Deprecated static alias for onEditPage__showEditForm_initial
*
* Adds the modules to the edit form
*
* @deprecated since 1.38
* @param EditPage $editPage the current EditPage object.
* @param OutputPage $outputPage object.
*/
public static function editPageShowEditFormInitial( EditPage $editPage, OutputPage $outputPage ) {
wfDeprecated( __METHOD__, '1.38' );
$services = MediaWikiServices::getInstance();
( new self(
$services->getMainConfig(),
$services->getUserEditTracker(),
$services->getUserOptionsLookup()
) )->onEditPage__showEditForm_initial( $editPage, $outputPage );
}
/**
* EditPage::showEditForm:fields hook
*