From d7f5e96748c717a3976c802c1ddb878e3e66c13a Mon Sep 17 00:00:00 2001 From: neingeist Date: Sat, 24 Jun 2006 18:21:44 +0000 Subject: [PATCH] auch nach stadtwiki-links gucken --- neinomat-interwiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neinomat-interwiki b/neinomat-interwiki index 433d227..5171fef 100755 --- a/neinomat-interwiki +++ b/neinomat-interwiki @@ -9,7 +9,7 @@ require 'mediawiki/dotfile' @wiki.allpages.each do |title| MediaWiki::logger.debug("Checking #{title}") text = @wiki.article(title).text - s = text.scan(/^.*wikipedia.org.*$/s) + s = text.scan(/^.*(?:wikipedia.org|ka.stadtwiki.net).*$/s) if s != [] @body += "* [[#{title}]]\n" s.each do |m|