plugin:addnewpage
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:addnewpage [2023-05-08 08:53] – 2016-12-23 release (last code updates by Sam Wilson) dregad | plugin:addnewpage [2024-02-15 21:47] (current) – Aleksandr | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : dregad@mantisbt.org | email : dregad@mantisbt.org | ||
type : syntax | type : syntax | ||
- | lastupdate : 2016-12-23 | + | lastupdate : 2023-05-10 |
- | compatible : Jack Jackrum+, Igor, Hogfather, Greebo, Frusterick Manners, Elenor of Tsort, | + | compatible : Rincewind, Angua, Adora Belle, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
tags : button, form, create | tags : button, form, create | ||
- | screenshot_img: | + | |
downloadurl: | downloadurl: | ||
bugtracker : https:// | bugtracker : https:// | ||
sourcerepo : https:// | sourcerepo : https:// | ||
+ | donationurl: | ||
+ | |||
+ | screenshot_img: | ||
---- | ---- | ||
Line 26: | Line 29: | ||
This plugin allows you to add new-page forms to wiki pages, so that users can simply enter the title of a new page and go straight to the editing form (rather than first creating a link to the page, or typing the URL directly). | This plugin allows you to add new-page forms to wiki pages, so that users can simply enter the title of a new page and go straight to the editing form (rather than first creating a link to the page, or typing the URL directly). | ||
- | The target namespace for the new page can either be selected from a drop-down list in the new-page form, or specified in the form [[#syntax|syntax]]. Only namespaces to which the user is permitted to write are shown. | + | The target namespace for the new page can either be selected from a drop-down list in the new-page form, or specified in the form [[# |
+ | |||
+ | The plugin can pair with the [[plugin: | ||
The form submit button is disabled if there is no text in the title field. | The form submit button is disabled if there is no text in the title field. | ||
Line 58: | Line 63: | ||
This is configured in the main wiki configuration manager. | This is configured in the main wiki configuration manager. | ||
If '' | If '' | ||
+ | |||
+ | ==== Creating a namespace ==== | ||
+ | |||
+ | It is possible to use the '' | ||
+ | |||
+ | {{NEWPAGE> | ||
+ | |||
+ | will create a new namespace within the //foo// namespace. | ||
+ | |||
+ | |||
+ | ==== Date/ | ||
+ | |||
+ | The plugin supports usage of [[https:// | ||
+ | |||
+ | {{NEWPAGE> | ||
+ | {{NEWPAGE> | ||
+ | |||
+ | When used together with the [[# | ||
+ | |||
+ | {{NEWPAGE> | ||
+ | |||
+ | ==== Configuration overrides ==== | ||
+ | |||
+ | It is possible to override the plugin' | ||
+ | |||
+ | General syntax: | ||
+ | |||
+ | ? | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | * overwrite the default hide setting < | ||
+ | {{NEWPAGE> | ||
+ | </ | ||
+ | * custom namespace exclusion and hide root < | ||
+ | {{NEWPAGE> | ||
+ | </ | ||
==== New-page templates ==== | ==== New-page templates ==== | ||
- | This plugin is also compatible with the [[: | + | This plugin is also compatible with the [[: |
| '' | | '' | ||
Line 89: | Line 131: | ||
You can configure the plugin in the Config Manager of DokuWiki. There are four settings: | You can configure the plugin in the Config Manager of DokuWiki. There are four settings: | ||
- | - **Excluded namespaces** — A semicolon-separated list of namespaces that should be excluded from the namespace selection list. Default: '' | + | - **Excluded namespaces** |
- | - **Show root namespace** — Whether to show the wiki's root namespace in the namespace selection list. Default: true. | + | - **Show root namespace** |
- | - **Hide namespace selection** — Hide the namespace selection list. Only applies if a namespace is given (see [[# | + | - **Hide namespace selection** |
- | - **Hide " | + | - **Hide " |
+ | - **Hide the input box** ('' | ||
+ | |||
=====FAQ===== | =====FAQ===== | ||
+ | |||
+ | === Why is a privileged user not allowed to add pages? === | ||
+ | |||
+ | Logged in as administrator, | ||
+ | |||
+ | > This is a [[https:// | ||
+ | |||
=== Addnewpage form on the admin page? === | === Addnewpage form on the admin page? === |
plugin/addnewpage.1683528839.txt.gz · Last modified: 2023-05-08 08:53 by dregad