{"id":318,"date":"2006-02-19T11:28:45","date_gmt":"2006-02-19T17:28:45","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=318"},"modified":"2006-02-19T11:28:45","modified_gmt":"2006-02-19T17:28:45","slug":"choosing-a-wiki","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/318","title":{"rendered":"Choosing a wiki"},"content":{"rendered":"<p>I am setting up a wiki at work.  These are our requirements:<\/p>\n<ul>\n<li>File based storage&#8211;so I don&#8217;t have to deal with installing a database on the wiki server\n<li>Authentication of some kind&#8211;so that we can know who made changes to what document\n<li>Versioning&#8211;so we can roll back changes if need be.\n<li>PHP based&#8211;our website already runs php and I don&#8217;t want to deal with alternate technologies if I don&#8217;t have to.\n<li>Handles binary uploads&#8211;in case someone had a legacy doc they wanted to share.\n<li>Publish to PDF&#8211;so we can use this wiki for more formal documents.  We won&#8217;t publish the entire site, but being able to do this on a per document basis is required.\n<\/ul>\n<p>I see this wiki both as a repository for company muscle memory (technical decisions, R&amp;D results) and a place for more formal documents (requirements) that might be published to PDF.  Basically, I&#8217;m trying to get rid of .doc files as a technical document format.  I read about this on some XP mailing lists of which I used to be a part and am interested to see how effective it might be.<\/p>\n<p>I started with <a href='http:\/\/phpwiki.sf.net'>PHPWiki<\/a> but its support for PDF was lacking.  (At least, I couldn&#8217;t figure it out, even though <a href='http:\/\/phpwiki.sourceforge.net\/phpwiki\/PhpWikiToDocBookAndPDF'>it was documented<\/a>.)<\/p>\n<p>After following the <a href='http:\/\/www.wikimatrix.org\/wizard.php'>wizard process<\/a> at <a href='http:\/\/www.wikimatrix.org'>WikiMatrix<\/a> (similar to <a href='http:\/\/www.cmsmatrix.org'>CMSMatrix<\/a>, which I&#8217;ve <a href='http:\/\/www.mooreds.com\/weblog\/archives\/000252.html'>touched on before<\/a>), I found <a href='http:\/\/pmwiki.org\/'>PmWiki<\/a>, which has support for all of our requirements.  It also seems to have a nice extensible architecture.  <\/p>\n<p>Installation was a snap and after monkeying around with authentication and PDF installation (documented <a href='http:\/\/pmwiki.org\/wiki\/Cookbook\/PmWiki2PDF'>here<\/a>), I&#8217;ve added the following lines to my <code>local\/config.php<\/code>:<\/p>\n<div>\n<pre><code>include_once('cookbook\/pmwiki2pdf\/pmwiki2pdf.php');\n$EnablePostAuthorRequired = 1;\n$EnableUpload = 1;\n$UploadDir = \"\/path\/to\/wiki\/uploads\";\n$UploadUrlFmt = \"http:\/\/www.myco.com\/wiki\/uploads\";\n$UploadMaxSize = 100000000; \/\/ 100M<\/code>\n<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I am setting up a wiki at work. These are our requirements: File based storage&#8211;so I don&#8217;t have to deal with installing a database on the wiki server Authentication of [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":0,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}