Extension:GlobalNotice

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
GlobalNotice
Release status: stable
Implementation Notify
Description Global sitenotice(s) for wiki farms
Author(s)
Latest version 0.6.0 (2017-06-02)
MediaWiki 1.31+
License GNU General Public License 2.0 or later
Download
Example ShoutWiki
Hooks used
SiteNoticeAfter
EditPage::showEditForm:initial
Translate the GlobalNotice extension if it is available at translatewiki.net
Check usage and version matrix.

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

Dependency[edit]

Installation[edit]

  • 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' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration[edit]

  • $wgGlobalNoticeDisplayWarningOnEditPage: This is by default equal to false. When set to true, a warning will show to the editor who's editing MediaWiki:Forced-globalnotice for informing the purpose of the message.

Usage[edit]