Extension:WikiBanner

This extension allows banners to easily be added to the top and bottom of the wiki. The code for the banners is defined in LocalSettings.php and is controlled by variables. This implementation makes it easy for inexperienced users of MediaWiki to implement banners at the top and bottom of the wiki. It also makes it possible to add banners that cannot be changed or removed, such as would be possible by wiki administrators if the banner were added to the site notice. This makes the extension particularly useful for placing advertising or report abuse links, as such content cannot be removed by abusive or rogue administrators. The bottom banner can also be used to include post article advertisements as readers leave the page and/or Disqus comment boxes.

Installation

 * 1) Download the files
 * 2) Extract the files and upload them to the  folder of the wiki
 * 3) Add the following line to the end of
 * 4) Configure one or both of the banners

Configuration parameters
One or more banners can be added to the wiki. The banners can consist of any HTML and/or Javascript.

To configure the top banner, add the following to  after the installation line:

$wgTopBannerCode = ' Your banner code here. ';

To create a banner at the bottom, add the following after the installation line:

$wgBottomBannerCode = ' Your banner code here. ';