Penguin

Differences between current version and previous revision of WikiPlugin.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 8 Last edited on Monday, June 22, 2009 11:53:46 pm by AristotlePagaltzis
Older page: version 7 Last edited on Saturday, July 16, 2005 7:14:29 pm by The PhpWiki programming team Revert
@@ -1,66 +1,58 @@
-The latest hacks include support for !WikiPlugins.  
-  
-! 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.)  
+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. 
  
 !Example 
  
 Currently, one invokes a plugin by putting something like: 
  
- <?'''' plugin ! BackLinks?> 
+ <verbatim>  
+ <?plugin BackLinks?>  
+ </verbatim
  
-into a regular wiki-page. That particular example produces as list  
- of pages which link to the current page. Here it is: 
+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.) 
+(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:  
  
-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) unless the argument is mentioned in the plugin invocation:  
-;;: <?'''' plugin ! BackLinks page ?> 
+  
+ <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: 
-;;: <?'''' 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
+  
+ <verbatim>  
+ <?plugin BackLinks page||=OtherPage ?>  
+ </verbatim>  
+  
+# The plugin must supply default values for each argument it uses. 
  
 !Existing Plugins 
+  
+Some of these plugins are documented on their respective pages. In other cases, look at the page source to see how to use it.  
+  
 * 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).  
  
 ----- 
 PhpWikiDocumentation