Extension:WikiBanner

Category:Unmaintained extensions#WikiBanner Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
WikiBanner
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Hook Category:Hook extensions
Description Adds a banner to the top and bottom of the wiki that are defined in LocalSettings.php
Author(s) (maelstr0mtalk)
Latest version 1.1.0 (2013-08-17)
MediaWiki Category:Extensions without MediaWiki version
Database changes No
License GNU General Public License 2.0
Download Category:Extensions in GitHub version control
README
  • $wgTopBannerCode
  • $wgBottomBannerCode
Category:All extensionsCategory:Extensions not in ExtensionJson

The WikiBanner 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

Configuration

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 LocalSettings.php 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.
';
Category:Extensions by Krasnaya Security Category:Advertising extensions Category:Notification extensions
Category:Advertising extensions Category:All extensions Category:BeforePageDisplay extensions Category:Extensions by Krasnaya Security Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions not using extension registration Category:Extensions without MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:Hook extensions Category:Notification extensions Category:Unmaintained extensions