LocalisationUpdate

From Wikitech
(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
 
== Where it runs ==
 
== Where it runs ==
 
Batch not yet set up. Must be on a mediawiki-installation host with access to /home and a SVN client.
 
Batch not yet set up. Must be on a mediawiki-installation host with access to /home and a SVN client.
 
Databases used:
 
* Singletons:
 
** enwiki on s1
 
** dewiki on s2dewiki
 
** frwiki on s3frja
 
** jawiki on s3frja
 
** commonswiki on s4
 
* Shared:
 
** l10nwiki on s2 (run via bgwiki)
 
** l10nwiki on s3 (run via aawiki)
 
  
 
== Batch frequency ==
 
== Batch frequency ==
Line 33: Line 22:
 
== Files ==
 
== Files ==
  
* /home/wikipedia/i18n/trunk
+
* /home/wikipedia/l10n/trunk
 
** MediaWiki checkouts of trunk phase3 and extensions
 
** MediaWiki checkouts of trunk phase3 and extensions
 +
* /home/wikipedia/common/wmf-deployment/cache
 +
** Storage for serialized updates
 +
* /apache/common/wmf-deployment/cache
 +
** Synced home of serialized updates per web server
 +
 +
== Todo ==
 +
 +
Trim out test DBs/tables from previous incarnation:
 +
 +
Databases used:
 +
* Singletons:
 +
** enwiki on s1
 +
** dewiki on s2dewiki
 +
** frwiki on s3frja
 +
** jawiki on s3frja
 +
** commonswiki on s4
 +
* Shared:
 +
** l10nwiki on s2 (run via bgwiki)
 +
** l10nwiki on s3 (run via aawiki)
 +
  
 
[[Category:Software]]
 
[[Category:Software]]
 
[[Category:Batch jobs]]
 
[[Category:Batch jobs]]

Revision as of 17:59, 24 September 2009

Contents

Purpose

This MediaWiki extension fetches updates to MediaWiki core and extension localisation files and makes them available to an installation without updating its own source. This allows us to pull updated translations being committed to development trunk even though our live install is running wmf-deployment branch.

Source

Where it runs

Batch not yet set up. Must be on a mediawiki-installation host with access to /home and a SVN client.

Batch frequency

  • not yet set up; planned daily?

How it works

Batch job not yet set up, but it'll do roughly:

 svn up /home/wikipedia/i18n/trunk/phase3
 svn up /home/wikipedia/i18n/trunk/extensions
 php /home/wikipedia/common/wmf-deployment/extensions/LocalisationUpdate/update.php --all

Files

  • /home/wikipedia/l10n/trunk
    • MediaWiki checkouts of trunk phase3 and extensions
  • /home/wikipedia/common/wmf-deployment/cache
    • Storage for serialized updates
  • /apache/common/wmf-deployment/cache
    • Synced home of serialized updates per web server

Todo

Trim out test DBs/tables from previous incarnation:

Databases used:

  • Singletons:
    • enwiki on s1
    • dewiki on s2dewiki
    • frwiki on s3frja
    • jawiki on s3frja
    • commonswiki on s4
  • Shared:
    • l10nwiki on s2 (run via bgwiki)
    • l10nwiki on s3 (run via aawiki)
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox