Skip to content

tfmorris/pattypan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Tool that simplifies Wikimedia Commons batch file uploading for GLAM institution volunteers and employees. Created thanks to Wikimedia Foundation IEG Grant.

For more information on usage, see Commons:Pattypan.

⬇️ Download


Build and run

Apache Ant is used for building Pattypan. You need to have JDK 11 or later installed as well as a download of OpenJFX for each platform you want to support. In order to download and build source code, do the following:

git clone https://github.com/yarl/pattypan.git
cd pattypan
ant

This will run the default build target. It assumes that the current directory contains the OpenJFX SDK ZIP(s) and will unpack the required files to the correct locations. The resulting JAR will support Linux, Windows or both. The ZIPs present dictates what platforms will be supported. Note that the ZIPs should have their default name to be included.

A temporary directory will be used during the build process and removed afterwards. It's default path is tmp/ and can be set using ant -Dtmp=...

You can also set test server or any other server:

java -jar pattypan.jar wiki="test.wikipedia.org"
java -jar pattypan.jar wiki="test2.wikipedia.org" protocol="https://" scriptPath="/w"

Please note, that on test server file upload may be disabled for regular users. Admin account is suggested, you can request rights here. If you have problems with program running, check article on project wiki.

License

Copyright (c) 2016 Paweł Marynowski.

Source code is available under the MIT License. See the LICENSE file for more info. Program is using external libraries listed here.

Credits

Name by Wojciech Pędzich. Logo by Rickterto, licensed under the Creative Commons BY-SA 4.0 license.

About

Upload files to Wikimedia Commons. The Spreadsheet Way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.9%
  • CSS 1.1%