Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | 30-Apr-2025 | - | ||||
conf/ | H | 15-Feb-2022 | - | 8 | 6 | |
images/ | H | 15-Feb-2022 | - | |||
lang/en/ | H | 15-Feb-2022 | - | 12 | 11 | |
README | H A D | 14-Feb-2022 | 1.9 KiB | 40 | 26 | |
action.php | H A D | 14-Feb-2022 | 9.5 KiB | 317 | 222 | |
plugin.info.txt | H A D | 14-Feb-2022 | 219 | 9 | 7 | |
script.js | H A D | 14-Feb-2022 | 1.1 KiB | 30 | 26 | |
style.css | H A D | 14-Feb-2022 | 559 | 27 | 26 | |
syntax.php | H A D | 14-Feb-2022 | 6.2 KiB | 151 | 126 | |
version | H A D | 14-Feb-2022 | 24 | 3 | 1 |
README
1 This plugin facilitates renaming (i.e. moving) pages, saving as (i.e. saving a page 2 under a new name without deleting the original) and creating new pages from templates. 3 4 There are three syntax formats: 5 6 ~~SaveAS>newname~~ 7 ~~MoveTO>newname~~' 8 ~~OpenAS>newname#template>newpagevars~~ 9 10 newname can be a namespace:pagename 11 12 The SaveAS form will create a new page from the old page but leave the old page in tact. 13 14 The MoveTO form will create a new page from the old page and delete the old page. However, 15 it will not delete the old page unless it is certain that the new page is in place, so that 16 there is no danger of losing the old page. 17 18 In this version all backlinks to the page being moved are updated to the page id of the new page. 19 20 The plugin takes into consideration page locking. So, if a page with backlinks is currently in use, 21 it is not updated until the user with the lock exits the page. The original page remains in place until 22 all of the pages with backlinks have been updated. Once all backlinks have been updated, 23 he original page is removed. 24 25 The OpenAS form requires the newpagetemplate plugin. The will open the page 'newname', 26 using the specified template. The current implementation of the OpenAS plugin 27 assumes that all your templates will be found in the pagetemplates directory 28 (i.e the :pagetemplates namespace). The newpagevars element follows the format described 29 on the newpagetemplate plugin page on Dokuiwiki. Here is a sample: 30 31 ~~OpenAS>hello_temp#homepagetemplate>@HI@,HOWDY!;@BYE@,Good Bye~~ 32 33 This will open up the page :hello_temp, using the homepagetemplate (which is 34 :pagetemplates:homepagetemplate) and it will fill in any of the substitution variables 35 defined on the newpagetemplate plugin page, as well as the variables defined 36 by newpagevar(which in this example are: @HI@ and @BYE@). 37 38 39 40