summaryrefslogtreecommitdiff
path: root/doc/bugs/page_is_not_rebuilt_if_it_changes_extension.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-22 13:17:04 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-22 13:17:04 -0400
commita759a864f37925e6788980ac53bd8f7c69172635 (patch)
tree1c6f09028c12d9d9e79fe0a66a1c553c764419fd /doc/bugs/page_is_not_rebuilt_if_it_changes_extension.mdwn
parent80f95cc598ed4803927662edbab113b64da28518 (diff)
parent3ac17b8328ed005406d5d4018a46e05c80a819f3 (diff)
Merge commit 'origin/master' into tova
Diffstat (limited to 'doc/bugs/page_is_not_rebuilt_if_it_changes_extension.mdwn')
-rw-r--r--doc/bugs/page_is_not_rebuilt_if_it_changes_extension.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/bugs/page_is_not_rebuilt_if_it_changes_extension.mdwn b/doc/bugs/page_is_not_rebuilt_if_it_changes_extension.mdwn
new file mode 100644
index 000000000..d5719744e
--- /dev/null
+++ b/doc/bugs/page_is_not_rebuilt_if_it_changes_extension.mdwn
@@ -0,0 +1,20 @@
+Suppose a wiki has a source page a.mdwn, which is then moved to a.wiki.
+(Suppose both the mdwn and wikitext plugins are enabled, so this changes how "a" is rendered.)
+Currently, when the wiki is refreshed, ikiwiki doesn't notice the change
+and the page is not rebuilt.
+
+I have a [[patch]] that fixes this.
+The relevant commit on [my Github fork of ikiwiki](http://github.com/gmcmanus/ikiwiki/) is:
+
+ b6a3b8a683fed7a7f6d77a5b3f2dfbd14c849843
+
+The patch (ab)uses`%forcerebuild`, which is meant for use by plugins.
+If, for some reason, a plugin deletes the page's entry in `%forcerebuild`, it won't be rebuilt.
+
+This patch uncovers another problem.
+Suppose a wiki has a source page "a" (no extension)
+which is then moved to "a.mdwn" (or vice versa).
+ikiwiki fails when trying to create a directory "a" where there is a file "a"
+(or vice versa).
+
+The same problem occurs if both "a" and "a.mdwn" exist in the wiki.