Revision [290]
This is an old revision of UsingActions made by YanB on 2006-11-19 09:00:03.
Using actions in Wikka pages
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 additional plugins available through the main 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 1.1.7) (listed in alphabetical order):- backlinks - shows the pages linking to the actual page
- calendar - displays the calendar for a month
- category - shows pages belonging to a category
- color - colors text
- colour - (synonym of color)
- countcomments - shows the count of the comments made by the current user
- countowned - shows the count of pages owned by the current user
- countpages - count of the pages in the wiki
- countusers - count of the registered users of a page
- emailpassword - allows a user to retrieve his/her password
- feedback - displays a form, which allows to send feedback to the admin of the wiki
- files - manages files upload/download/delete
- flash - shows a flash-animation
- footer - produces the footer of the wiki-pages. Better not to be used inside pages itself!
- geshiversion - shows the version of GesHi | used by the wikka-installation
- GoogleformActionInfo googleform - produces a searchbox for a search with google.
- 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)!
- highscores - shows a list of users, ordered after the percentage of pages they own
- image - displays an image
- include - includes another (local) wikipage
- interwikilist - produces a list as shown in InterWiki
- lastedit - shows who was the last user editing the page
- lastusers - a list of newly registered users
- mindmap - one solution to display a mindmap
- mychanges - This is a list of pages the current user has edited, ordered by the time of the last change or alphabetically
- mypages - a list of pages the current user owns
- mysqlversion - displays the mysql-version of the server
- newpage - allows the creation of new pages
- nocomments - comments and the commentform are not displayed on the page
- orphanedpages - pages who have no other pages linking to them
- ownedpages - number and percentage of the pages the current user owns
- pageindex - shows an index of all pages in the wiki
- phpversion - shows the php-version, the wiki is running on
- recentchanges - list of changed pages, ordered by time
- recentcomments - a list of the recently commented pages, ordered by time
- recentlycommented - a list of the latest comments, ordered by time
- rss - includes an rss-feed to the page
- system - displays information about the system Wikka is running on.
- table - displays a table with given data
- textsearch - search for a phrase
- textsearchexpanded - search for a phrase and show the results with their surrounding text
- usersettings - allows to log-in/out and to change some settings
- wantedpages - shows the name of nonexisting pages to which other pages are linking to
- wikkachanges - displays the version of wikka and a link to the Release Notes
- wikkaname - displays the name of the wiki
- wikkaversion - displayes the wikka-version
Actions not in the actions-directory
- iframe - allows embedding a page in another page
CategoryEN