[Home]Wiki System Docs/Actions

Scalene Wiki | Wiki System Docs | Recent Changes |

Difference (from prior major revision) (no other diffs)

Changed: 1c1

List of CGI actions that wiki.pl will accept



System Actions




Changed: 3c3
For an alternate presentation, more appropriate for users, see the System? page.
The UseModWiki Actions, presented so that it's easy to copy to your own site. Each of these is implemented using "Local:" InterWiki interwiki links. (InterWiki links that start with "Local:" always point to the current wiki. See InterWikiDocumentation for more information on InterWiki links.

Changed: 5,6c5,32

Search



(handled by DoOtherRequest)

Info



* [version] - show program-version (and options ?)
* [index] - Show all pages
* [links] - Show all links. cf. MeatBall:LinkDatabase for documentation of various options.
* [rc] - Show recent changes.
* [rss] - RSS output of recent changes.

User



* [login] - Login as known user
* [newlogin] - Login as new user
* [editprefs] - Edit user-preferences

Maintenance



* [unlock] - Unlock pages
* [maintain] - Start maintenance-job

Admin-only



* [pagelock]
* [editlinks]
* [editlock]
* [editbanned]
* [trimusers] - Cleans the user database of unused used ID's. You need to change the StartUID parameter in the config afterwards.

Page



(The following links use this page for example, but id can equal any page. )
* [browse&id=System] - Browse a page
* [edit&id=System] - Edit a page
* [history&id=System] - History of a page

Changed: 8,58c34,35
dosearch=1
[&search=text] - search title and body of all pages

Browsing Actions



(handled by DoBrowseRequest)

action=xxx
[browse&id=pagename] - view page
[rc] - recent changes (see MeatBall:RecentChangesOptions for examples)
[rss] - RSS output of recent changes.
[random] - random page
[history&id=pagename] - history of changes
[browse&id=pagename&revision=number] - view old version

Other Actions



(handled by DoOtherRequest)

action=xxx

[edit&id=pagename] - edit page
[index] - alphabetical index of all pages
[version] - show program-version (and options ?)
[links] - displays links between pages, in various forms (see MeatBall:LinkDatabase for some examples)

User
[login] - for configured user ids
[newlogin] - creates completely new user ID (and overwrite old cookie)
[editprefs] - edits a users preferences

Maintenance
[maintain] - Does periodic maintenance, such as expiring old kept revisions.
Non-admins can only use action=maintain once every 12 hours.
[unlock] - Attempts to get the edit lock normally. If this fails, the lock
is considered "stuck" and is forcibly removed.
[trimusers] - Trims down the user database, removing users with no useful
preferences set. You must change the $StartUID variable in the config afterwards.

Admin only actions (see AdminFeatures for more details):

[pagelock] - This will lock a specific page against editing (except by the admin):
wiki.pl?action=pagelock&id=HomePage&set=1
To unlock:
wiki.pl?action=pagelock&id=HomePage&set=0
[editlock] - Locks the entire wiki against editing. Use with set=1 and
set=0 like the pagelock command.
[editbanned] - Edits a list of banned IP addresses/networks which are blocked
from editing.
[editlinks] - Allows renaming and deletion of pages.


Note that admins can still edit all edit-locked pages. Users with an "editor" password can still edit even if their IP is in the editbanned list, or while the whole-wiki editlock block is active. (Editors can not edit individually-locked pages.) The editor password is useful for restricted-access wikis, or to allow a good user to edit even if they share a network/proxy with an abusive user.

Search



* [search=some%20text] - Search for some text

System Actions

The UseModWiki Actions, presented so that it's easy to copy to your own site. Each of these is implemented using "Local:" InterWiki interwiki links. (InterWiki links that start with "Local:" always point to the current wiki. See InterWikiDocumentation for more information on InterWiki links.

Info

User

Maintenance

Admin-only

Page

(The following links use this page for example, but id can equal any page. )

Search


Scalene Wiki | Wiki System Docs | Recent Changes |
This page is read-only | View other revisions
Last edited August 7, 2006 21:57 by ip68-105-180-227.dc.dc.cox.net (diff)
Search: