]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - locale/fr/pgsrc/PluginWiki
bug fixes
[SourceForge/phpwiki.git] / locale / fr / pgsrc / PluginWiki
1 Date: Sun, 10 Feb 2002 21:03:46 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.2-jeffs-hacks)
3 X-Rcs-Id: $Id: PluginWiki,v 1.2 2002-02-12 21:07:53 carstenklapp Exp $
4 Content-Type: application/x-phpwiki;
5   pagename=PluginWiki;
6   flags=PAGE_LOCKED;
7   pgsrc_version="2 $Revision: 1.2 $";
8   charset=iso-8859-1
9 Content-Transfer-Encoding: binary
10
11 Les derniers hacks incluent le support de !PluginsWiki.
12
13 !WikiPlugins allow one to easily add new types of dynamic content (as well as other functionality) to
14 wiki pages within PhpWiki.  In this very wiki, the RecentChanges,  BackLinks, LikePages and DebugInfo
15 pages are all implemented using plugins.
16 I expect that the search result pages, as well as much PhpWikiAdministration will soon be implemented
17 via plugins as well.  (I think the oh-so-ugly [MagicPhpWikiURLs] can be replaced by plugins, too.)
18
19 !Example
20
21 Currently, one invokes a plugin by putting something like:
22
23   <?''''plugin !BackLinks?>
24
25 into a regular wiki-page.  That particular example produces as list
26 of pages which link to the current page.  Here it is:
27
28 <?plugin BackLinks?>
29
30 (This is great for Category and Topic pages.  You can use this to get
31 an automatic in-line listing of pages in the Category or Topic.)
32
33 !Details
34
35 (This is all subject to change.)
36
37 Plugins can take certain named arguments (most do).
38 The values of these arguments can be determined four different ways.
39 In order of precedence:
40 # The plugin invocation can specify the value for an argument, like so:
41 ;;: <?''''plugin !BackLinks page=!OtherPage ?>
42 # The argument can be specified via an HTTP query argument.  This doesn't happen (is not allowed) unle
43 ss the argument is mentioned in the plugin invocation:
44 ;;: <?''''plugin !BackLinks page ?>
45 # Default values specified in the plugin invocation:
46 ;;: <?''''plugin !BackLinks page||=!OtherPage ?>
47 # The plugin must supply default values for each argument it uses.  (The BackLinks plugin uses
48 the current page as the default value for the ''page'' argument.
49
50 !Existing Plugins
51 * BackLinks
52 * CalendarPlugin
53 * DebugInfo
54 * FullTextSearch
55 * IncludePage
56 * LikePages
57 * MostPopular
58 * PageHistory
59 * RecentChanges
60 * text2png
61 * TitleSearch
62 * ViewSource
63 * walkabout
64
65 !More Ideas for Plugins
66 * Integrate Search form with individual InterWiki map entries%%%
67   e.g. Search Php Website for:[     ] (Search)
68 * WantedPages, OrphanedPages, other various indexing schemes.
69 * Diff, PageHistory
70 * Redirect plugin -- <?''''plugin Redirect target=!OtherPage ?>
71 * 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.
72 -----
73 Pages in this category:
74 <?plugin BackLinks page=[pagename] noheader=1?>
75
76 * FullTextSearch: FindPage
77 * TitleSearch: LikePages (match_head, match_tail).
78
79 -----
80 DocumentationDePhpWiki