Revision [14590]
This is an old revision of UsingActions made by DarTar on 2006-06-14 04:15:08.
Using actions in Wikka pages
This page needs to be updated to match Wikka 1.1.6.2
About actions
Actions are small (or not so small) pieces of code that generate automatic content within a page. An action may provide simple content, or it may provide an interactive "service" with a form for user input.Some actions are considered "core" and are essential to the functioning of Wikka as a WikiEngine. Others are better classified as "plugins", providing extra, less essential functionality. Of course, WikkaWiki comes with all "core" actions and a nice collection of "plugins". Many Wikka users also make CodeContributions additional plugins available through this site.
Using actions
To include an action in a page, simply edit the page and put the name of the action, between {{ and }}, on it. Action names are case-insensitive.Many actions can be customized by providing extra parameters; a parameter must always have its value enclosed in double quotes. Unknown parameters are simply ignored; in some cases one or more parameters may be required.
Content example:
use {{wikkaversion}} to display the current Wikka version running:
n/a
Service example:
use {{googleform}} to provide an empty form to search Google; you may add a parameter to suggest a search term, as in {{googleform q="Wikka"}}:
Actions available in the latest WikkaWiki distribution
The following actions are distributed with WikkaWiki (version n/a) (listed in alphabetical order):- BacklinksActionInfo backlinks - shows the pages linking to the actual page
- CalendarActionInfo calendar - displays the calendar for a month
- CategoryActionInfo category - shows pages belonging to a category
- SysInfoActionInfo countcomments - shows the count of the comments made by the current user
- SysInfoActionInfo countowned - shows the count of pages owned by the current user
- SysInfoActionInfo countpages - count of the pages in the wiki
- SysInfoActionInfo countusers - count of the registered users of a page
- ColorActionInfo color - colors text
- ColorActionInfo colour - (synonym of color)
- EmailpasswordActionInfo emailpassword - allows a user to retrieve his/her password
- FeedbackAction feedback - displays a form, which allows to send feedback to the admin of the wiki
- FilesActionInfo files - manages files upload/download/delete
- FlashActionInfo flash - shows a flash-animation
- FooterActionInfo footer - produces the footer of the wiki-pages. Better not to be used inside pages itself!
- GoogleformActionInfo googleform - produces a searchbox for a search with google.
- HeaderActionInfo header - produces the header of the wiki-pages. MUST not to be used inside pages itself (could lead to weird display problems because the result would be invalid XHTML)!
- HighscoresActionInfo highscores - shows a list of users, ordered after the percentage of pages they own
- AddingImages image - displays an image
- IncludeAction include - includes another wikipage
- InterwikilistActionInfo interwikilist - produces a list as shown in InterWiki
- LastEditActionInfo lastedit - shows who was the last user editing the page
- LastusersActionInfo lastusers - a list of newly registered users
- FreeMind mindmap - one solution to display a mindmap
- MychangesActionInfo mychanges - This is a list of pages the current user has edited, ordered by the time of the last change or alphabetically
- MypagesActionInfo mypages - a list of pages the current user owns
- SysInfoActionInfo mysqlversion - displays the mysql-version of the server
- NewpageActionInfo newpage - allows the creation of new pages
- NocommentsActionInfo nocomments - comments and the commentform are not displayed on the page
- OrphanedpagesActionInfo orphanedpages - pages who have no other pages linking to them
- OwnedpagesActionInfo ownedpages - number and percentage of the pages the current user owns
- PageindexActionInfo pageindex - shows an index of all pages in the wiki
- SysInfoActionInfo phpversion - shows the php-version, the wiki is running on
- RecentchangesActionInfo recentchanges - list of changed pages, ordered by time
- RecentcommentsActionInfo recentcomments - a list of the recently commented pages, ordered by time
- RecentlycommentedActionInfo recentlycommented - a list of the latest comments, ordered by time
- RssInfo rss - includes an rss-feed to the page
- TableActionInfo table - displays a table with given data
- TextsearchActionInfo textsearch - search for a phrase
- TextSearchExpandedActionInfo textsearchexpanded - search for a phrase and show the results with their surrounding text
- UserSettingsInfo usersettings - allows to log-in/out and to change some settings
- WantedpagesActionInfo wantedpages - shows the name of nonexisting pages to which other pages are linking to
- SysInfoActionInfo wikkaname - displays the name of the wiki
- SysInfoActionInfo wikkaversion - displayes the wikka-version
Dropped action
The actions you see here are no longer used and therefore were dropped:- wakkabug (dropped in 1.1.6.0)
Actions not in the actions-directory
- Mod018fIFrameAction iframe - allows embedding a page in another page
CategoryDocumentation