MediaWiki extensions manual
GlobalNotice
Release status: stable
Implementation Notify
Description Global sitenotice(s) for wiki farms
Author(s)
  • Misza
  • Jack Phoenix
Latest version 0.6.0 (2017-06-02)
MediaWiki 1.39.4+
License GNU General Public License 2.0 or later
Download
Example ShoutWiki
Parameters
  • $wgGlobalNoticeDisplayWarningOnEditPage
  • $wgGlobalNoticeFile
Hooks used
  • EditPage::showEditForm:initial
  • SiteNoticeAfter
Quarterly downloads 1 (Ranked 169th)
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

Installation

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

Configuration

  • $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

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.