Wikibot-publisher

From sselab

(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
This provides an easy and fast way to bring external  Wiki pages in line with ones within your project.
This provides an easy and fast way to bring external  Wiki pages in line with ones within your project.
-
===Links===
 
 +
=== First Steps ===
-
[[wikibot-publisher_installation | Installation]]
+
To exectute the client type the following command in your command line:
-
[[wikibot-publisher_first-steps | First Steps]]
+
$> java -jar ostp-client-wikibot-0.9.1.jar -u USERNAME -p PASSWORD -publish -w https://sselab.de/URLTOPROJECTWIKI/index.php SimpleArticle.txt
 +
 
 +
Please replace USERNAME, PASSWORD, and URLTOPROJECTWIKI with your username and password of your SSELab account.
 +
 
 +
The url to your project wiki should look something like this:
 +
 
 +
* Internal Mediawiki: https://sselab.de/labX/private/intwiki/PROJECTNAME/index.php
 +
* External Mediawiki: https://sselab.de/labX/private/extwiki/PROJECTNAME/index.php
 +
 +
Output:
 +
$> java -jar ostp-client-wikibot-0.9.1.jar -u USERNAME -p PASSWORD -publish -w https://sselab.de/labX/private/intwiki/PROJECTNAME/index.php SimpleArticle.txt
 +
Publishing wiki article...
 +
Successfully stored content from 'SimpleArticle.txt' in article 'SimpleArticle'.
 +
 
 +
 
 +
===Links===

Revision as of 18:53, 30 January 2012

Contents

Description

Allows to publish wiki articles to SSELab MediaWikis.

Version

(0.9.1)

Aim

This provides an easy and fast way to bring external Wiki pages in line with ones within your project.


First Steps

To exectute the client type the following command in your command line:

$> java -jar ostp-client-wikibot-0.9.1.jar -u USERNAME -p PASSWORD -publish -w https://sselab.de/URLTOPROJECTWIKI/index.php SimpleArticle.txt

Please replace USERNAME, PASSWORD, and URLTOPROJECTWIKI with your username and password of your SSELab account.

The url to your project wiki should look something like this:

Output:

$> java -jar ostp-client-wikibot-0.9.1.jar -u USERNAME -p PASSWORD -publish -w https://sselab.de/labX/private/intwiki/PROJECTNAME/index.php SimpleArticle.txt
Publishing wiki article...
Successfully stored content from 'SimpleArticle.txt' in article 'SimpleArticle'.


Links