You might want to have a look at the java classes I wrote for mediawiki interaction, somewhat documented at http://katlas.math.toronto.edu/wiki/WikiLink
If you look at the .java file, you'll see functions for performing a login (no ssl support, however), and and uploading files, amongst other things. If you dig into the jar file, you'll find an (untested) command line interface to the java class.
Perhaps you can make use of it. If it's not useful in it's present form, I'd love any feedback; one day I'll do some more work on it. Even better, if you make any changes yourself, the code lives in an SVN repository at http://katlas.math.toronto.edu/svn/WikiLink, and I'd be happy to give anyone commit access.
Scott
Hello,
On numerous occasions, myself or one of my sw developers ends up downloading massive file sets from our Subversion repositories in order to upload them to MediaWiki. (Some might question the sanity of this--I've been burned enough by repository destruction in various source-code-management databases to learn that we always take broad tarball "snapshots" at every major software release.)
This is major drain on time and bandwidth...
...but it need not be that way if we can figure out how to get local files from the remote server (hosted via a dedicated hosting servers) to the MediaWiki running on that server, all from the command line. (I suppose one could X11/XWindows GUIs across the internet...but that seems rather cumbersome and in many cases impractical...not to mention I have to go load up all the X11 stuff on my server...ugh.)
I'm wondering if others have suggestions to use the MW UploadFile mechanisms via a command-line interface, maybe like Lynx (if it's still around) or something similar. I'm looking for specific command-line examples if at all possible.
Also note that my MW server is a https-based one, hence I need to be able to provide username and password for SSL over the command line as well.
mediawiki-l@lists.wikimedia.org