|
TWiki Site Tools |
| To check for the most recently edited topics while on-site, use the WebChanges link, usually located in the toolbar. It lists the most recently modified topics, newest first, along with the first couple of lines of the page content.
This is simply a preset SEARCH . The number of topics listed by the limit parameter.: |
|
< < | |
> > | |
|
|
|
< < | %SEARCH{ ".*" web="TWiki" regex="on" nosearch="on" order="modified" reverse="on" limit="50" }% |
> > | %SEARCH{ ".*" web="TWiki" type="regex" nosearch="on" order="modified" reverse="on"
limit="50" }% |
|
|
| WebIndex - list of topics
WebIndex lists all web topics in alphabetical order, with the first couple of lines of text. This is simply a preset SEARCH : |
|
< < | |
> > | |
|
|
|
< < | %SEARCH{ "\.*" scope="topic" regex="on" nosearch="on" }% |
> > | %SEARCH{ "\.*" scope="topic" type="regex" nosearch="on" }% |
|
|
|
-
- The WebStatistics topic must be present in all webs where you want to have statistics. You can use the topic in the Main web as a template.
- Call the
twiki/bin/statistics script from a cron job, once a day is recommended. This will update the WebStatistics topics in all webs.
- Attention: The script must run as the same user as the CGI scripts are running, which is user
nobody on many systems. Example crontab entry: 0 0 * * * (cd /path/to/twiki/bin; ./statistics >/dev/null 2>&1)
|
|
< < |
-
- There is a workaround in case you can't run the script as user
nobody : Run the utility twiki/bin/geturl in your cron job and specify the URL of the twiki/bin/statistics script as a parameter. Example: 0 0 * * * (cd /path/to/twiki/bin; ./geturl mydomain.com /urlpath/to/twiki/bin/statistics >/dev/null 2>&1)
|
> > |
-
- There is a workaround in case you can't run the script as user
nobody : Run the utility twiki/tools/geturl.pl in your cron job and specify the URL of the twiki/bin/statistics script as a parameter. Example: 0 0 * * * (cd /path/to/twiki/tools; ./geturl.pl mydomain.com /urlpath/to/twiki/bin/statistics >/dev/null 2>&1)
|
|
When running from the command line or a cron job, you can pass parameters to the script like this: |
|
rename |
move |
when moving attachment: Attachment filename moved to Newweb.NewTopic |
passwd |
resetpasswd |
LoginName, WikiName, E-mail address, success code from addUserPassword |
passwd |
changepasswd |
LoginName, WikiName |
|
|
< < |
save |
save |
when replacing existing revision: repRev 3 when user checks the minor changes box: dontNotify |
|
> > |
save |
save |
when replacing existing revision: repRev 3 when user checks the minor changes box: dontNotify when user changes attributes to an exising attachment: filename.ext |
save |
cmd |
special admin parameter used when saving |
|
|
search |
search |
search string |
upload |
upload |
filename |
view |
view |
when viewing non-existing topic: (not exist) when viewing previous topic revision: r3 |
|