]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/forum/Error:_bad_page_name.mdwn
response
[ikiwiki.git] / doc / forum / Error:_bad_page_name.mdwn
index a16decedb4765c13024a3831e92c1ebd0bb12a70..401815f7cd2bb742ce09d33a7a93402b5d514f9f 100644 (file)
@@ -19,3 +19,21 @@ What am I doing wrong? The wiki is at
 > * Check if something is breaking pruning of disallowed files:
 >   `perl -le 'use IkiWiki; %config=IkiWiki::defaultconfig(); print ! IkiWiki::file_pruned("index")'`
 > --[[Joey]] 
+
+>>Both seem to run fine:
+
+    onderka@atrey:~$ perl -le 'print int "index"=~/^([-[:alnum:]+\/.:_]+)$/'
+    1
+    onderka@atrey:~$ perl -le 'use IkiWiki; %config=IkiWiki::defaultconfig(); print ! IkiWiki::file_pruned("index")'
+    1
+
+>>> Try installing this [instrumented
+>>> version](http://kitenet.net/~joey/tmp/editpage.pm) of
+>>> `IkiWiki/Plugin/editpage.pm`, which will add some debugging info
+>>> to the error message. --[[Joey]] 
+
+>>>>When I tried to `make` ikiwiki with this file, I got the error
+
+    ../IkiWiki/Plugin/editpage.pm:101: invalid variable interpolation at "$"
+
+>>>>> Sorry about that, I've corrected the above file. --[[Joey]]