[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/extensions/LocalisationUpdate/ -> README (source)

   1  == Localisation Update ==
   2  Localisation Update extension can update the MediaWiki messages at any time,
   3  without needing to upgrade the MediaWiki software.
   4  
   5  For more information see:
   6   https://www.mediawiki.org/wiki/Extension:LocalisationUpdate
   7  
   8  == Installation ==
   9  1. Add the following to LocalSettings.php of your MediaWiki setup:
  10  
  11   require_once "$IP/extensions/LocalisationUpdate/LocalisationUpdate.php";
  12   $wgLocalisationUpdateDirectory = "$IP/cache";
  13  
  14  2. Create a cache folder in the installation directory, and be sure the server
  15  has permissions to write on it.
  16  
  17  If localization updates don't seem to come through, you may need to run,
  18  
  19   php maintenance/rebuildLocalisationCache.php --force.
  20  
  21  3. Whenever you want to run an update, run,
  22  
  23   php extensions/LocalisationUpdate/update.php
  24  
  25  For detailed help, see:
  26  
  27   php extensions/LocalisationUpdate/update.php --help
  28  
  29  4. If you are on Unix like system, you should add LocalisationUpdate to
  30  crontab:
  31  
  32   crontab -e
  33   # Add the following line
  34   @daily php /path/to/your/wiki/extensions/LocalisationUpdate/update.php --quiet


Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1