mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-23 15:57:15 +00:00
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:
parent
90b142de60
commit
84ece5c258
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue