I'm new to ikiwiki and trying to setup my pages with Discussion enabled and blogging capabilities too. I copied many of the files from the ikiwiki blog site example, and tried to match that setup, but the Discussion button on the action nav bar still looks like [?]Discussion instead of [Discussion].
In the Setup, I have Discussion enabled. Here are the relevant (I think) lines from ikiwiki.setup.
discussion: 1
discussionpage: Discussion
html5: 0
htmlscrubber_skip: '!*/Discussion' # Should this have '!*/posts' too for comments?
locked_pages: '* and !postcomment(*) and !*/Discussion'
comments_pagespec: posts/* and !*/Discussion
comments_closed_pagespec: ''
comments_pagename: comment_
comments_allowdirectives: 0
comments_allowauthor: 0
comments_commit: 1
Calendar is disabled for now.
Any suggestions what I might be doing wrong?
I created a NewPage link on my main page. Then I tried to start a discussion page on that page. That seemed to work, putting the discussion in NewPage/Discussion, but on NewPage I still see [?]Discussion. More surprising when I click on that, I go to my main page's discussion instead.
The weird behavior will go away if you just rename
Discussion.mdwn
toindex/discussion.mdwn
That ikiwiki does not pick that filename by default must be a bug. Opened a bug here: http://ikiwiki.info/bugs/wrong_discussion_page_created/
The ikiwiki bug has been fixed.
I've gone in and renamed the discussion pages on your site.
I've also scanned Branchable for other sites affected by the same problem, and fixed them.
The setup GUI and ikiwiki.setup still have Discussion in several places. I can't see the video on my index/discussion.mdwn page now. Perhaps htmlscrubber isn't configured correctly.
Should "name of Discussion pages" be "discussion" or "discussion.mdwn".? Should "PageSpec specifying pages not to scrub be: "!/discussion" or "!/discussion.mdwn"? How about "PageSpec controlling which pages are locked"? Also, what should "PageSpec of pages where comments are allowed"? I have "posts/ and !/discussion" now. For calendar, I have "page(posts/) and !/discussion". Is that correct? Why is page() used here, but not above?
Your site is configured correctly.
You seem to have deleted the page. The htmlscrubber allows the html5 video tag, but blocks unsafe merthods used to embed flash.
The page's name is discussion; the filename is discussion.mdwn.
The former; page names are always used in PageSpecs, not filenames.
Seems ok.
Because you don't want non-page files to be displayed in the calendar.