MediaWiki
REL1_35
PlaceNewSectionHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
Content
;
6
use
WikiPage
;
7
12
interface
PlaceNewSectionHook
{
26
public
function
onPlaceNewSection
(
$content
, $oldtext, $subject, &$text );
27
}
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
Content
Base interface for content objects.
Definition
Content.php:35
MediaWiki\Content\Hook\PlaceNewSectionHook
Stable to implement.
Definition
PlaceNewSectionHook.php:12
MediaWiki\Content\Hook\PlaceNewSectionHook\onPlaceNewSection
onPlaceNewSection( $content, $oldtext, $subject, &$text)
Use this hook to override placement of new sections.
MediaWiki\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
$content
$content
Definition
router.php:76
includes
content
Hook
PlaceNewSectionHook.php
Generated on Sat Apr 6 2024 00:07:02 for MediaWiki by
1.9.8