Extension:GlobalNotice
Appearance
From mediawiki.org
Languages:
- English
- Kadazandusun
- polski
- čeština
Release status: stable |
|
|---|---|
| Implementation | Notify |
| Description | Global sitenotice(s) for wiki farms |
| Author(s) | |
| Latest version | 0.6.0 (2017年06月02日) |
| MediaWiki | 1.43.9+ |
|
|
| Licence | GNU General Public License 2.0 or later |
| Download | |
| Example | ShoutWiki |
| Translate the GlobalNotice extension if it is available at translatewiki.net | |
| Issues | Open tasks · Report a bug |
GlobalNotice is a MediaWiki extension that allows to create global sitenotices, which cannot be dismissed, on a wiki farm (such as ShoutWiki ).
Dependency
[edit ]- MessageCommons — required to make the notices global
Installation
[edit ]- Download and move the extracted
GlobalNoticefolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cdextensions/ gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalNotice - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'GlobalNotice' );
- Yes Done – Navigate to
Special:Versionon your wiki to verify that the extension is successfully installed.
Configuration
[edit ]$wgGlobalNoticeDisplayWarningOnEditPage- This is by default equal tofalse. 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 ]- MediaWiki:Forced-globalnotice – a site-wide notice shown for all users, no matter what their language is. Used only for things like server migration notices etc.
- MediaWiki:Globalnotice – global notice, depending on the user's language. This can be used to show language-specific stuff to users with a certain interface language (i.e. "We need more French translators! Pouvez-vous nous aider ?" on MediaWiki:Globalnotice/fr to show the message to all users with French as their interface language)
- MediaWiki:Globalnotice-sysop – a site-wide notice shown to all administrators (depending on language; MediaWiki:Globalnotice-sysop/fr to show a notice to all French sysops etc.)
- MediaWiki:Globalnotice-bureaucrat – see above, but for bureaucrats
- MediaWiki:Globalnotice-bot – see above...
- MediaWiki:Globalnotice-rollback – once again, see above