![]() Release status: beta |
|
---|---|
Implementation | Parser function |
Description | Allows to sync's your wiki with multiple other wikis |
Author(s) | Nischay Nahata, wikiworks.com (Nischayn22talk) |
Latest version | 1.0 (March 2018) |
MediaWiki | 1.25+ |
PHP | 5.3+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: |
Parameters
|
|
The Sync extension allows the selective sync (or copying over of content pages) of your wiki with multiple other wikis. It is based on the wikiImporter script. You can also use this extension with Extension:TranslateWiki to create multilingual wikis.
Installation and Configuration
- Add the following to your wiki's composer.local.json's "require" section:
"nischayn22/mediawiki-api": "dev-master"
- Now run:
composer update
- Download and place the file(s) in a directory called
Sync
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
wfLoadExtension( 'Sync' ); // Add any such lines for multiple wikis $wgSyncWikis[] = array( 'api_path' => "http://yourwiki/wiki2", 'username' => "Nischayn22", 'password' => "Password", 'copy_ns' => array( 0 ), 'live_edit' => true, 'live_create' => true, 'live_move' => true, 'live_delete' => true, 'translate' => false, 'translate_to' => 'hi' );
file: Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Features
- Maintenance Script to import entire pages in specified namespaces to other wikis.
- Create and maintain multilingual wikis using Extension:TranslateWiki.
- Live syncing of wikis on page edits/creation/move/delete.
- Sync tab to live sync a page
- Syncing of CommentStreams
Development and Help
Please contact the author for consulting on further developments, feature requests or bug fixes on this extension.
See also
- Page import - overview of all page import tools
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.