MediaWiki
REL1_41
EditPageGetPreviewContentHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
Content
;
6
use
MediaWiki\EditPage\EditPage
;
7
15
interface
EditPageGetPreviewContentHook
{
26
public
function
onEditPageGetPreviewContent
( $editPage, &
$content
);
27
}
MediaWiki\EditPage\EditPage
The HTML user interface for page editing.
Definition
EditPage.php:146
Content
Base interface for representing page content.
Definition
Content.php:39
MediaWiki\Hook\EditPageGetPreviewContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition
EditPageGetPreviewContentHook.php:15
MediaWiki\Hook\EditPageGetPreviewContentHook\onEditPageGetPreviewContent
onEditPageGetPreviewContent( $editPage, &$content)
Use this hook to modify the wikitext that will be previewed.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$content
$content
Definition
router.php:76
includes
Hook
EditPageGetPreviewContentHook.php
Generated on Sat Nov 23 2024 08:23:21 for MediaWiki by
1.10.0