From 20823077c606ddfa657de42971c576719f559817 Mon Sep 17 00:00:00 2001 From: neingeist Date: Fri, 30 Sep 2005 15:55:31 +0000 Subject: [PATCH] bla --- die-ewigen-neinomaten | 5 +++++ mediawikibot.rb | 2 +- mediawikibotchecker.rb | 2 +- neinomat-vortraege | 18 ++++++++++++++++++ 4 files changed, 25 insertions(+), 2 deletions(-) create mode 100755 die-ewigen-neinomaten create mode 100755 neinomat-vortraege 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")