Matt;
file sets? do you want to convert them to articles? Or, do you want to make them available as attachments? I assume you are creating articles. I have a need for the latter - taking external (non-mediawiki) content and programmatically importing into our MW db. I'd also like the ability to add content submitted via email. My thought is to massage the external content into the XML format output by the export command and wrap that with a simple HTTP request driver class/interface to feed the existing import function/class. Has anyone else done something similar? If not I will tread the uncharted waters and submit my findings.
Thanks, Maurice Joseph SpikeSource, Inc. developer.spikesource.com
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.
Thanks for any help! -Matt
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org