]> gitweb.factorcode.org Git - factor.git/commitdiff
wikipedia: fix article link broken by last patch
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 4 Mar 2022 17:25:47 +0000 (09:25 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 4 Mar 2022 17:25:47 +0000 (09:25 -0800)
extra/wikipedia/wikipedia.factor

index bdc09a8a02579e6df0c3b7647741213709d5c963..cc7d7b2eec23d4fb2b3cc227c791723b92de6332 100644 (file)
@@ -104,7 +104,7 @@ PRIVATE>
     [ historical-get-deaths sections. ] bi ;
 
 : article. ( name -- )
-    wikipedia-url http-get nip parse-html
+    "wiki/" prepend wikipedia-url http-get nip parse-html
     "content" find-by-id-between
     html-text split-lines
     [ [ ascii:blank? ] trim ] map harvest [