Extension:DeToc

The DeToc extension extracts and removes the table of contents of the wiki article. In order to work the functions provided by this extension need to be used by the current skin.

Usage
Add the following to your LocalSettings.php:

Then include the following line in your skin's  method:

This way the  variable will contain the artile body in HTML without table of contents. The  variable will contain the table of contents without the initial   and the final.

This extension is used in the updated Naiad skin to move the table of contents to another area of the screen.