diff options
author | intrigeri <intrigeri@boum.org> | 2009-08-27 19:56:37 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-08-27 19:56:37 +0200 |
commit | 0c032b0ccb3766c422980a0e956dacbe44cfa021 (patch) | |
tree | 3f7d5d2821fee7f336bdabfa56e71f7048e77569 /doc/todo | |
parent | 496e8523c6706d096f1b794e3f3ba5dd2fa260f3 (diff) | |
parent | 5e515b493c00c70095aeb8bad1e0b7757ed943db (diff) |
Merge commit 'upstream/master' into prv/po
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/mirrorlist_with_per-mirror_usedirs_settings.mdwn | 24 | ||||
-rw-r--r-- | doc/todo/tmplvars_plugin/discussion.mdwn | 1 |
2 files changed, 25 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]] diff --git a/doc/todo/tmplvars_plugin/discussion.mdwn b/doc/todo/tmplvars_plugin/discussion.mdwn new file mode 100644 index 000000000..93cb9b414 --- /dev/null +++ b/doc/todo/tmplvars_plugin/discussion.mdwn @@ -0,0 +1 @@ +I find this plugin quite usefull. But one thing, I would like to be able to do is set a tmplvar e.g. in a sidebar so that it affects all Pages this sidebar is used in. --martin |