Extension:FooterManager

What can this extension do?
Allow footer configuration.

The extension can be used to:
 * disable unnecessary links in the footer;
 * add banners (usually analytic systems);
 * add scripts for analytic systems, for example Google Analytics, which does not require the addition of any banners.

Installation

 * Download the latest version and extract it into the extensions folder of your MediaWiki installation.
 * Enable the extension by adding this line to your LocalSettings.php:

Configuration parameters
There are various options for extension, you can put them into your LocalSettings.php file line.

Footer links configuration
You can disable standard footer links. List or available links you can find at Manual:Footer page.
 * $wgFooterManagerLinks: an array defining the footer links settings.

Setting footer banners
The following keys are used:
 * $wgFooterManagerBanners: an array defining the banners.
 * headscript: Add tags (e.g. for Javascript) to the page's head section;
 * icon: the string it will be output directly as html at the footer;
 * bottomscript: Add tags (e.g. for Javascript) to the bottom of the page's body;
 * block: Is key of the $wgFooterIcons array.

To add a typical banner of which you have HTML code use:

Google Analytics configuration example:

In simple cases it is convenient to use a standard mechanism:

instead of:

but the result will be the same.


 * $wgFooterManagerDefBannersBlock: default banners block (key of the $wgFooterIcons array). Default is analyticsystems.

Show Powered by MediaWiki image in the footer

 * $wgFooterShowPoweredbyMwIcon: enable Powered by MediaWiki image. Default is true.