Manual:Hooks/EditPage::showEditForm:initial

Details

 * $editPage: the current EditPage object.
 * $output: the OutputPage object (added in version 1.12.0)

Inject HTML
There are many locations within EditPage::showEditForm:initial that allow a user to inject HTML. These hook locations are represented by member variables of the editPage object. $editPage->editFormPageTop $editPage->editFormTextTop $editPage->editFormTextBeforeContent $editPage->editFormTextAfterWarn $editPage->editFormTextAfterTools $editPage->editFormTextBottom To inject your HTML, append your HTML to one of the aforementioned member variables, e.g. $editPage->editFormPageTop .= " Hello World! "; Some hook locations are inside forms; some not. Those inside the form allow you to inject HTML form elements. Normally, we use EditPage::showEditForm:fields for form elements, but there may be some circumstances for which it is necessary to use the aforementioned hook locations.
 * Inside form
 * editFormTextBeforeContent
 * editFormTextAfterWarn
 * editFormTextAfterTools
 * editFormTextBottom
 * Outside form
 * editFormPageTop
 * editFormTextTop