Skip to content

Instantly share code, notes, and snippets.

@spaeps
spaeps / vector-sitenotice-translation.patch
Created May 7, 2012 21:36
Add translate support to wiki:site_notice for the vector dokuwiki template
diff -aur vector/conf/default.php vector.patched/conf/default.php
--- vector/conf/default.php 2011-12-10 18:15:53.000000000 +0100
+++ vector.patched/conf/default.php 2012-05-07 19:15:39.162547220 +0200
@@ -42,8 +42,9 @@
$conf["vector_discuss_ns"] = ":talk:"; //namespace to use for discussion page storage
//site notice
-$conf["vector_sitenotice"] = true; //TRUE: use/show sitenotice
-$conf["vector_sitenotice_location"] = ":wiki:site_notice"; //page/article used to store the sitenotice
+$conf["vector_sitenotice"] = true; //TRUE: use/show sitenotice