neingeist
/
neinomaten
Archived
1
0
Fork 0

MediaWiki 1.3.x really needs "wpLoginattempt"

master
neingeist 19 years ago
parent d5667e904b
commit 8ea9c02a37

@ -60,7 +60,8 @@ class WikiBot
post_form(url_submitlogin(), post_form(url_submitlogin(),
{ "wpName" => wiki_name, { "wpName" => wiki_name,
"wpPassword" => wiki_password }) "wpPassword" => wiki_password,
"wpLoginattempt" => "" })
end end
def is_redirect? (title) def is_redirect? (title)

@ -24,7 +24,7 @@ def get_events()
return events return events
end end
body = "Folgende Termine stammen von http://upcoming.org:\n\n" body = "Folgende Termine stammen von #{$ical_url}:\n\n"
get_events().each do |event| get_events().each do |event|
body += "* #{event.dtstart.mday}.#{event.dtstart.month}. #{event.summary}\n" body += "* #{event.dtstart.mday}.#{event.dtstart.month}. #{event.summary}\n"
end end