![]() Release status: beta |
|
---|---|
Implementation | User interface, Database |
Description | Allows MediaWiki messages to be shared from a central database. |
Author(s) |
|
Latest version | 2.0 (2020-05-26) |
MediaWiki | 1.39+ |
License | GNU General Public License 2.0 or later |
Download | Download extension Git [?]: |
Example | ShoutWiki & Interface Messages Wiki (ShoutWiki's MessageCommons wiki) |
Parameters
|
|
Hooks used
|
|
Quarterly downloads | 8 (Ranked 162nd) |
Public wikis using | 1,150 (Ranked 239th) |
Translate the MessageCommons extension if it is available at translatewiki.net | |
The MessageCommons extension allows MediaWiki messages to be shared from a central database.
Installation
- Download and place the file(s) in a directory called
MessageCommons
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
wfLoadExtension( 'MessageCommons' );
file: - Set
$wgMessageCommonsIsCommons
totrue
for the wiki where messages should be fetched from and set$wgMessageCommonsLang
and$wgMessageCommonsDatabase
in the wiki farm's GlobalSettings.php/CommonSettings.php Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Parameters
$wgMessageCommonsIsCommons
(boolean)
- Set this to
true
for the wiki which "hosts" MessageCommons
$wgMessageCommonsLang
(string)
- Set this to the language code ($wgLanguageCode) of the MessageCommons wiki
$wgMessageCommonsDatabase
(string)
- Set this to the database name of the MessageCommons wiki
See also
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.