1 [[!meta date="2007-07-02 13:21:29 +0000"]]
7 I've just switched from ikiwiki 2.0 to ikiwiki 2.2 and I'm really surprised
8 that I can't use the spaces in WikiLinks. Could you please tell me why the spaces
9 aren't allowed in WikiLinks now?
15 > See [[bugs/Spaces_in_link_text_for_ikiwiki_links]]
19 # Build in OpenSolaris?
21 Moved to [[bugs/build_in_opensolaris]] --[[Joey]]
25 # Various ways to use Subversion with ikiwiki
27 I'm playing around with various ways that I can use subversion with ikiwiki.
29 * Is it possible to have ikiwiki point to a subversion repository which is on a different server? The basic checkin/checkout functionality seems to work but there doesn't seem to be any way to make the post-commit hook work for a non-local server?
31 > This is difficult to do since ikiwiki's post-commit wrapper expects to
32 > run on a machine that contains both the svn repository and the .ikiwiki
33 > state directory. However, with recent versions of ikiwiki, you can get
34 > away without running the post-commit wrapper on commit, and all you lose
35 > is the ability to send commit notification emails.
37 > (And now that [[recentchanges]] includes rss, you can just subscribe to
38 > that, no need to worry about commit notification emails anymore.)
40 * Is it possible / sensible to have ikiwiki share a subversion repository with other data (either completely unrelated files or another ikiwiki instance)? This works in part but again the post-commit hook seems problematic.
44 > Sure, see ikiwiki's subversion repository for example of non-wiki files
45 > in the same repo. If you have two wikis in one repository, you will need
46 > to write a post-commit script that calls the post-commit wrappers for each
51 # Regex for Valid Characters in Filenames
53 I'm sure that this is documented somewhere but I've ransacked the wiki and I can't find it. :-( What are the allowed characters in an ikiwiki page name? I'm writing a simple script to make updating my blog easier and need to filter invalid characters (so far I've found that # and , aren't allowed ;-)). Thanks for any pointers. -- [[AdamShand]]
55 > The default `wiki_file_regexp` matches filenames containing only
58 > The titlepage() function will convert freeform text to a valid
59 > page name. See [[todo/should_use_a_standard_encoding_for_utf_chars_in_filenames]]
60 > for an example. --[[Joey]]
64 >> In the end I decided that I didn't need any special characters in filenames and replaced everything but alphanumeric characters with underscores. In addition to replacing bad characters I also collapse multiple underscores into a single one, and strip off trailing and leading underscores to make tidy filenames. If it's useful to anybody else here's a sed example:
66 >> # echo "++ Bad: ~@#$%^&*()_=}{[];,? Iki: +_-:./ Num: 65.5 ++" | sed -e 's/[^A-Za-z0-9_]/_/g' -e 's/__*/_/g' -e 's/^_//g' -e 's/_$//g'
71 # Upgrade steps from RecentChanges CGI to static page?
73 Where are the upgrade steps for RecentChanges change from CGI to static feed?
74 I run multiple ikiwiki-powered sites on multiple servers, but today I just upgraded one to 2.32.3.
76 <http://bsdwiki.reedmedia.net/wiki/recentchanges.html>
79 > There are no upgrade steps required. It does look like you need to enable
80 > the meta plugin to get a good recentchanges page though.. --[[Joey]]
82 # News site where articles are submitted and then reviewed before posting?
84 I am considering moving a news site to Ikiwiki. I am hoping that Ikiwiki has a feature where anonymous posters can submit a form that moderators can review and then accept for it to be posted on a news webpage (like front page of the website).
86 > Well, you can have one blog that contains unreviewed articles, and
87 > moderators can then add a tag that makes the article show up in the main
88 > news feed. There's nothing stopping someone submitting an article
89 > pre-tagged though. If you absolutely need to lock that down, you could
90 > have one blog with unreviewed articles in one subdirectory, and reviewers
91 > then move the file over to another subdirectory when they're ready to
92 > publish it. (This second subdirectory would be locked to prevent others
93 > from writing to it.) --[[Joey]]
95 Also it would be good if the news page would keep maybe just the latest 10 entries with links to an archive that make it easy to browse to old entries by date. (Could have over a thousand news articles.)
97 > The inline plugin allows setting up things like this.
99 Plus users be able to post feedback to news items. If anonymous, they must be approved first. I'd prefer to not use normal "wiki" editor for feedback.
101 Any thoughts or examples on this? Any links to examples of news sites or blogs with outside feedback using ikiwiki?
103 Thanks --[[JeremyReed]]