Extension:GlobalMessages
From MediaWiki.org
|
Global Messages Release status: experimental |
|
|---|---|
| Implementation | MyWiki |
| Description | This extension allows you to set Interface Messages that will apply to all wikis that include the extension, May be useful for Wiki Farms |
| Author(s) | Cmelbye Talk |
| Version | 0.1 (01/26/08) |
| MediaWiki | Tested on 1.12 |
| Download | Here |
Contents |
[edit] What can this extension do?
This Extension allows you to set up Interface Messages (Usually edited through MediaWiki: namespace pages) that will take affect on all the wikis that include this extension. This extension is especially useful for Wiki Farms where you would want to make a customisation on all of your wikis easily.
[edit] Warnings
This extension is primarily targeted at people who know a bit about PHP. Currently, the only way to add new global messages is through editing the extensions internationalization file. In the future, a Special Page interface might be added.
[edit] Usage
To add a new message to the entire wiki farm, add this to the end of the GlobalMessages.i18n.php file and before the last "}":
'messagename' => "This is some message text. Etc etc etc.",
Where messagename is the name of an Interface message (A list of them is available at Special:Allmessages).
[edit] Download instructions
Download the code from my SVN repository like this: svn co svn://unixpod.com/charlie/mediawiki/extensions/GlobalMessages GlobalMessages
Run the above command in your "extensions/" directory.
[edit] Installation
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/GlobalMessages/GlobalMessages.php");
[edit] Code
Download the code from SVN as shown in Download instructions above.

