MediaWiki
REL1_35
EditPageGetPreviewContentHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
Content
;
6
use
EditPage
;
7
12
interface
EditPageGetPreviewContentHook
{
23
public
function
onEditPageGetPreviewContent
( $editPage, &
$content
);
24
}
EditPage
The edit page/HTML interface (split from Article) The actual database and text munging is still in Ar...
Definition
EditPage.php:62
Content
Base interface for content objects.
Definition
Content.php:35
MediaWiki\Hook\EditPageGetPreviewContentHook
Stable to implement.
Definition
EditPageGetPreviewContentHook.php:12
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 Apr 6 2024 00:07:12 for MediaWiki by
1.9.8