neingeist
/
neinomaten
Archived
1
0
Fork 0
master
neingeist 19 years ago
parent bd0475ad05
commit 15cebff263

@ -171,8 +171,7 @@ class WikiBot
fields_string = get_raw(title).scan(template_re)[0][0] fields_string = get_raw(title).scan(template_re)[0][0]
fields_string.split(/\|/).each do |field| fields_string.split(/\|/).each do |field|
x = field.split(/=/) (key, value) = field.split(/=/)
key = x[0]; value = x[1]
fields[key] = value fields[key] = value
end end
@ -194,5 +193,6 @@ class WikiBot
return articles return articles
end end
end end # class WikiBot
end
end # module MediaWikiBot