head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2003.05.08.18.10.16;	author chipx86;	state dead;
branches;
next	1.1;

1.1
date	2002.11.26.05.58.44;	author chipx86;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Death to this.
@
text
@Date: Sun, 10 Feb 2002 21:03:46 +0100
Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks)
X-Rcs-Id: $Id: PluginWiki,v 1.1 2002/11/26 05:58:44 chipx86 Exp $
Content-Type: application/x-phpwiki;
  pagename=PluginWiki;
  flags=PAGE_LOCKED;
  pgsrc_version="2 $Revision: 1.1 $";
  charset=iso-8859-1
Content-Transfer-Encoding: binary

Les derniers hacks incluent le support de !PluginsWiki.

!WikiPlugins allow one to easily add new types of dynamic content (as well as other functionality) to
wiki pages within PhpWiki.  In this very wiki, the RecentChanges,  BackLinks, LikePages and DebugInfo
pages are all implemented using plugins.
I expect that the search result pages, as well as much PhpWikiAdministration will soon be implemented
via plugins as well.  (I think the oh-so-ugly [MagicPhpWikiURLs] can be replaced by plugins, too.)

!Example

Currently, one invokes a plugin by putting something like:

  <?''''plugin !BackLinks?>

into a regular wiki-page.  That particular example produces as list
of pages which link to the current page.  Here it is:

<?plugin BackLinks?>

(This is great for Category and Topic pages.  You can use this to get
an automatic in-line listing of pages in the Category or Topic.)

!Details

(This is all subject to change.)

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:
;;: <?''''plugin !BackLinks page=!OtherPage ?>
# The argument can be specified via an HTTP query argument.  This doesn't happen (is not allowed) unle
ss the argument is mentioned in the plugin invocation:
;;: <?''''plugin !BackLinks page ?>
# Default values specified in the plugin invocation:
;;: <?''''plugin !BackLinks page||=!OtherPage ?>
# The plugin must supply default values for each argument it uses.  (The BackLinks plugin uses
the current page as the default value for the ''page'' argument.

!Existing Plugins
* BackLinks
* CalendarPlugin
* DebugInfo
* FullTextSearch
* IncludePage
* LikePages
* MostPopular
* PageHistory
* RecentChanges
* text2png
* TitleSearch
* ViewSource
* walkabout

!More Ideas for Plugins
* Integrate Search form with individual InterWiki map entries%%%
  e.g. Search Php Website for:[     ] (Search)
* WantedPages, OrphanedPages, other various indexing schemes.
* Diff, PageHistory
* Redirect plugin -- <?''''plugin Redirect target=!OtherPage ?>
* Insert XML/RSS/RDF news content from location=xxx where location is a parameter to the plugin, maybe include some formatting control of the output generated.
-----
Pages in this category:
<?plugin BackLinks page=[pagename] noheader=1?>

* FullTextSearch: FindPage
* TitleSearch: LikePages (match_head, match_tail).

-----
DocumentationDePhpWiki
@


1.1
log
@WOAH, massive commit. Sorry guys. Nothing to see here, ignore this.

/me waves his hands and mesmorizes you all so you'll forget.
@
text
@d3 1
a3 1
X-Rcs-Id: $Id: PluginWiki,v 1.2 2002/02/12 21:07:53 carstenklapp Exp $
d7 1
a7 1
  pgsrc_version="2 $Revision: 1.2 $";
@

