Manual:Hooks/ParserSectionCreate

Details
Use this to apply per-section modifications to HTML (like wrapping the section in a DIV). Caveat: DIVs are valid wikitext, and a DIV can begin in one section and end in another. Make sure your code can handle that case gracefully. See the EditSectionClearerLink extension for an example.


 * : the calling Parser instance.
 * : the section number, zero-based, but section 0 is usually empty.
 * : ref to the content of the section. modify this.
 * : boolean describing whether this section has an edit link.