aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/contrib/newpage.mdwn
blob: 54c2f53d03751b8f00b5a308e8edda0287ec9c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[[!template id=plugin name=newpage author="[[rubykat]]"]]
[[!tag type/web]]
[[!toc]]
## NAME

IkiWiki::Plugin::newpage - add a "create new page" form to actions

## SYNOPSIS

    # activate the plugin
    add_plugins => [qw{goodstuff newpage ....}],

## DESCRIPTION

This plugin adds a new action to the "ACTIONS" section of a page;
a button labelled "create" and an input field next to it.

The common way of creating a new page is to edit a different page
and add a link to the new page.  However, there are some situations
where that is a nuisance; for example, where pages are listed using
a [[plugins/map]] directive.  The newpage plugin enables
one to simply type the name of the new page, click the "create" button,
and one is then taken to the standard IkiWiki create-page form.

## DOWNLOAD

* browse at GitHub: <http://github.com/rubykat/ikiplugins/blob/master/IkiWiki/Plugin/newpage.pm>
* git repo at git://github.com/rubykat/ikiplugins.git