#!/usr/bin/env ruby require 'mediawikibotchecker' if ARGV.size() != 2 $stderr.print($0 + " \n") exit(1) end #---------------------------------------------------------------------------- b = WikiChecker.new("http://www.entropia.de/wiki/") b.login(ARGV[0], ARGV[1]) page = "Projekte" category = "Category:Projekte" body = b.category_checker(page, category) b.edit("Benutzer:Neinomat/#{page}", body, "wiki ex machina")