Jump to content

Manuel:EditPage.php

From mediawiki.org
This page is a translated version of the page Manual:EditPage.php and the translation is 33% complete.

Description

EditPage.php fournit l'interface utilisateur pour modifier les pages. Implémente 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.