5851 1 1431503103 0 You can try out Wiki in here.\ \ Have fun :-) a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5852 1 1431503103 0 Since PhpWiki-1.3.3 support for ~WikiPlugins is included.\ \ A plugin is some PHP code that\ \ * lives in =phpwiki/lib/plugin/.php=\ * implements the ~WikiPlugin interface by extending that class.\ \ There are many plugins already distributed with PhpWiki. Simply look in the =lib/plugin=\ directory or see the PluginManager list.\ \ To write your own, look at the HelloWorldPlugin (~HelloWorld.php in that directory),\ which is a minimal example of a plugin.\ Publish your self-written plugin at a new PhpWiki page with ~PluginName + *Plugin* appended\ and add a link to [CategoryContributedPlugin | PhpWiki:CategoryContributedPlugin].\ \ A WikiPlugin allows one to easily add new types of dynamic content\ (as well as other functionality) to wiki pages within PhpWiki.\ In this very wiki all actions which are not entirely lowercased\ are implemented using plugins, and some lowercased convenience actions also. (rename, revert, setacl, diff, ...)\ \ (The old-style [MagicPhpWikiURLs] have been replaced by plugins entirely.)\ \ !!!Example\ \ Currently, one invokes a plugin by putting something like:\ \ \ \ \ \ into a regular wiki-page. That particular example produces a list of\ the first 5 existing pages (via the ~PageList library).\ \ \ \ !!!Details\ \ Plugins can take certain named arguments (most do). The values of\ these arguments can be determined four different ways. In order of\ precedence:\ \ # The plugin invocation can specify the value for an argument, like so:\ \ \ \ \ # The argument can be specified via an HTTP query argument. This\ doesn't happen (is not allowed) unless the argument is mentioned in\ the plugin invocation:\ \ \ \ \ \ # Default values specified in the plugin invocation:\ \ \ \ \ \ # The plugin must supply default values for each argument it uses.\ Such default args may be overriden by URL arguments like so:\ \ BackLinks?page=ThisPage&sortby=-mtime\ \ (The BackLinks plugin uses the current page as the default value for\ the ''page'' argument.)\ \ Most plugins using the ~PageListLibrary inherit their default arguments\ from the PhpWiki:PageListLibrary.\ \ !! Standard Arguments\ \ Most plugins display a list of pages, via the ~PageListLibrary.\ ~PageList provides automatic support for those arguments.\ \ info, exclude, author, owner, creator, sortby, limit, paging, cols, azhead,\ comma, commasep, ordered\ \ For details see the PhpWiki:PageListLibrary documentation.\ \ *exclude* and *pages* accept a list of pages. Either as comma-seperated list,\ supporting glob-style wildcards, or via the \ invocation syntax, where pluginname might be any plugin returning a pagelist.\ See PhpWiki:PluginList.\ \ !! Basic Plugin Types\ \ All these plugins derive from the WikiPlugin class extending the run method,\ which returns a object tree of HTML objects, and may react on any\ provided arguments from the ~WikiPage (see the args below) or\ optionally overridden by arguments from the url (GET or POST args),\ if defined via '||='.\ \ A basic plugin just needs the run() method, and optionally getName,\ getDescription, getVersion, getDefaultArguments. See the HelloWorldPlugin for a short introduction.\ \ *plugin* reacts on its arguments and the request and displays arbitrary HTML.\ \ *plugin-form* is used to display a input type=text box for the default argument *s*.\ \ *plugin-list* is used as argument to provide a dynamic list of pagenames.\ \ \ \ \ \ \ \ \ \ \ ?>\ \ \ ! The box Method\ \ Themes based on the "sidebar" theme may use the box method of any plugin, which displays a *title*\ and a condensed *content* in a box.\ \ ! ~WikiPluginCached\ \ Plugins deriving from the class ~WikiPluginCached must also define the methods getPluginType(),\ optionally getExpire(), managesValidators(), and dependent of the getPluginType the methods\ to display the *possibly cached* result.\ \ getImage(), getMap() or getHtml(),\ \ optionally also\ \ getAlt(), getImageType(), embedMap(), embedImg(), embedObject()\ \ See the config.ini PLUGIN_CACHED_* settings and PhpWiki:WikiPluginCached\ \ !! Action Pages\ \ The term *~ActionPage* refers to a page containing a plugin invocation.\ An *action* is together with the *pagename* argument the a basic PhpWiki argument.\ It can both be GET or POST actions. Actions are untranslated, always english.\ Basic (and old) actions are all lowercase, like edit, browse, remove, ...\ Newer actions in PhpWiki:CamelCase are invoked via plugins on their specific action page.\ \ We decoupled actions from plugins via action pages for the following reasons:\ \ # support translated action buttons and customizable action descriptions.\ # customize standard actions by tuning the plugin invocation arguments. override or add plugin defaults.\ # split simple plugins into multiple actions, like RecentChanges/RecentEdits, MostPopular/LeastPopular,\ AllPages/AllPagesCreatedByMe/AllPagesLastEditedByMe/AllPagesOwnedByMe which differ only in one argument.\ \ * Those actions which have buttons or links in the theme or are referenced in the standard pgsrc\ pageset require their (possibly localized) actionpages, otherwise the actions will not work.\ * If the localized actionpage is not found the english version is used.\ * If no actionpage is found, it is recommended to do action=upgrade, which imports all missing\ and required action pages into the database.\ \ So for a hypothetical new ~MyActionPage plugin ~MyActionPage will invoke the plugin and\ ~MyActionPagePlugin is the the description.\ \ !!! Existing Plugins\ \ See PluginManager for a detailed list. Most plugins should have their own description page with the name\ *Plugin* appended.\ \ \ \ !!! Contributed Plugins\ \ See PhpWiki:CategoryContributedPlugin.\ \ \ \ -----\ PhpWikiDocumentation a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5867 1 1431503103 0 OrphanedPages are those pages which don't have any links to them.\ \ ----\ \ a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5868 1 1431503103 0 This plugin allows you to list the history of edits by a particular\ author; you can specify the page name as well (default is the current\ page).\ \ \ \ \ \ \ \ The second example will default to the current page. We can't provide\ examples for you since we don't know any potential usernames for your\ wiki.\ \ -------------\ \ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5869 1 1431503103 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5870 1 1431503103 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5871 1 1431503104 0 ! Synopsis\ OldTextFormattingRules%%%\ Emphasis: '' for italics, _~_ for bold, ''_~_ for both.%%%\ Lists: * for bullet lists, # for numbered lists, ; term : definition for definition lists.%%%\ References: ~JoinCapitalizedWords or use square brackets for a ~[page link] or URL ~[~http://cool.wiki.int/].%%%\ Footnotes: Use ~[1],~[2],~[3],...%%%\ Preventing linking: Prefix with "~!": ~!~DoNotHyperlink, name links like ~[~[text | URL] (double up on the "[").%%%\ Misc: "~!", "~!~!", "~!~!~!" make headings, "%%%" makes a linebreak, "----" makes a horizontal rule.%%%\ Tables: »|« as first char, »|« for more columns, »|>« align right, »|<« align left, »|^« centered (default), »||« span columns, »|v« span rows\ \ ----\ ! Paragraphs\ \ * Don't indent paragraphs\ * Words wrap and fill as needed\ * Use blank lines as separators\ * Four or more minus signs make a horizontal rule\ * %%% makes a linebreak (in headings and lists too)\ \ \ ! Lists\ \ * asterisk for first level\ * asterisk-asterisk for second level, etc.\ * Use * for bullet lists, # for numbered lists (mix at will)\ * semicolon-term-colon-definition for definition lists:\ ;term here:definition here, as in the
list\ * One line for each item\ * Other leading whitespace signals preformatted text, changes font.\ \ ! Headings\ \ * '~!' at the start of a line makes a small heading\ * '~!~!' at the start of a line makes a medium heading\ * '~!~!~!' at the start of a line makes a large heading\ \ ! Fonts\ \ * Indent with one or more spaces to use a monospace font:\ \
\
 This is in monospace\
\ This is not\ \ !Indented Paragraphs\ \ * semicolon-colon -- works like
\ \ ;:this is an indented block of text\ \ ! Emphasis\ \ * Use doubled single-quotes ('') for emphasis (usually italics)\ * Use doubled underscores (__) for strong emphasis (usually bold)\ * Mix them at will: bold italics\ * Emphasis can be used multiple times within a line, but cannot cross line boundaries:\ \ ''this\ will not work''\ \ ! References\ * Hyperlinks to other pages within the Wiki are made by placing the page name in square brackets: [this is a page link] or UsingWikiWords (preferred)\ * Hyperlinks to external pages are done like this: [http://www.wcsb.org/]\ * You can name the links by providing a name, a bar (|) and then the hyperlink or pagename: [PhpWiki home page | http://phpwiki.sourceforge.net/] - [the front page | HomePage]\ * You can suppress linking to old-style references and URIs by preceding the word with a '~!', e.g. ~NotLinkedAsWikiName, ~http://not.linked.to/\ * You can create footnotes by using ~[1], ~[2], ~[3], ... like this here #[|ftnt_ref_1]~[[1|#ftnt_1]~]. See footnote for counterpart. (If the ~[ is in the first column, it is a footnote definition rather than a footnote reference #[|ftnt_ref_1]~[[1|#ftnt_1]~].)\ * Also, the old way of linking URL's is still supported: precede URLs with "http:", "ftp:" or "mailto:" to create links automatically as in: http://c2.com/\ * URLs ending with .png, .gif, or .jpg are inlined if in square brackets, by themselves: [http://phpwiki.sourceforge.net/demo/themes/default/images/png.png]\ \ ! Tables\ \ * Simple tables are available. A table row is introduced by a | in the first column. It is best described by example:\
\
      ||  __Name_~_               |v __Cost_~_   |v __Notes_~_\
      | __First_~_   | __Last_~_\
      |> Jeff       |< Dairiki   |^  Cheap     |< Not worth it\
      |> Marco      |< Polo      | Cheaper     |< Not available\
\ ;:will generate\ Name |v Cost |v Notes\ | First | Last\ |> Jeff |< Dairiki |^ Cheap |< Not worth it\ |> Marco |< Polo | Cheaper |< Not available\ ?>\ \ ;:Note that multiple |'s lead to spanned columns, and v's can be used to span rows. A > generates a right justified column, < a left justified column and ^ a centered column (which is the default.)\ ;:With the new TextFormatingsRules tables are only supported with the OldStyleTablePlugin.\ \ \ ! HTML Mark-Up Language\ \ * Don't bother\ * < and > are themselves\ * The & characters will not work\ * If you really must use HTML, your system administrator can enable this feature. Start each line with a bar (|). Note that this feature is disabled by default.\ \ ! More detail than you want to know\ \ See [MagicPhpWikiURLs] for gory details on how to write various kind of wiki maintainance links. (deprecated)\ \ -----\ \ ! Footnotes:\ \ #[|ftnt_1]~[[1|#ftnt_ref_1]~] By using ~[1] a second time (in the first column) the footnote itself is defined. You may refer to a footnote as many times as you want, but you may only define it once on the page. Note the the ~[1] in the footnote links back to the first reference, if there are multiple references there will be +'s after the ~[1] which will link to the other references. (References which come after the footnote definition will not be linked to.)\ ----\ PhpWikiDocumentation a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5877 1 1431503104 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5878 1 1431503104 0 Detailed view of a page, which is probably more useful for debugging\ than anything else.\ \ a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5879 1 1431503104 0 This plugin will "include" other pages in this wiki. In the language of hypertext this is called transclusion. The pages will render in distinct tables. You can also load external pages in a more limited fashion with the FrameIncludePlugin. Examples:\ \ \ \ \ \ -----\ \ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5882 1 1431503104 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5883 1 1431503104 0 The SearchHighLight WikiPlugin is an internal actionpage plugin,\ which is only used internally.\ \ When someone is referred from a search engine like Google, Yahoo\ or our own fulltextsearch, the terms the user searched for are highlighted.\ See also http://wordpress.org/about/shots/1.2/plugins.png\ \ !! Plugin Arguments\ __s__: |\ The search term\ __case_exact__: |\ boolean.\ __regex__: |\ boolean. a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5885 1 1431503104 0 The PhpHighlightPlugin pretty-prints PHP code using the\ php-function:highlight-string.\ \ See also SyntaxHighlighterPlugin for highlighting other languages.\ \ !!! Usage\ \ You specify options for the plugin on the same line as the ==:\ \ \ \ \ \ !!! Description\ \ Depending on the =wrap= option, then the plugin will take care of\ adding == to the code before passing it to\ php-function:highlight-string. If the PHP delimiters were added, then\ the plugin removes them again from the highlighted string, before\ presenting it.\ \ !!! Options\ \ Automatic Wrapping:\ \ If you don't want the plugin to automatically wrap the source code\ in ==, then set =wrap= to =0=. The default value is =1=\ which means that the plugin takes care of adding and removing\ == automatically.\ \ If you set =wrap= to =0=, then you'll be able to mix PHP code with\ HTML. The plugin will then translate '=< ?php=' into '==' into '=?>=' to allow you to start and stop PHP mode in your\ code.\ \ Color Options:\ \ The plugin accepts optional color arguments which correspond to the\ highlight settings in *php.ini*. Specified colors must be a valid\ hexadecimal color or\ [HTML 4 color name|http://www.w3.org/TR/REC-html40/types.html#h-6.5]\ in lowercase, such as ='#0f0344'= or =blue=. You can set the\ following options:\ \ =string=, =comment=, =keyword=, =bg=, =default=, and =html=\ \ !!! Examples\ \ !! PHP with default colors from =php.ini=:\ \ ";\ }\ ?>\ \ !! HTML with embedded PHP\ \ Here we have to use =wrap=0= to prevent automatic wrapping, and escape\ '=?>=' as '=? >=':\ \ \ \ PHP Test\ \ \ < ?php echo "

Hello World

\\n"; ? >\ \ \ ?>\ \ !! C Source\ \ Although =highlight_string()= was designed with PHP code in mind it is\ suitable for basic syntax-highlighting of most C code because the two\ syntax are similar.\ \ \ /* Get load */\ int\ getload(void)\ {\ if ((fp = fopen("/proc/loadavg", "r")) == NULL) {\ syslog(LOG_ERR, _("%s %s: unable to open %s: %s"), _("FATAL ERROR:"),\ "getload()", "/proc/loadavg", strerror(errno));\ exit(EX_OSFILE);\ }\ fclose(fp);\ }\ ?>\ \ !!! Authors\ \ Martin Geisler mailto:gimpster@gimpster.com and Carsten Klapp\ mailto:carstenklapp@users.sourceforge.net.\ \ -----\ \ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5887 1 1431503104 0 This plugin allows you to add/edit/delete metadata key/value pairs for a given page. You must be logged in as the administrator to do this. The page's metadata contains things like the page hit count, last edit time and so on.\ \ Editing the metadata for the homepage would look like this:\ ------\ \ ------\ With no arguments the plugin defaults to the current page:\ ------\ \ \ -----\ \ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5888 1 1431503104 0 The Inter Wiki map used on this wiki is listed below. The map is taken\ from the text in the verbatim block below. (But this only works if\ this page is locked.)\ \ AIWiki http://www.ifi.unizh.ch/ailab/aiwiki/aiw.cgi?\ ALife http://news.alife.org/wiki/index.php?\ AbbeNormal http://www.ourpla.net/cgi-bin/pikie.cgi?\ AcadWiki http://xarch.tu-graz.ac.at/autocad/wiki/\ Acronym http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=\ Advogato http://www.advogato.org/\ Annotation http://bayle.stanford.edu/crit/nph-med.cgi/\ AnnotationWiki http://www.seedwiki.com/page.cfm?wikiid=368&doc=\ AviSynth http://www.avisynth.org/\ AwarenessWiki http://taoriver.net/aware/\ BcWireless http://www.bcwireless.net/wiki-moinmoin/moin.cgi/\ BenefitsWiki http://www.benefitslink.com/cgi-bin/wiki.cgi?\ BridgesWiki http://c2.com/w2/bridges/\ bsdWiki http://profile.sh/syswiki/index.php?\ C2find http://c2.com/cgi/wiki?FindPage&value=\ CLiki http://ww.telent.net/cliki/\ Cache http://www.google.com/search?q=cache:\ Category Category\ CmWiki http://www.ourpla.net/cgi-bin/wiki.pl?\ CreationMatters http://www.ourpla.net/cgi-bin/wiki.pl?\ CPAN http://search.cpan.org/\ DeWikiPedia http://de.wikipedia.org/wiki/\ DejaNews http://www.deja.com/=dnc/getdoc.xp?AN=\ Dict http://www.dict.org/bin/Dict?Database=*&Form=Dict1&Strategy=*&Query=\ Dictionary http://www.dict.org/bin/Dict?Database=*&Form=Dict1&Strategy=*&Query=\ DiveIntoOsx http://diveintoosx.org/\ DocBook http://docbook.org/wiki/moin.cgi/\ DolphinWiki http://www.object-arts.com/wiki/html/Dolphin/\ DseWiki http://www.wikiservice.at/dse/wiki.cgi?\ EfnetCeeWiki http://purl.net/wiki/c/\ EfnetCppWiki http://purl.net/wiki/cpp/\ EfnetPythonWiki http://purl.net/wiki/python/\ EfnetXmlWiki http://purl.net/wiki/xml/\ EljWiki http://elj.sourceforge.net/phpwiki/index.php/\ EmacsWiki http://www.emacswiki.org/cgi-bin/wiki.pl?\ EoWikiPedia http://eo.wikipedia.org/wiki/\ FinalEmpire http://final-empire.sourceforge.net/cgi-bin/wiki.pl?\ Foldoc http://www.foldoc.org/foldoc/foldoc.cgi?\ FoxWiki http://fox.wikis.com/wc.dll?Wiki~\ FrWikiPedia http://fr.wikipedia.org/wiki/\ FreeBSDman http://www.FreeBSD.org/cgi/man.cgi?apropos=1&query=\ FreeNetworks http://www.freenetworks.org/index.cgi/\ FreshMeat http://freshmeat.net/\ Froogle http://froogle.google.com/froogle?q=\ Google http://www.google.com/search?q=\ GoogleGroups http://groups.google.com/groups?q=\ GreenCheese http://www.greencheese.org/\ HammondWiki http://www.dairiki.org/HammondWiki/index.php3?\ Haribeau http://wiki.haribeau.de/cgi-bin/wiki.pl?\ IAWiki http://www.IAwiki.net/\ IMDB http://us.imdb.com/Title?\ ISBN http://www.amazon.com/exec/obidos/ISBN=\ IfDef http://ifdef.undef.net/\ JTF http://www.justthefaqs.org/?page=\ JargonFile http://sunir.org/apps/meta.pl?wiki=JargonFile&redirect=\ JiniWiki http://www.cdegroot.com/cgi-bin/jini?\ JspWiki http://www.ecyrd.com/JSPWiki/Wiki.jsp?page=\ KmWiki http://www.voght.com/cgi-bin/pywiki?\ KnowHow http://www2.iro.umontreal.ca/~paquetse/cgi-bin/wiki.cgi?\ LanifexWiki http://opt.lanifex.com/cgi-bin/wiki.pl?\ LegoWiki http://www.object-arts.com/wiki/html/Lego-Robotics/\ LinuxWiki http://www.linuxwiki.de/\ LugKR http://lug-kr.sourceforge.net/cgi-bin/lugwiki.pl?\ MACCAWS http://www.maccaws.com/wiki/\ MathSongsWiki http://SeedWiki.com/page.cfm?wikiid=237&doc=\ MbTest http://www.usemod.com/cgi-bin/mbtest.pl?\ MeatBall http://www.usemod.com/cgi-bin/mb.pl?\ MetaWiki http://sunir.org/apps/meta.pl?\ MetaWikiPedia http://meta.wikipedia.com/wiki/\ MoinMoin http://moinmoin.wikiwikiweb.de/\ MoinMaster http://moinmaster.wikiwikiweb.de/\ MuWeb http://www.dunstable.com/scripts/MuWebWeb?\ NetVillage http://www.netbros.com/?\ OpenWiki http://openwiki.com/?\ OrgPatterns http://www.bell-labs.com/cgi-user/OrgPatterns/OrgPatterns?\ PPR http://c2.com/cgi/wiki?\ PangalacticOrg http://www.pangalactic.org/Wiki/\ PersonalTelco http://www.personaltelco.net/index.cgi/\ php-function http://www.php.net/%s\ php-lookup http://www.php.net/manual-lookup.php?pattern=\ PhpWiki http://phpwiki.sourceforge.net/phpwiki/\ PhpWikiCvs http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpwiki/phpwiki/\ PhpWikiDemo http://phpwiki.sourceforge.net/demo/\ PhpWikiTest http://phpwiki.sourceforge.net/test/\ Pikie http://pikie.darktech.org/cgi/pikie?\ PlWikiPedia http://pl.wikipedia.org/wiki/\ PolitizenWiki http://www.politizen.com/wiki.asp?\ PoundPython http://twistedmatrix.com/wiki/python/\ PurlNet http://www.palowireless.com/zigbee/\ PyWiki http://www.voght.com/cgi-bin/pywiki?\ PythonInfo http://www.python.org/cgi-bin/moinmoin/\ PythonWiki http://www.pythonwiki.de/\ RFC http://www.faqs.org/rfcs/rfc%s.html\ RussellFreedom http://www.russellfreedom.com/\ SVGWiki http://www.protocol7.com/svg-wiki/default.asp?\ SeaPig http://www.seapig.org/ \ SeattleWireless http://seattlewireless.net/?\ SenseisLibrary http://senseis.xmp.net/?\ Shakti http://cgi.algonet.se/htbin/cgiwrap/pgd/ShaktiWiki/\ SourceForge http://sourceforge.net/\ Squeak http://minnow.cc.gatech.edu/squeak/\ StrikiWiki http://ch.twi.tudelft.nl/~mostert/striki/teststriki.pl?\ TMwiki http://www.EasyTopicMaps.com/?page=\ TWiki http://twiki.org/cgi-bin/view/\ Tavi http://tavi.sourceforge.net/index.php?\ Thesaurus http://www.thesaurus.com/cgi-bin/search?config=roget&words=\ Thinki http://www.thinkware.se/cgi-bin/thinki.cgi/\ TmNet http://www.technomanifestos.net/?\ Unreal http://wiki.beyondunreal.com/wiki/\ UseMod http://www.usemod.com/cgi-bin/wiki.pl?\ VisualWorks http://wiki.cs.uiuc.edu/VisualWorks/\ WakkaWiki http://www.wakkawiki.com/\ WebDevWikiNL http://www.promo-it.nl/WebDevWiki/index.php?page=\ WebSeitzWiki http://webseitz.fluxent.com/wiki/\ Why http://clublet.com/c/c/why?\ Wiktionary http://wiktionary.org/wiki/\ Wiki http://c2.com/cgi/wiki?\ WikiLens http://www.wikilens.org/wiki.php/\ WikiWikiWireless http://www.andaluciawireless.net/\ Wikibooks http://wikibooks.org/wiki/\ WikiPedia http://www.wikipedia.com/wiki/\ Wikiquote http://wikiquote.org/wiki/\ Wikisource http://wikisource.org/wiki/\ WikiWorld http://WikiWorld.com/wiki/index.php/\ WikkiTikkiTavi http://tavi.sourceforge.net/\ WLUG http://www.wlug.org.nz/\ YpsiEyeball http://sknkwrks.dyndns.org:1957/writewiki/wiki.pl?\ ZWiki http://www.zwiki.org/\ OsFaq2 http://www.mega-tokyo.com/osfaq2/index.php/\ \ a:4:{s:8:"pagetype";s:12:"interwikimap";s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";} 6021 1 1431503104 0 \ \ WikiPlugin to create a dynamical *Table Of Contents* of all headers. Since v1.3.8\ \ !! Usage\ \ \ \ \ \ !! Plugin Arguments\ __jshide__: |\ Boolean if the TOC should be initially hidden and on click expanded. Default: 0\ __with_toclink__: |\ Boolean if headers should link back to the TOC. Default: 0\ __headers__: |\ Which headers to include. Default: !!!,!!,! 1,2,3 also allowed\ __noheader__: |\ Boolean if the "Table of Contents" h2 header should be omitted. Default: 0\ __liststyle__: |\ dl or ol or ul. Default: dl\ __indentstr__: |\ Default:   \ __pagename__: |\ TOC of which page? Default: current pagename\ \ !! Known Problems\ \ If any header contains a link or a ~WikiWord or non-word characters, ~CreateToc will print a warning and refuse to link this header.\ \ !! Examples\ \ See for example PhpWikiDemo:en/TextFormattingRules\ -------------\ \ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5866 1 1431503104 0 !! Contents\ \ \ \ ! Pages in this category:\ \ a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6022 1 1431503104 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6023 1 1431503104 0 Here's a list of all recently changed pages on this wiki, not just the\ most recent ones found in RecentChanges. (See RecentEdits for all\ recent minor edits and changes).\ \ --------\ \ a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6024 1 1431503104 0 WikiPlugin to let users attach comments to the end of a page. Since v1.3.8.\ Change the layout via the templates comment.tmpl and addcomment.tmpl, and the CSS classes\ wikicomment, wikicomment-header, wikicomment-body, wikicomment-footer\ \ !! Usage\ \ \ \ \ !! Plugin Arguments\ __jshide__: |\ Boolean if the comments and/or textbox should be initially hidden and on click expanded. Default: 0\ __order__: |\ List comments in chronological (order=normal) or reverse order (order=reverse)\ __mode__: |\ List of add and/or show. Default: add,show\ __noheader__: |\ Boolean if the "Comments" h2 header should be omitted. Default: 0\ __pagename__: |\ Attach to which page? Default: current pagename\ \ !! Known Problems\ \ jshide does not work yet. Not very well tested.\ \ !! Examples\ \ \ \ -------------\ \ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5858 1 1431503104 0 Here's a list of recently changed pages on this wiki. (See RecentEdits\ for all recent minor edits and changes).\ \ --------\ a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6025 1 1431503104 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6026 1 1431503104 0 The CalendarPlugin can be used to generate a monthly calendar in a\ wiki page. It's handy for PersonalWiki~s.\ \ Individual dates in the calendar link to specially named wiki pages.\ The names for the "day pages" are by default formed by appending the\ date to the pagename on which the calendar appears.\ \ _This feature was inspired by [Manila|http://manila.userland.com/],\ and first implemented by GaryBenson. It was later implemented as a\ WikiPlugin by JeffDairiki._\ \ !!Usage:\ \ \ \ \ \ will get you:\ \ \ --------\ \ !! Plugin Arguments\ \ !Selection of Month\ \ year:\ \ Specify the year for the calendar. (Default: current year.)\ \ month:\ \ Specify the month for the calendar. (Default: current month.)\ \ month_offset:\ \ Added to ''month''. Can be used to include several months worth of\ calendars on a single wiki page.\ \ \ \ !"Day Page" Names\ \ date_format:\ \ [Strftime| php-function:strftime] style format string used to\ generate page names for the "day pages." The default value is\ =%Y-%m-%d=.\ \ prefix:\ \ Prepended to the date (formatted per ''date_format'') to generate\ the "day page" names. The default value is =~[pagename]/=.\ \ !Appearance\ \ month_format:\ \ [Strftime| php-function:strftime] style format string used to\ generate the title of the calendar. (Default: =%B, %Y=.)\ \ wday_format:\ \ [Strftime| php-function:strftime] style format string used to\ generate the day-of-week names at the top of the calendar.\ \ start_wday:\ \ What day of the week does the calendar start on. This should be\ specified as an integer in the range zero (Sunday) through six\ (Saturday), inclusive.\ \ \ \ -----\ \ ! Patch for 1.2\ \ GaryBenson wrote the first calendar implementation for PhpWiki 1.2.\ (Since 1.2 doesn't support plugins, it uses a =###CALENDAR###= token\ as a trigger.) Gary provides a screenshot at [ http://inauspicious.org/files/screenshots/calender.png | screenshot ],\ a [patch | http://inauspicious.org/files/phpwiki/phpwiki-1.2.0-calendar.patch] (on 1.2.0), and\ [calendar.php | http://inauspicious.org/files/phpwiki/calendar.php]\ (which renders a view of the year.)\ \ ----\ \ PhpWikiDocumentation a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6031 1 1431503104 0 LikePages are pages which share an initial or final word with that\ page. See also Wiki:LikePages and MeatBall:LikePages.\ \ ----\ \ a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6032 1 1431503104 0 !!! Synopsis\ \ The CommentPlugin lets you hide parts of a Wiki page without actually\ deleting the text. Comments will only be visible in the Wiki markup\ when editing or viewing the source.\ \ !!! Usage\ \ Simply place the text to be commented out between ==:\ \ \ \ \ \ !!! Author\ \ Martin Geisler mailto:gimpster@gimpster.com.\ \ \ ----\ WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6033 1 1431503104 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5860 1 1431503104 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6034 1 1431503105 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6035 1 1431503105 0 The ListPagesPlugin is the simpliest plugin to explicitly list a set of pages with all available\ [pagelist|PhpWiki:PageList] options, mainly used for a wikilens theme to display ratings info\ and recommendations.\ \ It can also be used with the PhpWiki:PluginList method to list a set of pages generated by\ another plugin, and/or to exclude a set of pages generated by another plugin.\ \ See the PhpWiki:PageList options.\ \ Usage:\ \ \ \ exclude=ListPagesPlugin,WikiPlugin ?>\ \ \ -------------\ \ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6036 1 1431503105 0 !! Synopsis\ \ A WikiPlugin to display external RSS feeds.\ \ !! Usage\ \ \ \ \ \ !! Plugin Arguments\ Argument|\ Default Value|\ Description\ \ url|\ (empty)|\ RSS Feed URL\ \ feed|\ (empty)|\ RSS Feed Name\ \ description|\ (empty)|\ Description of the RSS Feed\ \ maxitem|\ 0|\ Max. number of entries (0 = unlimited)\ \ !! Sourcecode (since v1.3.8):\ * [PhpWikiCvs:lib/plugin/RssFeed.php]\ * [PhpWikiCvs:lib/RssParser.php] _fixed for allow_url_fopen=Off_\ \ !! Examples\ \ * PhpWikiRss _feed for PhpWiki:RecentChanges_\ \ \ \ \ * [PhpWikiDemo:sidebar/] _Example as sidebar box_\ \ -------------\ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6038 1 1431503105 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6039 1 1431503105 0 AppendText is a WikiPlugin to automatically add text to a page. For general\ usage better use the AddCommentPlugin.\ \ \ \ \ \ !! Plugin Arguments\ __page__: |\ Append to which page. Default: Current page.\ __s__: |\ What text to add. Note: A \\n is always prepended.\ __before__: |\ (Optional) Add before the matching line beginning with before.\ __after__: |\ (Optional) Add after the matching line beginning with after.\ \ !! Examples\ \ Add from a list of all available plugins one to the current page.\ \ \ \ ?>\ \ \ Add from a list of all available Categories to the current page.\ \ \ \ ?>\ \ ----\ PhpWikiDocumentation a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6040 1 1431503105 0 !!! Summary\ Makes an 'album' by displaying a set of photos listed in a text file\ with optional descriptions.\ \ !!! Usage\ \ false\ ?>\ \ \ !!! Arguments\ ''Only the ='src'= parameter is mandatory.''\ \ __src__:\ Url or local path to a CSV textfile which separates filename and\ description of\ each photo. Photos listed in the text file have to be in same\ directory as the file. Descriptions are optional.\ If the the local path points to a directory, is relative from PHPWIKI_DIR,\ and the main script is in PHPWIKI_DIR, weblocation must not be given, and\ all pictures from this directory are displayed.\ \ __weblocation__:\ Optional path if the src points to a local dir, and the links on the\ photos don't work.\ \ __mode__:\ Specifies how the images are arranged, ='column'= means vertically,\ ='row'= means horizontally. Default is ='row'=.\ \ __align__:\ Only applicable to column mode. Default is ='center'=.\ \ __desc__:\ Display any descriptions given in the text file. Default is true.\ \ __sort__:\ Sort images by file name. By default the order in the text file is\ followed.\ \ __height__, __width__:\ Height and width are calculated compared to original metrics\ retrieved by [php-function:getimagesize] and can be absolute or a\ percentage (e.g. "50%").\ \ !!! Examples\ !! Text file\ Possible content of a valid text file:\ \ \ photo-01.jpg; My girlfriend and I\ photo-02.jpg\ christmas.gif; Merry Christmas!\ \ \ !! Sample Album\ local dir:\ \ or via external url:\ \ \ ?>\ \ !!! Plugin Author\ [Ted Vinke|mailto:teddy@jouwfeestje.com] \ ----\ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6041 1 1431503105 0 \ ----\ ! Synopsis\ *Emphasis:* ~_ for _italics_, ~* for *bold*,\ ~_~* for _*both*_, ~= for =fixed width=.%%%\ *Lists:* ~* for bullet lists, # for numbered lists,\ _Term:~ definition_ for definition lists.%%%\ *Preformatted text:* Enclose text in ~
~
or\ ~~.%%%\ *Indented text:* Indent the paragraph with whitespaces.%%%\ *References:* ~JoinCapitalizedWords or use square brackets for a\ ~[page link] or URL ~[~http://cool.wiki.int/].%%%\ *Preventing linking:* Prefix with "~~":\ ~~~DoNotHyperlink, name links like ~[text | URL].%%%\ *Misc:* "!", "!!", "!!!" make headings,\ "~%%%" or "~
" makes a linebreak,\ "~----" makes a horizontal rule.%%%\ *Allowed HTML tags:* b big i\ small tt em strong\ abbr acronym cite\ code dfn kbd samp\ var sup sub\ \ ----\ \ !!! Character Formatting\ \ * All special non-whitespace HTML characters are displayed as-is. Exceptions below.\ * See [Emphasis|TextFormattingRules#Emphasis].\ * There's no syntax for font tags or color attributes.\ * The tilde '~~' is the _Escape Character_:\ ** A single tilde '~~' followed by nothing gets rendered as a single tilde. => ~\ ** Two tilde '~~~~' get rendered as a single tilde. => ~~\ ** A single tilde before a link ('~~http~:~/~/foo.bar') prevents linking.\ => ~http://foo.bar\ ** Two tildes before a link ('~~~~http~:~/~/foo.bar') produce a tilde\ followed by the hyperlinked URL.\ => ~~http://foo.bar\ ** A tilde inside an URL gets removed, unless it's formatted inside\ ~[ ~] brackets.\ Two tildes inside an URL (without brackets) become a single tilde.\ => [http://foo.bar/~user] or http://foo.bar/~~user\ * Special non-ascii or non-latin characters are printed as-is only if supported\ by the native wiki CHARSET. Add such characters on a non-supported CHARSET with the RawHtmlPlugin if it is enabled by the Admin and e.g. the &#num; syntax. %%%\ E.g. These japanese euc-jp chars 'から 新規ページ' on this == wiki.\ And with the plugin: %%%\ And this is how it should like: [http://phpwiki.sourceforge.net/demo/images/chars-releasenotes-japanese.png]\ \ !!! Paragraphs\ \ * Don't indent paragraphs\ * Words wrap and fill as needed\ * Use blank lines as separators\ * Four or more minus signs make a horizontal rule\ * =~%%%= or =~
= makes a linebreak (in headings and lists too)\ \ \ !!! Lists\ \ * asterisk for first level\ * indented asterisk (indent at least two spaces) for second level, etc.\ * Use ~*, -, + or o for bullet\ lists, # for numbered lists (mix at will)\ * Definition lists:\
\
  Term:\
    definition\
  
\ gives\ Term:\ definition\ as in the =
= list\ * Items may contain multiple paragraphs and other multi-lined content,\ just indent the items\ \ \ !!! Headings\ \ * '=!=' at the start of a line makes a small heading\ * '=!!=' at the start of a line makes a medium heading\ * '=!!!=' at the start of a line makes a large heading\ \ \ !!! Preformatted text\ \ * Place preformatted lines inside =~
=:\
  \
  
\
  Preformatted text. WikiLinks still work.\
  
\
\ gives\
\
  Preformatted text. WikiLinks still work.\
  
\ * If you want text with no Wiki interaction, use the =~= tag:\
\
  \
  Preformatted text. ~WikiLinks do not work.\
  \
  
\ gives\ \ Preformatted text. WikiLinks do not work.\ \ \ \ !!!Indented Paragraphs\ \ * Two or more whitespaces signal indented text. Indents may be nested.\ \ This is an indented block of text.\ \ This block is even more indented.\ \ * E-mail style block-quoting is supported as well:\
\
  > This is block-quoted text.\
  
\ renders as\ \ > This is block-quoted text.\ \ \ !!! Emphasis\ \ * Use an underscore (~_) for emphasis (usually _italics_)\ * Use an asterisk (~*) for strong emphasis (usually *bold*)\ * Mix them at will: *_bold italics_*\ * _Emphasis_ can be used _multiple_ times within a paragraph, but\ _cannot_ cross paragraph boundaries:\ \ _this\ \ will not work_\ \ !!! References\ \ * Hyperlinks to other pages within the Wiki are made by placing the\ page name in square brackets: [this is a page link] or\ UsingWikiWords (preferred)\ * Hyperlinks to external pages are done like this:\ [http://www.wcsb.org/]\ * You can name the links by providing a name, a bar (|) and then the\ hyperlink or pagename:\ [PhpWiki home page | http://phpwiki.sourceforge.net/] ---\ [the front page | HomePage]\ * You can suppress linking to old-style references and URIs by\ preceding the word with a '~~', e.g. ~NotLinkedAsWikiName,\ ~http://not.linked.to/\ * Also, the old way of linking URL's is still supported: precede URLs\ with "http:", "ftp:" or "mailto:" to\ create links automatically as in: http://c2.com/\ * URLs ending with =.png=, =.gif=, or =.jpg= are inlined if in square\ brackets, by themselves.\ * In-page #[hyperlinks] are made by placing a named anchor and\ referring to the anchor in a hyperlink:\ * Named anchors:\ * ~#~[foo]: An anchor around the text "foo" with id\ "foo".\ * ~#~[|foo]: An empty anchor with id "foo".\ * ~#~[howdy|foo]: An anchor around the text "howdy" with\ id "foo".\ * References to name anchors are made thusly:%%%\ ~[~#[#hyperlinks]], ~[~OtherPage#foo],\ ~[named|~OtherPage#foo].\ \ \ !!! Tables\ \ * Definition list style tables are written just like definition lists,\ except that you replace the trailing colon on the term with a "pipe"\ (|).\ \
\
  Term 1 |\
     Definition 1 begins here.\
     Term 1.1 |\
        Definition 1.1\
     Term 1.2 |\
        Definition 1.2\
     This is part of definition 1.\
  Term 2 |\
     Here's definition 2.\
  
\ \ Term 1 |\ Definition 1 begins here.\ Term 1.1 |\ Definition 1.1\ Term 1.2 |\ Definition 1.2\ This is part of definition 1.\ Term 2 |\ Here's definition 2.\ \ * Old-style tables are supported through the OldStyleTablePlugin:\ \ !!! HTML Mark-Up Language\ \ * Some in-line markup is allowed through the use of HTML tags:\ b, big, i, small,\ tt, em, strong,\ abbr, acronym, cite,\ code, dfn, kbd,\ samp, var, sup and sub\ * < and > are themselves\ * The & characters will not work\ \ !!! Creating various kinds of special links\ \ * See [MagicPhpWikiURLs] for gory details on how to write various kind\ of wiki maintenance and other special links.\ \ !!! Inserting plugins\ \ * Several plugins permit embedding additional functionality to Wiki\ pages. For example,\ \ \ \ gives\ \ \ * For more information on plugins see WikiPlugin, and PluginManager for a list of all\ plugins.\ \ ----\ \ PhpWikiDocumentation a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6044 1 1431503105 0 __Upload a file which will be accessible by typing:__\ \ Upload:num_rev/filename\ \ ----\ \ ---- a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6045 1 1431503105 0 WikiPlugin to easily create new pages, optionally with default content. Since v1.3.8\ \ This allows you to create a page geting the new pagename from a\ forms-based interface, and optionally with the initial content from\ some template.\ \ Put a "<~?plugin-form ~CreatePage ?~>" at some page, browse this page,\ enter the name of the page to create, then click the button.\ \ !! Usage\ \ \ \ \ \ \ !! Plugin Arguments\ *s*: |\ The pagename, which will passed to the plugin. Default: ""\ *initial_content*: |\ The new page will be pre-filled with this content. Default: ""\ *template*: |\ The new page will be pre-filled with the content of this page. Default: ""\ *vars*: |\ variables to be expanded. Default: ""\ *overwrite*: |\ Whether to overwrite an existing page. Default: ""\ \ !! Known Problems\ \ None\ \ !! Variable Expansion\ \ The content (either initial_content or template) might hold some variables, which will be\ expanded on creation. Unassigned variables will stay as %%%%, assigned variables without\ matching %%%% placeholder will be ignored, without any warning.\ \ A variable in a template is denoted as %%var%%, which will be expanded by the\ value of var given to the vars argument (in urlencoded php notation).\ \ Some special variables are automatically assigned:\ \ %%ctime%% |\ $WikiTheme->formatDateTime(time())\ %%author%% |\ $user->getId()\ \ This forms together with page templates and the PhpWiki:WikiFormRichPlugin and\ optionally the PhpWiki:SqlResultPlugin a framework to create templated pages.\ \ !! Authors\ \ Dan Frankowski, Reini Urban\ \ !! Examples\ \ \ \ See also PhpWiki:EasilyCreateNewPages, PhpWiki:WikiFormRichPlugin, PhpWiki:SqlResultPlugin\ \ -------------\ \ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 6047 1 1431503105 0 a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5855 1 1431503105 0 A simple example plugin.\ \ \ \ From the source of this page:\ \ \ \ \ \ -----\ PhpWiki's plugin architecture allows you to add custom page elements to your wiki. All you have to do is extend (subclass) the ~WikiPlugin class and create your output via the run() method, dependend on the Wiki- or Request arguments,\ \ * either with the predefined HTML classes to create valid XHTML,\ * or by using templates, which are easier customizable, but generally more a mess to use and easier to create invalid XHTML.\ \ \ * \ * \ */\ \ // Constants are defined before the class.\ if (!defined('THE_END'))\ define('THE_END', "!");\ \ class WikiPlugin_HelloWorld\ extends WikiPlugin\ {\ // Five required functions in a WikiPlugin.\ \ function getName () {\ return _("HelloWorld");\ }\ \ function getDescription () {\ return _("Simple Sample Plugin");\ \ }\ \ function getVersion() {\ return preg_replace("/[Revision: $]/", '',\ "\\$Revision: 1.5 $");\ }\ \ // Establish default values for each of this plugin's arguments.\ function getDefaultArguments() {\ return array('salutation' => "Hello,",\ 'name' => "World");\ }\ \ function run($dbi, $argstr, $request) {\ extract($this->getArgs($argstr, $request));\ \ // Any text that is returned will not be further transformed,\ // so use html where necessary.\ $html = HTML::tt(fmt('%s: %s', $salutation, WikiLink($name, 'auto')),\ THE_END);\ return $html;\ }\ };\ ?>\ -------------\ \ PhpWikiDocumentation WikiPlugin a:4:{s:6:"markup";s:1:"2";s:6:"author";s:28:"The PhpWiki programming team";s:9:"author_id";s:28:"The PhpWiki programming team";s:8:"pagetype";s:8:"wikitext";} 5854 1 1431503105 0 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\ * [PHP with GD support | php-function:ref.image] for the text2png plugin,\ * [LaTeX2HTML | ftp://ftp.dante.de/tex-archive/support/latex2html ] for the TexToPngPlugin and TeX2pngPlugin,\ * [graphviz | http://graphviz.org/] for the GraphVizPlugin and VisualWikiPlugin,\ * [ploticus | http://ploticus.sourceforge.net/] for the PloticusPlugin,\ * [phpweather | http://phpweather.sf.net] for the PhpWeatherPlugin,\ * [highlight | http://www.andre-simon.de/] for the SyntaxHighlighterPlugin,\ * a browser with [