]> Wikimedia Canada | Git repositories - eccc_to_commons.git/blobdiff - README
Add script to perform the upload
[eccc_to_commons.git] / README
diff --git a/README b/README
index ee13ba54500af8426a97fcf5c0d9619eaa7e8899..f6c6fd48d226008053938d38f17301ad7c608457 100644 (file)
--- a/README
+++ b/README
@@ -25,6 +25,7 @@ commons_rules.xsd         validate ECCC XML from a Wikimedian point of view
 eccc_to_commons.sh        transform ECCC XML files into JSON
 monthly_to_commons.xslt   transform ECCC monthly XML file into JSON
 almanac_to_commons.xslt   transform ECCC almanac XML file into JSON
+mediawiki_post.sh         upload directory to a Mediawiki
 
 
 Usage:
@@ -145,4 +146,11 @@ conversion.
 
 
 5. Upload to destination
-Not done yet.
+It's now time to share our work with the world and that's the purpose of the
+mediawiki_post.sh script.
+
+  $ ./mediawiki_post.sh "${COMMONS_CACHE}"
+
+It takes the commons cache as parameter: its file hierarchy will be replicated
+on commons. On first run, it will ask credentials for the Mediawiki account to use to
+perform the import.