|
|
|
@ -15,7 +15,6 @@ end
|
|
|
|
|
|
|
|
|
|
def check_page_against_category (page, category)
|
|
|
|
|
body = "== #{page} ==\n\n"
|
|
|
|
|
body += "[[Category:FIXME]]\n\n"
|
|
|
|
|
body += "Unter [[#{page}]] fehlen folgende Artikel aus [[:#{category}]]:\n\n"
|
|
|
|
|
|
|
|
|
|
count = 0
|
|
|
|
@ -32,6 +31,9 @@ def check_page_against_category (page, category)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
body += "\n#{count} Artikel.\n"
|
|
|
|
|
if count > 0
|
|
|
|
|
body += "[[Category:FIXME]]\n\n"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
a = @wiki.article(@putwhere + page)
|
|
|
|
|
a.text = body
|
|
|
|
|