aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorintrigeri <intrigeri@web>2009-08-26 21:19:55 -0400
committerJoey Hess <joey@kitenet.net>2009-08-26 21:19:55 -0400
commitdc1399fa809dc38e070a3c160b26926c27a04ddd (patch)
tree151d7351b06eaa5a22baec4532723750c5acddb9 /doc
parent70c601990b345b03ddf2406c46017da232bef8b9 (diff)
downloadikiwiki-dc1399fa809dc38e070a3c160b26926c27a04ddd.tar
ikiwiki-dc1399fa809dc38e070a3c160b26926c27a04ddd.tar.gz
initial patch proposal
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn b/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn
new file mode 100644
index 000000000..6ca9962ba
--- /dev/null
+++ b/doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn
@@ -0,0 +1,24 @@
+I've got a wiki that is built at two places:
+
+* a static copy, aimed at being viewed without any web server, using
+ a web browser's `file:///` urls => usedirs is disabled to get nice
+ and working links
+* an online copy, with usedirs enabled in order to benefit from the
+ language negotiation using the po plugin
+
+I need to use mirrorlist on the static copy, so that one can easily
+reach the online, possibly updated, pages. But as documented, "pages are
+assumed to exist in the same location under the specified url on each
+mirror", so the generated urls are wrong.
+
+My `mirrorlist` branch contains a patch that allows one to configure usedirs
+per-mirror. Note: the old configuration format is still supported, so this should
+not break existing wikis.
+
+OT: as a bonus, this branch contains a patch to support {hashes,arrays} of
+{hashes,arrays} in `$config`, which I missed a bit when writing the po plugin,
+and decided this time it was really needed to implement this feature.
+
+--[[intrigeri]]
+
+[[!tag patch]]