diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-22 00:19:51 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-22 00:19:51 +0100 |
commit | 3539550b9169817781ecdec9e8429fbef6b57b94 (patch) | |
tree | 11b77909e3d4f3097c7b929eacbdcf338af23242 /src | |
parent | 15fd33bdd96c8ce1b0b992785cfffdf5ec5241b4 (diff) |
Reintroduce ClojureQL dependency.
Diffstat (limited to 'src')
-rw-r--r-- | src/mulk/benki/wiki.clj | 5 |
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 |