Extension:Sync: Difference between revisions
Appearance
Content deleted Content added
Nischayn22 (talk | contribs) No edit summary Tag: 2017 source edit |
Nischayn22 (talk | contribs) Features and Roadmap |
||
Line 75: | Line 75: | ||
); |
); |
||
}} |
}} |
||
== Features == |
|||
* Maintenance Script to import entire pages in specified namespaces to other wikis |
|||
* Translate content of pages before importing using Google Translate |
|||
== Road-map == |
|||
* Live updating of wikis |
|||
== See also == |
== See also == |
Revision as of 10:43, 11 July 2018
Sync Release status: beta |
|
---|---|
Implementation | Parser function |
Description | Allows to sync's your wiki with multiple other wikis |
Author(s) | Nischay Nahata (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: |
|
|
The Sync extension allows to selective sync's your wiki with multiple other wikis. It is based on the wikiImporter script.
Installation and Configuration
- Add the following to your wiki's composer.local.json's "require" section:
"google/cloud-translate": "^1.2",
"nischayn22/mediawiki-api": "dev-master"
google/cloud-translate is only required if you plan to use the translate functionality.
- 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 file:
wfLoadExtension( 'Sync' ); // Only required if login is required to read $wgSyncReadUser = array( 'username' => "Nischayn22", 'password' => "Password" ); $wgSyncGoogleTranslateProjectId = 'xyz'; // Only needed if you want to enable translate // Add any such lines for multiple wikis $wgSyncWikis[] = array( 'api_path' => "http://localhost/test", 'username' => "Nischayn22", 'password' => "Password", 'copy_ns' => array( 0 ), 'translate' => false, 'translate_to' => 'hi' );
- Erledigt – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Eigenschaften
- Maintenance Script to import entire pages in specified namespaces to other wikis
- Translate content of pages before importing using Google Translate
Road-map
- Live updating of wikis