Sha256: cbda043803a484a657b560a08fc0ec131841ba511b83a8cf5588fa48ab1ab11e
Contents?: true
Size: 279 Bytes
Versions: 8
Compression:
Stored size: 279 Bytes
Contents
#!/usr/bin/env ruby # # Export MediaWiki pages as XML # require './lib/media_wiki' if ARGV.length < 3 raise "Syntax: export_xml.rb <host> <user> <password> [page page page...]" end mw = MediaWiki::Gateway.new(ARGV[0]) mw.login(ARGV[1], ARGV[2]) print mw.export(ARGV[3..-1])
Version data entries
8 entries across 8 versions & 1 rubygems