Public feed
#529488
netcat:/srv/www/vhosts/de/bzed/_/html# php bin/dwpage.php -h
Usage: dwpage.php [opts] <action>
Utility to help command line Dokuwiki page editing, allow
pages to be checked out for editing then committed after changes
Normal operation would be;
ACTIONS
checkout: see $ dwpage.php --help=checkout
commit: see $ dwpage.php --help=commit
lock: see $ dwpage.php --help=lock
OPTIONS
-h, --help=<action>: get help
e.g. $ ./dwpage.php -hcommit
e.g. $ ./dwpage.php --help=commit
netcat:/srv/www/vhosts/de/bzed/_/html# php bin/dwpage.php checkout wiki:playground /tmp/test
wiki:playground > /tmp/test
netcat:/srv/www/vhosts/de/bzed/_/html# vim /tmp/test
netcat:/srv/www/vhosts/de/bzed/_/html# php bin/dwpage.php --help=commit
PHP Warning: PHP Startup: apc.shm_segments setting ignored in MMAP mode in Unknown on line 0
Usage: dwpage.php [opts] -m "Msg" commit <working_file> <wiki:page>
Checks in the working_file into the repository using the specified
wiki id, archiving the previous version.
EXAMPLE
$ ./dwpage.php -m "Some message" commit ./new_syntax.txt wiki:syntax
OPTIONS
-h, --help=<action>: get help
-f: force obtaining a lock for the page (generally bad idea)
-m (required): Summary message describing the change
netcat:/srv/www/vhosts/de/bzed/_/html# php bin/dwpage.php -m "test test ...." commit /tmp/test wiki:playground
netcat:/srv/www/vhosts/de/bzed/_/html#