MediaWiki  master
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 
29  public function onPlaceNewSection( $content, $oldtext, $subject, &$text );
30 }
Base representation for an editable wiki page.
Definition: WikiPage.php:62
Base interface for content objects.
Definition: Content.php:35
This is a hook handler interface, see docs/Hooks.md.
onPlaceNewSection( $content, $oldtext, $subject, &$text)
Use this hook to override placement of new sections.
$content
Definition: router.php:76