Differences between revisions 5 and 6
Revision 5 as of 2022-01-05 17:23:06
Size: 1635
Editor: asbesto
Comment:
Revision 6 as of 2022-01-05 17:24:24
Size: 1639
Editor: asbesto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
#acl FreaknetGroup:read,write,admin,delete,revert All: #acl FreaknetGroup:read,write,admin,delete,revert All:read

Appunti su COME CAZZO SI USA STO CAZZO DI WIKI DI MERDA

Cancellare pagine

Da web:

If enabled and allowed by ACLs, you can delete pages with the DeletePage action.

(!) Note that deleting means to create an empty/deleted new page revision, it does not remove any existing revisions of the page.

What this means is that you can get back at deleted pages by reverting them to an older/existing revision (first display some older revision using the link from the info action, then use "revert to this revision" from the menu).

The only way to unrevertably and completely delete a page (including backups, history, attachments, etc.) is via the shell on the host system. The page files are found in the "data/pages/<PageName>" directory, and you can simply delete the whole <PageName> directory - no way back in that case.

Spostare pagine vuote con solo edit-log a zero

by Katolaz:

for i in $(find ./ -name 'edit-log' -size 0  ); do ot=$(ls $(dirname $i) | wc -l); echo "ot: $ot";  if [ $ot -lt 2 ]; then echo "removing $(dirname $i)"; fi; done

cambia il "renaming" nel mv che piu' ti spara la cappella

GESTIONE UTENTI E PW SU STO CAZZO DI WIKI (USER, PASSWORD, RESET, ACCOUNT)

Gli account stanno dentro /var/www/lab.dyne.org/wiki-data/data/user

le pw sono cristate

per cambiare pw di un account: da shell root fare:

moin account resetpw --name=nomedellaccount nuovapassworddellaminchia

ET VOILA', SUCAMELA'

MoinAppunti (last edited 2022-01-05 17:24:24 by asbesto)