Estensione:MySystemMessages

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:MySystemMessages and the translation is 27% complete.

Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎español • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎中文 • ‎日本語
Manuale sulle Estensioni MediaWiki
Crystal Clear action run.svg
MySystemMessages
Stato della release: stabile
Implementazione MyWiki
Descrizione Allows to add wiki specific system messages
Autore(i) Karsten Hoffmeyer (Kghblntalk)
Versione 1.0.1 (2015-01-07)
MediaWiki 1.17+
PHP 5.3+
Cambi della base di dati No
Licenza ISC License
Scaricare
README
CHANGELOG
Traducete l'estensione MySystemMessages se è disponibile su translatewiki.net
Verificare uso e versione della matrice.

The MySystemMessages extension allows to add wiki specific system messages. This extension comes in quite handy if you have multiple wiki instances which share the same content structure for, e.g. templates and forms. It makes it easier to deploy translations to these wiki instances by avoiding individual message setup on every instance. This also makes farming easier since the system messages may easily be deployed to all wiki instances.

Installazione

  • Download and place the file(s) in a directory called MySystemMessages in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/MySystemMessages/MySystemMessages.php";
    
  • See the README for how to configure this extension.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Uso

To add a system message to a page you will use the "int" parser function provided by core MediaWiki, i.e. {{int:message identifier}}, e.g. {{int:mysm-mymessage}}. Thus the message will be shown in the language the user selected in her or his preferences. If a message is not available in the internationalized version for a specific language the English version will be shown.

See also