=== added file 'IkiWiki/Plugin/create.pm'
--- /dev/null	
+++ IkiWiki/Plugin/create.pm	
@@ -0,0 +1,29 @@
+#!/usr/bin/perl
+# Add a form to create a page.
+package IkiWiki::Plugin::create;
+
+use warnings;
+use strict;
+use IkiWiki;
+
+sub import { #{{{
+	IkiWiki::hook(type => "preprocess", id => "create", 
+		call => \&preprocess_create);
+} # }}}
+
+sub preprocess_create (@) { #{{{
+	my %params=@_;
+	
+	my $ret="";
+	
+	if ($IkiWiki::config{cgiurl}) {
+		my $formtemplate=IkiWiki::template("createpage.tmpl", blind_cache => 1);
+		$formtemplate->param(cgiurl => $IkiWiki::config{cgiurl});
+		$formtemplate->param(currentpage => $params{page});
+		$ret.=$formtemplate->output;
+	}
+	
+	return $ret;
+} #}}}
+
+1

=== added file 'doc/plugins/create.mdwn'
--- /dev/null	
+++ doc/plugins/create.mdwn	
@@ -0,0 +1,13 @@
+[[template id=plugin name=create included=1 author="[[JamesWestby]]"]]
+
+This is a [[PreProcessorDirective]] that adds a form to create a page.
+Simply add 
+
+	\[[create ]]
+
+to a page, and it will be replaced by a form.
+
+If the plugin is turned on you will see one below.
+
+[[create ]]
+

=== added file 'templates/createpage.tmpl'
--- /dev/null	
+++ templates/createpage.tmpl	
@@ -0,0 +1,8 @@
+<form action="<TMPL_VAR CGIURL>" method="get">
+<div id="createform">
+<input type="hidden" name="do" value="create" />
+<input type="hidden" name="from" value="<TMPL_VAR CURRENTPAGE>" />
+Add a new page titled: <input name="page" size="40" />
+<input type="submit" value="Create" />
+</div>
+</form>

=== modified file 'basewiki/style.css'
--- basewiki/style.css	
+++ basewiki/style.css	
@@ -194,3 +194,11 @@
 li.L8 {
 	list-style: upper-alpha;
 }
+
+#createform {
+	padding: 10px 10px;
+	border: 1px solid #aaa;
+	background: #eee;
+	color: black !important;
+}
+

