diff --git a/die-ewigen-neinomaten b/die-ewigen-neinomaten new file mode 100755 index 0000000..2b0845d --- /dev/null +++ b/die-ewigen-neinomaten @@ -0,0 +1,5 @@ +#!/bin/sh +./neinomat-vortraege $* +./neinomat-projekte $* +./neinomat-radio-chaotica $* +./neinomat-termine $* diff --git a/mediawikibot.rb b/mediawikibot.rb index b0bb949..b8c74d3 100755 --- a/mediawikibot.rb +++ b/mediawikibot.rb @@ -186,7 +186,7 @@ class WikiBot articles = [] - category_page = @client.get_content(@wiki + category) + category_page = @client.get_content(@wiki + url_encode(category)) category_page.scan(/
  • \n") + exit(1) +end + +#---------------------------------------------------------------------------- + +b = WikiChecker.new("http://www.entropia.de/wiki/") +b.login(ARGV[0], ARGV[1]) + +page = "Übersicht über Vorträge" +category = "Kategorie:Vorträge" +body = b.category_checker(page, category) + +b.edit("Benutzer:Neinomat/#{page}", body, "wiki ex machina")