Manual:Hooks/PlaceNewSection

Details
Use this hook to override the placement of new sections. Return false and put the merged text into $text to override the default behavior.


 * $wikipage : WikiPage object
 * $oldtext : the text of the page before editing
 * $subject : subject of the new section
 * &$text : text of the new section (the contents of the edit form)