plugin:addnewpage
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:addnewpage [2020-10-15 08:30] – old revision restored (2019-10-25 10:19) saggi | plugin:addnewpage [2024-02-15 21:47] (current) – Aleksandr | ||
---|---|---|---|
Line 3: | Line 3: | ||
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
- | author | + | author |
- | email : | + | email : dregad@mantisbt.org |
type : syntax | type : syntax | ||
- | lastupdate : 2015-11-02 | + | lastupdate : 2023-05-10 |
- | compatible : 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: | ||
- | bugtracker : https:// | ||
- | sourcerepo : https:// | ||
+ | downloadurl: | ||
+ | bugtracker : https:// | ||
+ | sourcerepo : https:// | ||
+ | donationurl: | ||
+ | |||
+ | screenshot_img: | ||
---- | ---- | ||
Line 27: | 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 41: | Line 45: | ||
| {{: | | {{: | ||
| {{http:// | | {{http:// | ||
- | |||
- | |||
- | ==== Sites using this plugin ==== | ||
- | |||
Line 63: | 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 94: | 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===== | ||
- | ===Addnewpage form on the admin page?=== | + | |
+ | === Why is a privileged user not allowed to add pages? === | ||
+ | |||
+ | Logged in as administrator, | ||
+ | |||
+ | > This is a [[https:// | ||
+ | |||
+ | |||
+ | === Addnewpage form on the admin page? === | ||
Is there a possibility to add the plugin as a part of the admin page, like the plugins pagemove or upgrade? | Is there a possibility to add the plugin as a part of the admin page, like the plugins pagemove or upgrade? | ||
> Not currently, but this can be done by modifying your template and including the addnewpage form only when '' | > Not currently, but this can be done by modifying your template and including the addnewpage form only when '' | ||
- | ===More than one form per page?=== | + | === More than one form per page? === |
Is it possible to have more than one new-page form on a page? | Is it possible to have more than one new-page form on a page? | ||
- | >Yes. Nothing special needs to be done to permit this, just add the markup wherever you want the forms to appear. | + | > Yes. Nothing special needs to be done to permit this, just add the markup wherever you want the forms to appear. |
- | ===Can the textbox be pre-populated with a value? Specifically, | + | === Can the textbox be pre-populated with a value? Specifically, |
+ | |||
+ | === How can a add_page form add in the site template automaticaly? | ||
- | ===How can a add_page form add in the site template automaticaly? | ||
===== Development ===== | ===== Development ===== | ||
- | ====Issues and feature requests==== | ||
- | Please report all bugs and feature requests through the [[https:// | ||
- | ====Changelog==== | + | ==== Issues and feature requests |
- | The ten most recent changes: | + | Please report all bugs and feature requests through the |
- | {{rss>https:// | + | [[https:// |
- | A full list can be [[https:// | + | Items of general interest should |
- | This plugin is based on the '//old addnewpage//' | ||
- | Changes from before | + | ==== Releases ==== |
+ | |||
+ | {{rss> | ||
+ | |||
+ | The complete [[https:// | ||
+ | |||
+ | |||
+ | === Recent commits === | ||
+ | |||
+ | {{rss> | ||
+ | |||
+ | Full [[https:// | ||
+ | |||
+ | |||
+ | ==== Legacy releases ==== | ||
+ | |||
+ | === Before | ||
* 2008-01-10: New zip file with some correction (the submit bug in IE, the namespace " | * 2008-01-10: New zip file with some correction (the submit bug in IE, the namespace " | ||
Line 138: | Line 200: | ||
* 2006-12-20: New Release, old version [used to be] at '' | * 2006-12-20: New Release, old version [used to be] at '' | ||
- | And from when this plugin was '' | + | === When this plugin was ' |
* 2006-11-14: Fixed: bug with new dokuwiki version. | * 2006-11-14: Fixed: bug with new dokuwiki version. | ||
* 2006-07-05: Fixed: Zip file is now ok. Added: Russian language file. | * 2006-07-05: Fixed: Zip file is now ok. Added: Russian language file. | ||
* 2006-06-20 : Fixed: Problem with the empty select box, Added: Multilanguage Support; Root Namespace (see Kibi's comment); The selected line is now the same as the current namespace (see Kibi's comment); | * 2006-06-20 : Fixed: Problem with the empty select box, Added: Multilanguage Support; Root Namespace (see Kibi's comment); The selected line is now the same as the current namespace (see Kibi's comment); | ||
+ | |||
+ | |||
+ | ===== History / Credits ===== | ||
+ | |||
+ | The plugin was [[plugin: | ||
+ | It was forked after the 2009-02-14 release of Dokuwiki, and moved to GitHub by [[https:// | ||
+ | Refer to the [[# | ||
+ | |||
+ | In 2013, [[https:// | ||
+ | |||
+ | * Michael Braun | ||
+ | * Róbert Toth (FurloSK) | ||
+ | * Gerrit Uitslag ([[user> | ||
+ | * Albert Chern, disabling of restricted parent namespaces in 2015 | ||
+ | |||
+ | In May 2023, Damien Regad decided to take over the plugin' | ||
+ | |||
+ | Thanks to [[https:// | ||
+ | |||
plugin/addnewpage.1602743449.txt.gz · Last modified: 2020-10-15 08:30 by saggi