Extension:GlobalNotice
From Linux Web Expert
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.7+ |
License | GNU General Public License 2.0 or later |
Download | |
Example | ShoutWiki |
|
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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
- MessageCommons — required to make the notices global
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/GlobalNotice</tvar>|Download]] and move the extracted <tvar name=name>
GlobalNotice
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GlobalNotice - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'GlobalNotice' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
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
- 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
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions
- Extensions without an image
- Notification extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- SiteNoticeAfter extensions
- All extensions
- Extensions by ShoutWiki