; -*- coding utf8 mode: ctp -*- ; ; wstart-w.txt ; z:start ; this is placed now in w:top ; ; the page which introduce the w2wiki in namespace w ; ;--- ; button-preference .(button-pref :format .fl :suffix) .(new-page your new wikipage :wikinamespace w) .lp ;; ;; \.(new-page will ;; ;; .-- a. reference to the fake wiki page ;; ;; produce the reference to the fake wiki page ;; .(page -W2NEWPAGE your new wikipage) ;; .(page z-start-w2start-W2NEWPAGE your new wikipage) eg. ;; Note: is the translated pageid z-start-w2start eg. ;; ;; ;; .-- b. write file CTPCACHE/W2NEWPAGE/.arguments ;; ;; options="--templatedirid z:template \ ;; --templatenewpagepartid w2:new " eg. ;; ;; recognized options: ;; --mode XXX ;; w2 w2lout ;; ;; --templatedirid XXX ;; z:template eg. ;; ;; --templatenewpagepartid XXX ;; subdirectory/ in templatedirid ;; w2:new eg. ;; ;; the file is read by shell script ctpdw-w2-create-newpage ;; see DokuWiki Plugin ctpdw. ;; ;; ;; .-- c. substitute the fake page id -W2NEWPAGE ;; ;; see DokuWiki Plugin ctpdw wikitext_substitute.php .b to work on ... .lp this wiki is based in Namespace .b :w .lp a list of recently started wiki pages .llp \.(wiki-last-pages) .lp ;; ///=tocode \.(wiki-recent-pages) .lp ;; ///=tocode %comment