Skip to content
forked from nischayn22/Sync

A MediaWiki extension that selective sync's your wiki with multiple other wikis.

License

Notifications You must be signed in to change notification settings

simontaurus/Sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sync

A MediaWiki extension that selective sync's your wiki with multiple other wikis.

Installation

Download this repo on your extensions folder
Add the following on your LocalSettings.php: wfLoadExtension( 'Sync' );
Run the following command on your main directory: "composer require google/cloud-translate"
Run the following command on your main directory: "composer require nischayn22/mediawiki-api:dev-master"
Set environment variables for the Cloud Translate API. See https://cloud.google.com/translate/docs/reference/libraries#client-libraries-install-php

Configuration

// Add any such lines for multiple wikis
$wgSyncWikis[] = array(
  'api_path' => "http://localhost/test",
  'username' => "Nischayn22",
  'password' => "Password",
  'copy_ns' => array( 0 ),
  'live_edit' => true,
  'live_create' => true,
  'live_move' => true,
  'live_delete' => true,
  'translate' => true,
  'translate_to' => 'hi'
);

About

A MediaWiki extension that selective sync's your wiki with multiple other wikis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%