PhpWiki lets you extend it with new functionality via a plugin mechanism. In short, you extend a PHP class we provide and customize it to print out the content you want. For more information see WikiPlugin, HelloWorldPlugin, and view the source of the files in lib/plugin.

If there is no example page for the plugin, or you need more information, the best place to go is the source of the plugin. Under your wiki's root directory, the folder lib/plugin contains all the PHP files for the plugins.

External Requirements

Some plugins require correctly configured PLUGIN_CACHED and external libraries not provided with PhpWiki or PHP, such as


Description: Provides a list of plugins on this wiki.

Plugins

Plugin Version Description Arguments
AddComment
AddCommentPlugin
1.8 Show and add comments for [pagename] pagename=[pagename]
order=normal
mode=add,show
jshide=0
noheader=
AllPages 1.36 List all pages in this wiki. info=
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
noheader=
include_empty=
debug=
AllUsers 1.18 List all once authenticated users. info=pagename
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
noheader=
include_empty=1
debug=
AnalyseAccessLogSql
AnalyseAccessLogSqlPlugin
1.1 Show summary information from the access log table. mode=referring_domains
caption=
local_referrers=true
period=
count=0
AppendText
AppendTextPlugin
1.7 Append text to any page in this wiki. page=[pagename]
s=
before=
after=
redirect=
AsciiMath 1.1 Render ASCII Math as MathML
AuthorHistory
AuthorHistoryPlugin
1.6 List all page revisions edited by one user with diff links, or show a PageHistory-like list of a single page for only one user. exclude=
noheader=
includeminor=
includedeleted=
author=
page=[pagename]
info=version,minor,author,summary,mtime
BackLinks 1.32 List all pages which link to [pagename]. info=pagename
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
include_self=
noheader=
page=[pagename]
BlogArchives 1.4 List blog months links for the current or ADMIN user user=
order=reverse
info=month,numpages
month=
noheader=0
BlogJournal 1.4 Include latest blog entries for the current or ADMIN user count=7
user=
order=reverse
month=
noheader=0
CacheTest 1.2 This is a simple example using WikiPluginCached. text='This is a simple example using WikiPluginCached.'
font=3
type=png
Calendar
CalendarPlugin
1.30 Calendar prefix=[pagename]/
date_format=%Y-%m-%d
year=
month=
month_offset=0
month_format='%B, %Y'
wday_format=%a
start_wday=0
CalendarList
CalendarListPlugin
n/a CalendarList prefix=[pagename]
date_format=%Y-%m-%d
order=normal
year=
month=
month_offset=0
next_n_days=
last_n_days=
next_n=
month_format='%B, %Y'
wday_format=%a
start_wday=0
CategoryPage 1.2 Create a Wiki page. exclude=
pagename=[pagename]
plural=
singular=
self_on_create=1
showbuds=
Comment
CommentPlugin
1.2 Embed hidden comments in WikiPages.
CreatePage
CreatePagePlugin
1.7 Create a Wiki page by the provided name. s=
initial_content=
template=
vars=
overwrite=
CreateToc
CreateTocPlugin
1.26 Automatically link headers at the top pagename=[pagename]
headers=!!!,!!,!
noheader=0
align=left
with_toclink=0
jshide=0
liststyle=dl
indentstr=  
DeadEndPages 1.10 List pages which are not linked to by any other page. noheader=
include_empty=
exclude=
info=
sortby=
limit=0
paging=auto
Diff 1.2 Display differences between revisions pagename=[pagename]
name=World
versions=
version=
previous=major
EditMetaData
EditMetaDataPlugin
1.11 Edit metadata for [pagename] page=[pagename]
ExternalSearch
ExternalSearchPlugin
1.12 Redirects to an external web site based on form input s=
formsize=30
url=
name=
useimage=
width=
height=
debug=
FoafViewer
FoafViewerPlugin
1.4 Parse an RDF FOAF file and extract information to render as HTML foaf=
original=
FrameInclude
FrameIncludePlugin
1.10 Displays a url in a seperate frame inside our body. Only one frame allowed. src=
page=
name=content
title=
rows=18%,*,15%
cols=20%,*
frameborder=1
marginwidth=
marginheight=
noresize=
scrolling=auto
FullTextSearch 1.25 Search the content of all pages in this wiki. info=pagename
exclude=
author=
owner=
creator=
sortby=
limit=
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
s=
hilight=1
case_exact=
regex=auto
noheader=
quiet=
FuzzyPages 1.12 Search for page titles similar to [pagename]. s=
debug=
GoTo n/a Go to or create page. size=32
GoogleMaps 1.2 Displays a marker with further infos (when clicking) on given coordinates Longitude=
Latitude=
ZoomFactor=5
Marker=1
InfoText=
MapType=Hybrid
SmallMapControl=
width=500px
height=400px
GooglePlugin 1.5 Make use of the Google API q=
mode=search
startIndex=1
maxResults=10
formsize=30
GraphViz 1.4 GraphViz image or imagemap creation of directed graphs imgtype=png
alt=
pages=
exclude=
help=
HelloWorld
HelloWorldPlugin
1.13 Simple Sample Plugin salutation=Hello,
name=World
HtmlConverter n/a Convert HTML markup into wiki markup. (Version 0.5)
Imdb 1.2 Query a local imdb database query=
template=
where=
title=
name=
sortby=
limit=
IncludePage
IncludePagePlugin
1.27 Include text from another wiki page. page=
rev=
quiet=
words=
lines=
section=
sectionhead=
IncludePages 1.1 Include multiple pages. pages=
exclude=
page=
rev=
quiet=
words=
lines=
section=
sectionhead=
IncludeSiteMap 1.13 Include recursively all linked pages starting at exclude=
include_self=0
noheader=0
page=[pagename]
description='Include recursively all linked pages starting at '
reclimit=2
info=
direction=back
firstreversed=
excludeunknown=1
includepages=words=50
InterWikiSearch 1.8 Perform searches on InterWiki sites listed in InterWikiMap.
JabberPresence 1.3 Simple jabber presence plugin scripturl=http://edgar.netflint.net/status.php
jid=@jabber.com
type=image
iconset=gabber
LdapSearch 1.3 Search an LDAP directory host=localhost
port=389
basedn=
filter=(cn=*)
attributes=
LikePages 1.22 List page names which share an initial or final title word with '[pagename]'. info=pagename
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
page=[pagename]
prefix=
suffix=
noheader=
LinkDatabase 1.7 List all pages with all links in various formats for some Java Visualization tools info=
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
format=html
noheader=
include_empty=
exclude_from=
ListPages
ListPagesPlugin
1.9 List pages that are explicitly given as the pages argument. info=pagename,top3recs
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
pages=
dimension=0
ListSubpages 1.6 Lists the names of all SubPages of the current page. info=
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
noheader=
basepage=
maxpages=
ModeratedPage 1.4 Support moderated pages page=[pagename]
moderators=
require_level=
require_access=edit,remove,change
id=
pass=
MostPopular 1.32 List the most popular pages. info=
exclude=
author=
owner=
creator=
sortby=-hits
limit=20
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
pagename=[pagename]
noheader=0
NoCache 1.3 Don't cache this page. nocache=1
OldStyleTable
OldStyleTablePlugin
1.11 Layout tables using the old markup style. caption=
cellpadding=1
cellspacing=1
border=1
summary=
OrphanedPages 1.10 List pages which are not linked to by any other page. noheader=
include_empty=
exclude=
info=
sortby=
limit=0
paging=auto
PageDump 1.18 View a single page dump online. s=
page=[pagename]
format=
download=
PageGroup 1.9 PageGroup for [pagename] parent=
rev=
section=Contents
label=
loop=
PageHistory 1.30 List PageHistory for [pagename] days=
show_minor=1
show_major=1
limit=
page=[pagename]
format=
PageInfo 1.5 Show extra page Info and statistics for [pagename]. page=[pagename]
version=[version]
PageTrail 1.7 PageTrail Plugin numberlinks=5
invisible=
duplicates=
PhotoAlbum
PhotoAlbumPlugin
1.11 Displays a set of photos listed in a text file with optional descriptions src=
url=
mode=normal
numcols=3
showdesc=both
link=1
attrib=
bgcolor=#eae8e8
hlcolor=#c0c0ff
align=center
height=auto
width=auto
cellwidth=image
tablewidth=
p=
h=
PhpHighlight
PhpHighlightPlugin
1.9 PHP syntax highlighting wrap=1
string=#DD0000
comment=#FF8000
keyword=#007700
bg=#FFFFFF
default=#0000BB
html=#000000
PhpWeather
PhpWeatherPlugin
1.12 The PhpWeather plugin provides weather reports from the Internet. icao=EKAH
cc=DK
language=en
menu=
units=both_metric
Ploticus
PloticusPlugin
1.12 Ploticus image creation device=png
-prefab=
-csmap=
data=
alt=
help=
PluginManager 1.17 Description: Provides a list of plugins on this wiki. info=args
PopUp 1.1 Used to create a clickable popup link. link=HomePage
title=
text=
width=500
height=400
resizable=no
scrollbars=no
toolbar=no
location=no
directories=no
status=no
menubar=no
copyhistory=no
close=no
PopularNearby 1.5 List the most popular pages nearby. pagename=[pagename]
mode=nearby
limit=5
noheader=0
PrevNext 1.4 Easy navigation buttons for [pagename] prev=
next=
up=
contents=
index=
first=
last=
order=
style=button
class=wikiaction
RandomPage 1.13 Displays a list of randomly chosen pages or redirects to a random page. info=
exclude=RandomPage,HomePage,AllPages,RecentChanges,RecentEdits,FullRecentChanges
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
numpages=20
pages=
redirect=
hidename=
RateIt 1.19 Rating system. Store user ratings per page pagename=[pagename]
version=
id=rateit
imgPrefix=
dimension=
small=
show=
mode=
RawHtml
RawHtmlPlugin
1.11 A plugin to provide for raw HTML within wiki pages. description='A plugin to provide for raw HTML within wiki pages.'
RdfDefinition 1.6 Define the RDF vocabulary for a wiki subset. pages=
RecentChanges 1.108 RecentChanges days=2
show_minor=
show_major=1
show_all=
show_deleted=sometimes
limit=
format=
daylist=
difflinks=1
historylinks=
caption=
RecentChangesCached 1.4 Caches output of RecentChanges called with default arguments. days=2
show_minor=
show_major=1
show_all=
show_deleted=sometimes
limit=
format=
daylist=
difflinks=1
historylinks=
caption=
RecentComments 1.3 RecentComments days=2
show_minor=
show_major=1
show_all=1
show_deleted=sometimes
limit=
format=
daylist=
difflinks=1
historylinks=
caption='Recent Comments'
RecentEdits 1.1 RecentEdits days=2
show_minor=1
show_major=1
show_all=1
show_deleted=sometimes
limit=
format=
daylist=
difflinks=1
historylinks=
caption=
RecentReferrers 1.2 RecentReferrers info=pagename
exclude=
author=
owner=
creator=
sortby=
limit=15
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
noheader=
debug=
RedirectTo
RedirectToPlugin
1.13 Redirects to another url or page. href=
page=
RelatedChanges 1.5 RecentEdits days=2
show_minor=1
show_major=1
show_all=1
show_deleted=sometimes
limit=
format=
daylist=
difflinks=1
historylinks=
caption='Related Changes'
page=[pagename]
RichTable
RichTablePlugin
1.7 Layout tables using a very rich markup style.
RssFeed
RssFeedPlugin
1.10 Simple RSS Feed aggregator Plugin feed=
description=
url=
maxitem=0
debug=
SearchHighlight
SearchHighlightPlugin
1.1 Hilight referred search terms. s=
case_exact=
regex=
SiteMap 1.13 Recursively get BackLinks or links exclude=
include_self=0
noheader=0
page=[pagename]
description='Recursively get BackLinks or links'
reclimit=4
info=
direction=back
firstreversed=
excludeunknown=1
includepages=
SqlResult 1.7 Display arbitrary SQL result tables alias=
ordered=
template=
where=
sortby=
limit=0,50
SyntaxHighlighter
SyntaxHighlighterPlugin
1.7 Source code syntax highlighter (via http://www.andre-simon.de) syntax=
style=
color=
number=0
wrap=0
SystemInfo
SystemInfoPlugin
1.22 Provides access to PhpWiki's lower level system information. description='Provides access to PhpWiki's lower level system information.'
TeX2png
TeX2pngPlugin
1.3 Convert Tex mathematicals expressions to cached png files. This is for small text text='$$(a + b)^2 = a^2 + 2 ab + b^2$$'
Template
TemplatePlugin
1.4 Parametrized page inclusion. page=
vars=
rev=
section=
sectionhead=
TexToPng 1.5 Converts TeX to an image. May be used to embed formulas in PhpWiki. tex=
magstep=3
img=png
subslash=off
antialias=on
transparent=off
center=off
TitleSearch 1.28 Search the titles of all pages in this wiki. info=
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
s=
auto_redirect=
noheader=
case_exact=
regex=auto
format=
Transclude
TranscludePlugin
1.9 Include an external web page within the body of a wiki page. src=
height=450
TranslateText 1.5 Define a translation for a specified text lang=
pagename=[pagename]
translate=
UnfoldSubpages
UnfoldSubpagesPlugin
1.21 Includes the content of all SubPages of the current page. info=pagename
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
pagename=[pagename]
quiet=
maxpages=
sections=
smalltitle=
words=
lines=
bytes=
section=
sectionhead=
UpLoad
UpLoadPlugin
n/a Upload files to the local InterWiki Upload:<filename> logfile=phpwiki-upload.log
autolink=1
page=[pagename]
UserPreferences 1.35 UserPreferences userid=
passwd=
autologin=
email=
notifyPages=
theme=default
lang=
editWidth=80
noLinkIcons=
editHeight=22
timeOffset=0
relativeDates=
googleLink=
doubleClickEdit=
UserRatings 1.3 List the user's ratings. dimension=0
userids=
pageids=
category=
pagename=[pagename]
exclude=
limit=0
noheader=0
userPage=
nobuds=
info=pagename
VisualWiki 1.18 Visualizes the Wiki structure in a graph using the 'dot' commandline tool from graphviz. imgtype=png
width=
height=
colorby=age
fillnodes=off
label=name
shape=ellipse
large_nb=5
recent_nb=5
refined_nb=15
backlink_nb=5
neighbour_list=
exclude_list=
include_list=
fontsize=9
debug=
help=
WantedPages 1.16 Lists referenced page names which do not exist yet. info=pagename
exclude=
author=
owner=
creator=
sortby=
limit=100
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
page=[pagename]
noheader=
exclude_from=PgsrcTranslation,InterWikiMap
WantedPagesOld 1.1 Lists referenced page names which do not exist yet. noheader=
exclude=PgsrcTranslation
page=[pagename]
sortby=
limit=50
paging=auto
WhoIsOnline 1.11 Show summary information of the current user sessions. mode=summary
pagename=[pagename]
allow_detail=
dispose_admin=
WikiAdminChmod 1.14 Set individual page permissions. info=pagename,perm,mtime,author
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
s=
perm=
WikiAdminChown 1.8 Chown selected pages. info=pagename,owner,mtime
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
s=
user=
WikiAdminMarkup 1.8 Change the markup type of selected pages. info=pagename,markup,mtime
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
s=
markup=2
WikiAdminRemove 1.30 Permanently remove all selected pages. info=most
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
s=
min_age=0
max_age=31
WikiAdminRename 1.26 Rename selected pages info=pagename,mtime
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
s=
updatelinks=0
WikiAdminSearchReplace 1.19 Search and replace text in selected wiki pages. info=some
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
s=
WikiAdminSelect 1.23 Allows selection of multiple pages which get passed to other WikiAdmin plugins. s=
author=
owner=
creator=
only=
exclude=
info=most
sortby=pagename
limit=150
debug=
WikiAdminSetAcl 1.23 Set individual page permissions. info=pagename,perm,mtime,owner,author
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
p=[]
s=
WikiAdminUtils 1.17 Miscellaneous utility functions for the Administrator. action=
label=
WikiBlog
WikiBlogPlugin
1.22 Show and add blogs for [pagename] pagename=[pagename]
order=normal
mode=show,add
noheader=
WikiForm 1.16 WikiForm action=upload
default=
buttontext=
overwrite=
size=50
WikiFormRich 1.15 Provide generic WikiForm input buttons action=
method=post
class=wikiaction
buttontext=
cancel=
nobr=
WikiForum 1.3 Handles threaded topics with comments/news and provide a input form pagename=[pagename]
order=normal
mode=show,add
info=
noheader=
WikiPoll 1.9 Enable configurable polls page=[pagename]
admin=
require_all=1
require_least=0
_AuthInfo 1.19 Display general and user specific auth information. userid=
_BackendInfo 1.24 Get debugging information for [pagename]. page=[pagename]
_GroupInfo 1.1 Show Group Information
_PreferencesInfo 1.3 Get preferences information for current user [userid]. page=[pagename]
userid=[userid]
_WikiTranslation 1.16 Show translations of various words or pages info=pagename
exclude=
author=
owner=
creator=
sortby=
limit=0
paging=auto
cols=1
azhead=0
comma=0
commasep=
ordered=
languages=
string=
page=
what=pages
match=*
from_lang=
include_empty=
nolinks=
noT=
debug=
text2png 1.13 Convert text into a png image using GD. text='Hello WikiWorld!'
l=en

PhpWikiDocumentation WikiPlugin

PHP Warning

lib/DbaDatabase.php:154: Warning: dba_optimize() [<a href='function.dba-optimize'>function.dba-optimize</a>]: You cannot perform a modification to a database without proper access

lib/DbaDatabase.php:160: Warning: DbaDatabase: optimize()

lib/CachedMarkup.php (In template 'browse' < 'body' < 'html'):499: Notice: Only variables should be assigned by reference

lib/plugin/Imdb.php:50: Warning: main(themes/film/lib/imdb.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory