Manual:EditPage.php

Category:MediaWiki code#EditPage.php

Description

EditPage.php provides the user interface for editing pages. This class implemented IEditObject.

Usage in extension

HTML Injection

All the injection points are only usable after calls to EditPage->showForm(), which will also trigger EditPage::showEditForm:initial hook.

EditPage->editFormPageTop

This injection point is out of the edit form. It is located above the form, but under the internal message boxes.

EditPage->editFormTextTop

This injection point is near EditPage->editFormPageTop, but it is located under the preview box and is out of the edit form too.

EditPage->editFormTextBeforeContent

This injection point is in the edit form, but although it is the first visible element it is not the first element in the form, as it is under all the hidden fields.

EditPage->editFormTextBottom

This injection point is in the edit form, and it is the latest element in the form.

Category:MediaWiki code