Extension:GlobalNotice
From MediaWiki.org
|
GlobalNotice Release status: stable |
|||
|---|---|---|---|
| Implementation | Notify | ||
| Description | Global sitenotice(s) for wiki farms | ||
| Author(s) | Misza Jack Phoenix |
||
| Last version | 0.3 | ||
| License | GNU General Public License 2.0 or later | ||
| Download | |||
| Example | ShoutWiki | ||
|
|||
| Check usage and version matrix; stats | |||
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 the source code into a file called GlobalNotice.php and place it in $IP/extensions/GlobalNotice/
- Add the line
into the wiki's LocalSettings.phprequire_once("$IP/extensions/GlobalNotice/GlobalNotice.php");
- Installation can now be verified through the wiki's Special:Version
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