bla
This commit is contained in:
parent
70e56b824b
commit
20823077c6
4 changed files with 25 additions and 2 deletions
18
neinomat-vortraege
Executable file
18
neinomat-vortraege
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env ruby
|
||||
require 'mediawikibotchecker'
|
||||
|
||||
if ARGV.size() != 2
|
||||
$stderr.print($0 + " <wiki-user> <wiki-password>\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")
|
Reference in a new issue