From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png

Release status: stable

Implementation Notify
Description Global sitenotice(s) for wiki farms
Author(s) Misza
Jack Phoenix
Latest version 0.4 (November 22, 2015; 3 days ago (2015-11-22))
MediaWiki 1.26+
License GNU General Public License 2.0 or later
Example ShoutWiki
Hooks used


Translate the GlobalNotice extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

GlobalNotice is a MediaWiki extension that allows to create global sitenotices, which cannot be dismissed, on a wiki farm (such as ShoutWiki).

Dependency[edit | edit source]

Installation[edit | edit source]

  • Download and place the file(s) in a directory called GlobalNotice in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'GlobalNotice' );
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing extensions using wfLoadExtension(), since MediaWiki 1.25. If you need to install this extension in earlier versions, instead of wfLoadExtension( 'GlobalNotice' );, you need to use:

require_once "$IP/extensions/GlobalNotice/GlobalNotice.php";

(To run an extension on an earlier release, you may need to download the version of it tagged for that release from Special:ExtensionDistributor.)

Usage[edit | edit source]