script/upload_commons.rb in mediawiki-gateway-0.4.3 vs script/upload_commons.rb in mediawiki-gateway-0.4.4
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
#
# Sample script for uploading files to Mediawiki Commons (interactive)
-require 'lib/media_wiki'
+require './lib/media_wiki'
config = MediaWiki::Config.new(ARGV, "upload")
file = ARGV[0]
config.abort("Name of file to upload is mandatory.") unless file