Extension:GlobalNotice

MediaWiki extensions manual
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.39.6+
License GNU General Public License 2.0 or later
Download
Example ShoutWiki
  • $wgGlobalNoticeDisplayWarningOnEditPage
  • $wgGlobalNoticeFile
Quarterly downloads 2 (Ranked 148th)
Public wikis using 1,165 (Ranked 235th)
Translate the GlobalNotice extension if it is available at translatewiki.net

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 move the extracted GlobalNotice folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalNotice
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'GlobalNotice' );
    
  •   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