bin
tools
guest
nobody
=www-data
-name value
$ cd /usr/local/foswiki/bin $ save -topic MyWeb.MyTopic -user admin -action save -text "New text of the topic"
parameter=value
$ cd /usr/local/foswiki/bin $ save topic=MyWeb.MyTopic user=admin action=save text="New text of the topic"
AdminUser
-user
-username
-password
$ cd bin $ ../tools/mailnotify -q -nonews -nochanges -Main -System
context
command_line
static
cover
debugenableplugins
$ENV{FOSWIKI_ASSERTS}
bin/LocalLib.cfg
foswikioriginalquery
foswiki_redirect_cache
working/tmp
logout
refresh
cache
on
all
response
skin
SKIN
t
edit
topic
defaultweb
user
validation_key
preserve_vk
save
view
username
password
attach
upload
filename
changes
minor
%SEARCH%
configure
action
action=text
action=form
breaklock
cmd
contenttype
text/html
formtemplate
none
notemplateexpansion
onlynewtopic
onlywikiname
redirectto
TopicName
Web.TopicName
{AllowRedirectUrl}
rev
template
EDIT_TEMPLATE
templatetopic
text
topicparent
cmd=delRev
cmd=repRev
editform.tmpl
edittext.tmpl
edit.tmpl
EDIT_TEMPLATE=specialed
specialedform
Edit
Edit WikiText
EDITACTION
form
URLPARAM
DATE
SERVERTIME
GMTIME
USERNAME
WIKINAME
WIKIUSERNAME
USERINFO
%URLPARAM{"
"}%
login
foswikiloginaction
foswiki_origin
remember
sudo
usernamestep
logon
manage
method="post"
<a href ...>
create
createweb
changePassword
resetPassword
bulkRegister
deleteUserAccount
editSettings
saveSettings
restoreRevision
action=create
action=createweb
baseweb
newtopic
newweb
nosearchall
webbgcolor
websummary
action=editSettings
action=saveSettings
originalrev
action_save
Save
action_cancel
Cancel
action=bulkRegister
logtopic
overwritehometopics
action=changePassword
email
oldpassword
passwordA
password, =passwordA
action=resetPassword
introduction
loginname
action=deleteUserAccount
removeTopic
action=restoreRevision
manage. Parameters are as for =edit
action=addUserToGroup
0
groupname
action=removeUserFromGroup
oops
def
%INSTANTIATE%
oopsmanagebad.tmpl
paramN
%PARAM1%
preview
rdiff
render
DIFFRENDERSTYLE
sequential
rev1
rev2
type
history
diff
last
register
verify
approve
disapprove
action=register
FwkNname
Fwk
N
1
name
Fwk1Email
Fwk1FirstName
Fwk1LastName
Fwk1WikiName
Fwk1LoginName
Fwk1Password
Fwk0Confirm
Fwk0Name
FirstName LastName
Fwk0AddToGroups
Photo
Confirm
action=verify
code
action=approve
action=disapprove
DENIED
referee
wikiname
rename
renameweb
renameother
confirm
referring_topics
action="renameweb"
newparentweb
newsubweb
action=renameother
attachment
currentwebonly
newattachment
off
deleteattachment
resetpasswd
rest
Foswiki::Func::registerRESTHandler
endpoint
TemplateLogin
WWW-Authenticate
FoswikiBasic
realm
{AuthRealm}
X-Authorization
Basic
X-Authorization: FoswikiBasic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
$.ajax({ beforeSend: function(xhrObj){ xhrObj.setRequestHeader("X-Authorization", "FoswikiBasic QWxhZGRpbjpvcGVuIHNlc2FtZQ=="); } });
ApacheLogin
{AuthScripts}
bin/configure
$Foswiki::cfg{Session}{AcceptUserPwParam} = /^rest$/;
http://my.host/bin/rest/<subject>/<verb>
<subject>
<verb>
https://polysyn.de/bin/rest/EmptyPlugin/example?topic=My.TopicName
cd foswiki/bin ; ./rest /EmptyPlugin/example -topic=My.TopicName
$session
http://my.host/bin/rest/MyPlugin/update?web=foo
my $query = $session->{request}; my $web = $query->{param}->{web}[0];
action_addform
action_checkpoint
dontnotify
action_delRev
action_preview
action_quietsave
action_replaceform
action_repRev
checkpoint
editaction
add form
replace form...
editparams
forcenewrevision
Local+name
Set+name
Unset+name
Default+name
quietsave
Status
<form name="new" action="%SCRIPTURLPATH{save}%/Sandbox/" method="post"> ... </form>
search
statistics
autocreate
logdate
YYYYMM
subwebs
webs
foswiki/bin
./statistics
./statistics webs=Userweb,Sandbox subwebs=1
./statistics -webs System -autocreate 1
multipart/form-data
changeproperties
createlink
filecomment
filepath
hidefile
noredirect
curl
perl -CA ./upload filepath="/path/and/filename.dat" filename="attachname.dat" topic=Sandbox.ExistingTopic
contenttype=text/plain
raw
debug
rev=45
SEARCH<hex number>
section
viewfile
pub
https://polysyn.de/bin/viewfile/Webname/TopicName/Attachment.gif
tools/configure [-search] [-getspec] [-getcfg] [-check] [-wizard] [-method] [-save] [-json] [-trace] [-help] [-noprompt] [-expert]
perl -CA
tools/configure -save -expert
tools/configure -save -set {Password}='newadminpassword' -set {WebMasterEmail}='newadmin@yourco.com'
tools/configure -check Internationalisation
tools/configure -wizard Email -method send_test_email
perl -CA tools/configure -save -set {Password}='tajemství'
tools/configure -getcfg {SMTP} -getcfg {PubDir}
tools/configure -help
dependencies
tools/dependencies
tools/dependencies -all
geturl.pl
wget
geturl.pl <host> <path> [<port> [<header>]]
geturl.pl some.domain /some/dir/file.html 80
http://some.domain:80/some/dir/file.html
geturl.pl POST some.domain /bin/statistics?webs=Sandbox
http://some.domain/bin/statistics?webs=Sandbox
rewriteshebang.pl
#!/usr/bin/perl
tick_foswiki.pl
0 0 * * 0 cd /usr/local/foswiki/bin && perl ../tools/tick_foswiki.pl
extension_installer
usage
./tools/extension_installer usage
_installer
SomePlugin_installer
./tools/extension_installer SomePlugin