Extension:DismissableSiteNotice

From MediaWiki.org

Jump to: navigation, search

     

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
DismissableSiteNotice

Release status: stable

Description Allows users to close the sitenotice
Author(s)  Brion Vibber
License No license specified
Download Download snapshot

Subversion [Help]
Browse source code

Example  Wikimedia sites
Wikia sites

check usage (experimental)

The DismissableSiteNotice extension allows users to close the sitenotice, using cookies. When you add a new sitenotice and want everyone to see it, remember to bump up the count on MediaWiki:Sitenotice id by one (e.g. if it would be 5, you'd replace the page with the number 6 and so on).

[edit] Installation

To install DismissableSiteNotice, download the latest snapshot and extract it to your extensions directory. Then, add the following line near the end of your LocalSettings.php:

require_once( "$IP/extensions/DismissableSiteNotice/DismissableSiteNotice.php" );

This extension is being used on one or more of Wikimedia's wikis. It means that the extension is stable and works well enough to be used by such high traffic websites. A full list of the extensions installed on a particular wiki is produced by Special:Version on that wiki.