History log of /dokuwiki/bin/dwpage.php (Results 1 – 25 of 27)
Revision Date Author Comments
# 443c53d5 01-Jun-2025 Damien Regad <dregad@mantisbt.org>

dwpage: Detect that workingfile is a directory

And provide meaningful error message instead of PHP warning.

Fixes #4461


# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# 90fb952c 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: operator spacing


# 177d6836 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow whitespaces


# dccd6b2b 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: function call spacing


# d868eb89 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function declaration braces/spaces


# 8c7c53b0 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: class declaration braces


# b1f206e1 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to bin and toplevel


# 8d670f35 16-Feb-2021 Andreas Gohr <andi@splitbrain.org>

dwpage: output meta data as JSON

json shows the same nested data but is easier to process by other tools


# 3fe01844 16-Feb-2021 Andreas Gohr <andi@splitbrain.org>

dwpage: rename gmeta into getmeta


# 2c23659d 21-Jan-2021 Robin Getz <robin.getz@analog.com>

dwpage.php: add an option to get metadata

This adds an option to ./bin/dwpage.php, to display metadata about a
page. This is useful in maintenance shell scripts, and debugging plugins.
There is no a

dwpage.php: add an option to get metadata

This adds an option to ./bin/dwpage.php, to display metadata about a
page. This is useful in maintenance shell scripts, and debugging plugins.
There is no ability to write metadata, only read them.

./bin/dwpage.php -u <user> gmeta [page] <meta tag>

where <meta tag> can be "date modified" (in quotes) or "last_change date"
an empty <meta tag> returns all metadata.

Signed-off-by: Robin Getz <robin.getz@analog.com>

show more ...


# cbfa4829 13-Jun-2020 Phy <git@phy25.com>

use envvars in shebang


# 8cbc5ee8 10-Jun-2019 Andreas Gohr <andi@splitbrain.org>

replaced deprecated utf8 functions

For now this uses full qualified namespaces, sensible imports may come
later.


# cbeaa4a0 10-Nov-2017 Andreas Gohr <andi@splitbrain.org>

replace Doku_CLI with splitbrain\phpcli\CLI

It has few more features (like turning down verbosity) and looks nicer


# cb62a664 30-Nov-2015 JustinTrouble <github.com@justintrouble.co.uk>

Fixed bug in obtainLock(), where it always fails to verify the lock. This fixes #1019, fixes #1311


# bf00b396 09-Feb-2015 Andreas Gohr <gohr@cosmocode.de>

fix username handling in dwpage CLI tool. closes #1019


# e82b082e 16-May-2014 Andreas Gohr <andi@splitbrain.org>

refactored dwpage.php to new CLI


# 7ef8e99f 22-Aug-2013 Matt Perry <matt@mattperry.com>

Fix CodeSniffer violations

Change indentation to ensure code confirms to CodeSniffer rules.


# 3009a773 28-Jul-2012 Andreas Gohr <andi@splitbrain.org>

replaced use of basename() with utf8_basename() FS#2015


# feec2ab4 27-Aug-2010 Andreas Gohr <andi@splitbrain.org>

fixed username detection in dwpage FS#2011


# 50b78159 04-Sep-2009 Elan Ruusamäe <glen@delfi.ee>

set memory limit and unify php call in CLI apps

Ignore-this: 1132d10ee32a2a68ddc1929c428e708

- short open tag shouldn't be needed anymore
- CLI memory limits a too low usually

darcs-hash:200909042

set memory limit and unify php call in CLI apps

Ignore-this: 1132d10ee32a2a68ddc1929c428e708

- short open tag shouldn't be needed anymore
- CLI memory limits a too low usually

darcs-hash:20090904211555-99ed5-bd19873bdc2b10c61b9365f9c5ad9409a4131e41.gz

show more ...


# d3c26bc3 14-May-2009 Dirk Best <startaq@gmail.com>

Minor change support for dwpage.php

darcs-hash:20090514151011-ac091-397ed299016a72545412f3d0cfbc534a65a10992.gz


# 44881bd0 03-Jan-2007 henning.noren <henning.noren@gmail.com>

tf_rename_lower.patch

Name the TRUE/FALSE-constants consistently as lowercase everywhere.
This might also be an tiny optimization in some environments.

darcs-hash:20070103205700-d2a3e-e7ec0aedb938d

tf_rename_lower.patch

Name the TRUE/FALSE-constants consistently as lowercase everywhere.
This might also be an tiny optimization in some environments.

darcs-hash:20070103205700-d2a3e-e7ec0aedb938d563f583116a2d5b17f3a3fea36c.gz

show more ...


# 78ba70a7 09-Sep-2006 chris <chris@jalakai.co.uk>

add sapi check to scripts in bin directory

darcs-hash:20060909093314-9b6ab-af4fea49bf71b416150132d44534579d751f144b.gz


# c9b4bd1e 05-Jul-2006 Ben Coburn <btcoburn@silicodon.net>

refactor wiki page edit locking

- Adds a new function in 'inc/pageutils.php', wikiLockFN($id)
- All page edit locks should now be created with the file name
generated by wikiLockFN($id).

refactor wiki page edit locking

- Adds a new function in 'inc/pageutils.php', wikiLockFN($id)
- All page edit locks should now be created with the file name
generated by wikiLockFN($id).
- wikiLockFN
- Generates wiki page editing locks in the 'data/locks'
directory where they belong.
- This avoids polluting the 'data/pages' directory with lock files,
which were causing namespaces to be created before they logically
should exist.

darcs-hash:20060705033135-05dcb-8eac316587cd54c6ebd861fe7b15975d90b0e4dc.gz

show more ...


12