summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-22 00:19:51 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-02-22 00:19:51 +0100
commit3539550b9169817781ecdec9e8429fbef6b57b94 (patch)
tree11b77909e3d4f3097c7b929eacbdcf338af23242 /src
parent15fd33bdd96c8ce1b0b992785cfffdf5ec5241b4 (diff)
Reintroduce ClojureQL dependency.
Diffstat (limited to 'src')
-rw-r--r--src/mulk/benki/wiki.clj5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mulk/benki/wiki.clj b/src/mulk/benki/wiki.clj
index 3d7cbcf..7a64001 100644
--- a/src/mulk/benki/wiki.clj
+++ b/src/mulk/benki/wiki.clj
@@ -6,6 +6,7 @@
[mulk.benki util db]
[clojure.core.match
:only [match]]
+ [clojureql core predicates]
noir.core)
(:require [noir.session :as session]
[noir.response :as response]
@@ -13,6 +14,10 @@
(:import [org.jsoup.Jsoup]))
+(def page_revisions (table :wiki_page_revisions))
+(def pages (table :wiki_pages))
+
+
(defn- html-insert-wikilinks [text]
(clojure.string/replace
text