Differences between version 6 and predecessor to the previous major change of WikiPlugin.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Saturday, May 7, 2005 8:54:59 am | by AristotlePagaltzis | Revert |
Older page: | version 3 | Last edited on Wednesday, March 16, 2005 12:52:15 pm | by JohnMcPherson | Revert |
@@ -5,11 +5,12 @@
!Example
Currently, one invokes a plugin by putting something like:
-<verbatim>
+
+
<verbatim>
<?plugin BackLinks?>
-</verbatim>
+
</verbatim>
into a regular wiki-page. That particular example produces as list
of pages which link to the current page. Here it is:
@@ -21,54 +22,50 @@
!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:
+Plugins can take certain named arguments (most do). The value for an argument
can be determined four different ways; in
order of precedence:
+
* The plugin invocation can specify the value for an argument, like so:
-<verbatim>
-<?''''
plugin BackLinks page=OtherPage ?>
-</verbatim>
-* 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:
-<verbatim>
-<?plugin BackLinks page ?>
-</verbatim>
+
<verbatim>
+
<?plugin BackLinks page=OtherPage ?>
+
</verbatim>
+
+* 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:
+
<verbatim>
+
<?plugin BackLinks page ?>
+
</verbatim>
+
* Default values specified in the plugin invocation:
-<verbatim>
-<?plugin BackLinks page||=OtherPage ?>
-</verbatim>
-* 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.
+
<verbatim>
+
<?plugin BackLinks page||=OtherPage ?>
+
</verbatim>
+
+* 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
+* FullTextSearch: FindPage
* IncludePage
* LikePages
* MostPopular
* OldStyleTablePlugin
* PageHistory
* RecentChanges
* text2png
-* TitleSearch
+* TitleSearch: LikePages (match_head, match_tail).
* ViewSource
* walkabout
+* ~RedirectTo -- <tt><?''''plugin ~RedirectTo page=~OtherPage ?></tt> (or href=[URL])
* ~WlugWantedPages (used on the WantedWikis page)
!More Ideas for Plugins
* Integrate Search form with individual InterWiki map entries%%%
e.g. Search Php Website for:[ ] (Search)
* 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)
.
+* 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.
-----
PhpWikiDocumentation