neingeist
/
neinomaten
Archived
1
0
Fork 0

Fix article URLs

master
neingeist 18 years ago
parent 8b49dcb9bc
commit 19ba3a7578

@ -136,8 +136,8 @@ episodes = []
if erste_sendung = parse_template(page, template)["erste_sendung"] if erste_sendung = parse_template(page, template)["erste_sendung"]
episode = { episode = {
"title" => page, "title" => page,
"url" => @wiki.article_url(page), "url" => @wiki.full_article_url(page),
"discussion" => @wiki.article_url("Diskussion:#{page}"), "discussion" => @wiki.full_article_url("Diskussion:#{page}"),
"enclosure_url" => parse_template(page, template)["download"], "enclosure_url" => parse_template(page, template)["download"],
"date" => Date.today(), # fallback "date" => Date.today(), # fallback
} }