aboutsummaryrefslogtreecommitdiff
path: root/sources/wiki
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-24 15:33:11 +0100
committerJochen Topf <jochen@topf.org>2013-01-24 15:33:11 +0100
commit55550a88ff517d48ca6e56f720c4080fdb569ac9 (patch)
tree321e30c5f49533849cd3802641a7e86d23f79a5e /sources/wiki
parent62e3e5509f05385eb1414172c53f5be9255bc520 (diff)
downloadtaginfo-55550a88ff517d48ca6e56f720c4080fdb569ac9.tar
taginfo-55550a88ff517d48ca6e56f720c4080fdb569ac9.tar.gz
Add in_wiki and in_wiki_en columns to tags and selected_tags table
Diffstat (limited to 'sources/wiki')
-rw-r--r--sources/wiki/post.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/wiki/post.sql b/sources/wiki/post.sql
index 16d02ce..8d1fea3 100644
--- a/sources/wiki/post.sql
+++ b/sources/wiki/post.sql
@@ -23,7 +23,7 @@ CREATE INDEX relation_pages_rtype_idx ON relation_pages(rtype);
CREATE INDEX wiki_images_image_idx ON wiki_images(image);
INSERT INTO wikipages_keys (key, langs, lang_count) SELECT key, group_concat(lang || ' ' || status), count(*) FROM wikipages WHERE value IS NULL GROUP BY key;
-INSERT INTO wikipages_tags (key, value, langs, lang_count) SELECT key, value, group_concat(lang || ' ' || status), count(*) FROM wikipages WHERE value IS NOT NULL GROUP BY key, value;
+INSERT INTO wikipages_tags (key, value, langs, lang_count) SELECT key, value, group_concat(lang || ' ' || status), count(*) FROM wikipages WHERE value IS NOT NULL AND value != '*' GROUP BY key, value;
INSERT INTO wiki_languages (language, count_pages) SELECT lang, count(*) FROM wikipages GROUP BY lang;