]> sipb.mit.edu Git - ikiwiki.git/commitdiff
simplified plugin definitions
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 13 Feb 2007 18:51:21 +0000 (18:51 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 13 Feb 2007 18:51:21 +0000 (18:51 +0000)
47 files changed:
doc/plugins/aggregate.mdwn
doc/plugins/anonok.mdwn
doc/plugins/brokenlinks.mdwn
doc/plugins/camelcase.mdwn
doc/plugins/conditional.mdwn
doc/plugins/ddate.mdwn
doc/plugins/favicon.mdwn
doc/plugins/fortune.mdwn
doc/plugins/goodstuff.mdwn
doc/plugins/googlecalendar.mdwn
doc/plugins/haiku.mdwn
doc/plugins/html.mdwn
doc/plugins/htmlscrubber.mdwn
doc/plugins/htmltidy.mdwn
doc/plugins/httpauth.mdwn
doc/plugins/img.mdwn
doc/plugins/inline.mdwn
doc/plugins/linkmap.mdwn
doc/plugins/lockedit.mdwn
doc/plugins/map.mdwn
doc/plugins/mdwn.mdwn
doc/plugins/meta.mdwn
doc/plugins/mirrorlist.mdwn
doc/plugins/opendiscussion.mdwn
doc/plugins/openid.mdwn
doc/plugins/orphans.mdwn
doc/plugins/otl.mdwn
doc/plugins/pagecount.mdwn
doc/plugins/pagestats.mdwn
doc/plugins/passwordauth.mdwn
doc/plugins/poll.mdwn
doc/plugins/polygen.mdwn
doc/plugins/rawhtml.mdwn
doc/plugins/rst.mdwn
doc/plugins/search.mdwn
doc/plugins/shortcut.mdwn
doc/plugins/sidebar.mdwn
doc/plugins/signinedit.mdwn
doc/plugins/smiley.mdwn
doc/plugins/tag.mdwn
doc/plugins/template.mdwn
doc/plugins/toc.mdwn
doc/plugins/toggle.mdwn
doc/plugins/typography.mdwn
doc/plugins/wikitext.mdwn
doc/templates/discussion.mdwn
doc/templates/plugin.mdwn

index a3ef105d696eee6151053d346221b62d67df9244..8b1abcd61124bd537aa72d854e8c25b96dfe0a9b 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=aggregate included=1 author="[[Joey]]"]]
+[[template id=plugin name=aggregate author="[[Joey]]"]]
 [[tag type/useful]]
 
 This plugin allows content from other feeds to be aggregated into the wiki.
index ae1c87f437f0f421976c32032a10c07d5eb19ac9..8afcf86f579b2119e33c537a28a31008cfce74c8 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=anonok included=1 author="[[Joey]]"]]
+[[template id=plugin name=anonok author="[[Joey]]"]]
 [[tag type/auth]]
 
 By default, anonymous users cannot edit the wiki. This plugin allows
index b9a82963a61a88d54cee8bbc8245f6c31385cec3..69aa54086d4e559b8a648dc277cb1f32ec20fd42 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=brokenlinks included=1 author="[[Joey]]"]]
+[[template id=plugin name=brokenlinks author="[[Joey]]"]]
 [[tag type/link type/meta]]
 
 This plugin generates a list of broken links on pages in the wiki. This is
index ea0d80f26eba405847f4c7e001e34efa186a7277..2a3e2639ddcc702ba37477a7b1e3705720da3b89 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=camelcase included=1 author="[[Joey]]"]]
+[[template id=plugin name=camelcase author="[[Joey]]"]]
 
 This plugin makes words in CamelCase be treated as a [[WikiLink]]. That is
 to say, any two or more words capitalised and mashed together are assumed
index f3398af573d58d27d79f8fbc38e8bc636aabd2b1..42eb4e62dd09471cf4f19b59d0b787f53502b40b 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=conditional core=1 included=1 author="[[Joey]]"]]
+[[template id=plugin name=conditional core=1 author="[[Joey]]"]]
 [[tag type/format]]
 
 With this plugin, you can make text be conditionally displayed on a page.
index 307673048a7dcb161d542c2e2d4f339c3c92f7be..b2c6df05d9f18e127ed449cff34bdaf0136e9856 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=ddate included=1 author="[[Joey]]"]]
+[[template id=plugin name=ddate author="[[Joey]]"]]
 [[tag type/fun]]
 
 Enables use of Discordian dates. `--timeformat` can be used to change
index 2973c94fdc1372630d6b700fcf55baa745a5ba5a..52dbf6a2f9ebfc08598e44a33c92074f994ec40a 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=favicon included=1 author="[[Joey]]"]]
+[[template id=plugin name=favicon author="[[Joey]]"]]
 [[tag type/chrome]]
 
 If this plugin is enabled, then an icon link is added to pages, for web
index caa002aed6f9e67b3192329d6519d52ed4c1c639..b855c18f3a5f0414f3c5b07b089f2f25fc5fd74c 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=fortune included=1 author="[[Joey]]"]]
+[[template id=plugin name=fortune author="[[Joey]]"]]
 [[tag type/fun]]
 
 This just uses the `fortune` program to insert a fortune into the page.
index 3402c7edcc17c96ca7469b179a9ac60844a53440..ca888910d34840815b0cc41dd41566c228a29367 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=goodstuff included=1 author="[[Joey]]"]]
+[[template id=plugin name=goodstuff author="[[Joey]]"]]
 [[tag type/bundle]]
 
 This plugin enables a bunch of other plugins -- basically all the ones that
index 020e5382e093c54c1d0c81a9550d29d4dd180f90..940918078a284c00a767be021237bcf187b5c54f 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=linkmap included=1 author="[[Joey]]"]]
+[[template id=plugin name=googlecalendar author="[[Joey]]"]]
 [[tag type/special-purpose]]
 
 This plugin allows embedding a google calendar iframe in the wiki.
index 330e9367d163304c4ed1a643252882433e298f85..259669d670bf436bb08a97a3d6b73a9b9514a836 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=haiku included=1 author="[[Joey]]"]]
+[[template id=plugin name=haiku author="[[Joey]]"]]
 [[tag type/fun]]
 
 This plugin allows inserting a randomly generated haiku into a wiki page.
index 1a2c5365b88ca51cd9441b07913b16947e2a61f0..01fdd4852c0583069fb6854791ef71ec64d5cbfa 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=html included=1 author="[[Joey]]"]]
+[[template id=plugin name=html author="[[Joey]]"]]
 [[tag type/html type/format]]
 
 This plugin lets html pages be used as source pages for the wiki. The
index a064c49012ecc5bd754aab82d19c9ff975870838..4fa11d04ed1a6f6b478eff7325e46376d63b46f0 100644 (file)
@@ -1,5 +1,4 @@
-[[template id=plugin name=htmlscrubber core=1 included=1
-author="[[Joey]]"]]
+[[template id=plugin name=htmlscrubber core=1 author="[[Joey]]"]]
 [[tag type/html type/core]]
 
 This plugin is enabled by default. It sanitizes the html on pages it renders
index 7079a7fc6694b185f20fe439498006e23645792b..dae812df256885c976fd2a1a0969964eceac1d9e 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=htmltidy included=1 author="Faidon Liambotis"]]
+[[template id=plugin name=htmltidy author="Faidon Liambotis"]]
 [[tag type/html]]
 [[tag type/slow]]
 
index 98233570c61b1c0da7b0d0a2b3dfa6a7b5157cc2..26f258bd38a832e2595f1c876b646e44b2096009 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=httpauth included=1 author="Alec Berryman"]]
+[[template id=plugin name=httpauth author="Alec Berryman"]]
 [[tag type/auth]]
 
 This plugin allows HTTP basic authentication to be used to log into the
index 324d46cc55d6f21cf09aeafa5fb6f166b1dfb114..4795e9403fd9cd3c7ac1abae2d8677b098dbb5e9 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=img included=1 author="Christian Mock" ]]
+[[template id=plugin name=img author="Christian Mock"]]
 [[tag type/chrome]]
 
 This is an image handling plugin. While ikiwiki supports inlining full-size
index 8b8241ca2185b8f3f12e249594308943e94b4373..6baf6ba9bc719ab9a98356f2e729c739764cc5bc 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=inline core=1 included=1 author="[[Joey]]"]]
+[[template id=plugin name=inline core=1 author="[[Joey]]"]]
 [[tag type/core]]
 
 This is a [[PreProcessorDirective]] that allows including one wiki page
index 50d197f2ffba8dac5808b6ad99242982fead37e4..e54d8ec89e5908ffe302b12ddeb28460fd1369ce 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=linkmap included=1 author="Joey Hess"]]
+[[template id=plugin name=linkmap author="Joey Hess"]]
 [[tag type/meta]]
 [[tag type/slow]]
 This plugin uses [graphviz](http://www.graphviz.org/) to generate a graph showing the links between a
index be9ca841cdda141dbcc6273095b29ada54744709..8dd4485580e79b08cc4c3b654f371f91509720c6 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=lockedit core=1 included=1 author="[[Joey]]"]]
+[[template id=plugin name=lockedit core=1 author="[[Joey]]"]]
 [[tag type/auth]]
 
 This plugin enables [[page_locking]]. It is enabled by default.
index 3d44164ae481df7b7ff5437d66e1d032275950c4..cc4e857b45c818628f627a08e94b6beca0a55605 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=map included=1 author="Alessandro Dotti Contra"]]
+[[template id=plugin name=map author="Alessandro Dotti Contra"]]
 [[tag type/meta]]
 
 This plugin generates a hierarchical page map for the wiki. Example usage:
index c5b69689e5421b78d0ae3946fe142500b66a4769..277c4f3ec141be4c49926317002c52fee954b872 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=mdwn core=1 included=1 author="[[Joey]]"]]
+[[template id=plugin name=mdwn core=1 author="[[Joey]]"]]
 [[tag type/format type/core]]
 
 This plugin lets ikwiki convert files with names ending in ".mdwn" to html.
index 41563e9655b75080bc1d23f77f9eec34395a2d10..1cf8010289720ae4a3629755b0472a3e8f67f890 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=meta included=1 author="[[Joey]]"]]
+[[template id=plugin name=meta author="[[Joey]]"]]
 [[tag type/meta]]
 
 This plugin allows inserting arbitrary metadata into the source of a page.
index 05d3dc910a8be24deee2d31e946cae38a330dfec..25bad05856627c7ce096157be319301321fbfa4a 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=mirror included=1 author="[[Joey]]"]]
+[[template id=plugin name=mirror author="[[Joey]]"]]
 [[tag type/special-purpose]]
 
 This plugin allows adding links a list of mirrors to each page in the
index 3257224dc4442dcf35ca606fedec91a573717bae..cf0036c4c659dc148fa86989a09a70c930499794 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=opendiscussion included=1 author="[[Joey]]"]]
+[[template id=plugin name=opendiscussion author="[[Joey]]"]]
 [[tag type/auth]]
 
 This plugin allows editing of Discussion pages by anonymous users who have
index f0ee4d8b74da7e9b699a059bd3564bdc269ef2af..94929e7ab53591adca9ff7b8185871cd9affa6b1 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=openid included=1 author="[[Joey]]"]]
+[[template id=plugin name=openid author="[[Joey]]"]]
 [[tag type/auth]]
 
 This plugin allows users to use their [OpenID](http://openid.net/) to log
index 9456c50addd6a6f65f94fa0d32f7275ad29beaba..a78016f9830fb32b6e951ecd9cd79fe552a17c02 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=orphans included=1 author="[[Joey]]"]]
+[[template id=plugin name=orphans author="[[Joey]]"]]
 [[tag type/meta]]
 
 This plugin generates a list of possibly orphaned pages -- pages that no
index 2ff9a9e292e5e5a6254f679822dd23aab63e8020..013a5072abb99f1673abefd4605c0689e16582c6 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=otl included=1 author="[[Joey]]"]]
+[[template id=plugin name=otl author="[[Joey]]"]]
 [[tag type/format]]
 
 This plugin allows ikiwiki to process `.otl` outline files, as created by 
index 48e32672d599a2bab3b050576a41a7af4cca304d..34b871262b4b1d1ae5bd59feb9344f313d443d30 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=pagecount included=1 author="[[Joey]]"]]
+[[template id=plugin name=pagecount author="[[Joey]]"]]
 [[tag type/meta]]
 
 Provides a \\[[pagecount ]] [[PreProcessorDirective]] that is replaced with
index 6c1fd00862b1fc4e5cb8a4096fbb05e103464462..06079414eced3325e76ac70feb58784b53dcfcc3 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=pagestate included=1 author="Enrico Zini"]]
+[[template id=plugin name=pagestate author="Enrico Zini"]]
 [[tag type/meta type/tags]]
 
 This plugin can generate stats about how pages link to each other. It can
index dacdffac6d027176db2dccad50cef4fa27a8495f..3d6782dba1cde8d0e4f06574038e927758c24765 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=passwordauth core=1 included=1 author="[[Joey]]"]]
+[[template id=plugin name=passwordauth core=1 author="[[Joey]]"]]
 [[tag type/auth]]
 [[tag type/core]]
 
index 385a78b426a35baef2788127cf8f51c3b62c9a55..ed55ef31944682bd53e149eb8e6f71eb2e3ddeb2 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=poll included=1 author="[[Joey]]"]]
+[[template id=plugin name=poll author="[[Joey]]"]]
 [[tag type/useful]]
 
 This plugin allows you to create online polls in the wiki. Here's an
index 5cd2f41d2cdbc49eb66b7ba165626c8b898b2ae5..8d6794073ae9063d4c2f759466c722e331decf19 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=polygen included=1 author="Enrico Zini"]]
+[[template id=plugin name=polygen author="Enrico Zini"]]
 [[tag type/fun]]
 
 This plugin allows inserting text generated by polygen into a wiki page.
index 41f4a70568715697c5c2ab44c5f54d6621b00fb7..ffbbd467f682ff2fba2c3dcf51cb8e327eef01b5 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=rawhtml included=1 author="[[Joey]]"]]
+[[template id=plugin name=rawhtml author="[[Joey]]"]]
 [[tag type/html type/format]]
 
 This plugin changes how ikiwiki handles html files, making it treat html
index 969d71cdb0ec0c36885b8b39903b16f39ac1a50e..ff7f8991f3d016aad34873e44185ec0e5cb378e5 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=rst included=1 author="Sergio Talens-Oliag"]]
+[[template id=plugin name=rst author="Sergio Talens-Oliag"]]
 [[tag type/format]]
 [[tag type/slow]]
 
index 5b53253714222e0b20f027890ee2da5e563c261c..b324251bf87ab4b70ed9e89015ce0ed5bcc3bf01 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=search included=1 author="[[Joey]]"]]
+[[template id=plugin name=search author="[[Joey]]"]]
 [[tag type/useful]]
 
 This plugin is included in ikiwiki, but is not enabled by default. It adds
index 83d8593a83c84c7d7b426a033db2ab1dd67851ae..16dfdb44a8b9924f3b1207000382dce467f61d54 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=shortcut included=1 author="[[Joey]]"]]
+[[template id=plugin name=shortcut author="[[Joey]]"]]
 [[tag type/format]]
 
 This plugin allows external links to commonly linked to sites to be made
index 04bf6666f40925b2af2300767bf4f5b74b56e955..14cfa08c6334d6aa322100ce8c2b43158fb73f38 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=sidebar included=1 author="Tuomo Valkonen"]]
+[[template id=plugin name=sidebar author="Tuomo Valkonen"]]
 [[tag type/chrome]]
 
 If this plugin is enabled, then a sidebar is added to pages in the wiki.
index 5beae9dab7f73fd678c091a76bc8f4599da0ba3b..525a90fe8fe44575cded9ae800e39d8ab3226b0f 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=signinedit core=1 included=1 author="[[Joey]]"]]
+[[template id=plugin name=signinedit core=1 author="[[Joey]]"]]
 [[tag type/auth]]
 
 This plugin, which is enabled by default, requires users be logged in
index 0e577f5bfcce97493f5aca485fb001242e7218f5..4e03f09e4e61a74b9d7005fca0b6d6823e63d88c 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=smiley included=1 author="[[Joey]]"]]
+[[template id=plugin name=smiley author="[[Joey]]"]]
 [[tag type/chrome]]
 
 This plugin makes it easy to insert smileys and other special symbols into
index 1bc38e6fb788f51dd60ed78d1e10ab4f544fd266..eae6e132f26172addc7cbe8322a0653f903e7fc2 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=tag included=1 author="[[Joey]]"]]
+[[template id=plugin name=tag author="[[Joey]]"]]
 [[tag type/tags type/link]]
 
 This plugin allows tagging pages. List tags as follows:
index 7b70bb2818d412971472e9a6294693e056d96c10..e7c27101e02269aad5990f609e2388c65b199bde 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=template included=1 author="[[Joey]]"]]
+[[template id=plugin name=template author="[[Joey]]"]]
 [[tag type/format]]
 
 With this plugin, you can set up templates, and cause them to be filled out
index 57bd622ba45f60539d6025510612cb90570500bc..27e06cd05b16cef854341340841d1eba3f94281d 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=toc included=1 author="Joey Hess"]]
+[[template id=plugin name=toc author="Joey Hess"]]
 [[tag type/chrome]]
 
 Add a table of contents be to a page:
index b59004e6e578431cb751dce10f6d52bda4d7c3c2..fd3e935dab041d50a602eb92c7ef09ee189196e0 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=toggle included=1 author="[[Joey]]"]]
+[[template id=plugin name=toggle author="[[Joey]]"]]
 [[tag type/chrome]]
 
 With this plugin you can create links on pages that, when clicked, toggle
index 6d7022f12124a429f55caec4c7437f5d15865a31..2e65393a78d2509b2421c9a334705da63ea7ad97 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=typography included=1 author="[[Roktas]]"]]
+[[template id=plugin name=typography author="[[Roktas]]"]]
 [[tag type/format]]
 
 This plugin, also known as
index abbebb6773e877031bf967af3680c065b49c5d8c..34467cf8e48b1f46c536a7701aec4739c9eee985 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=wikitext included=1 author="[[Joey]]"]]
+[[template id=plugin name=wikitext author="[[Joey]]"]]
 [[tag type/format]]
 
 This plugin allows ikiwiki to process pages written in the original wiki
index 33e187e2c1489fc3e3cc67827a679ee88eae6b18..cbf56fa812315ca92e4c032e9d0a56bce4f24298 100644 (file)
@@ -12,3 +12,5 @@ john
 Couldn't the [[templates/plugin]] template replace the "included" parameter
 with the same check used for "third-party plugin"?  Don't "third-party plugin"
 and "included in ikiwiki" form precisely complementary sets?  --[[JoshTriplett]]
+
+> Yes, can be done..
index 1db37e5c2ca8576b3f31b83d77ea2bd57c386358..6715614df8efcd4563c8fc31a4b029fbb5513d17 100644 (file)
@@ -1,7 +1,7 @@
 <span class="infobox">
 Plugin: <TMPL_VAR name><br />
 Author: <TMPL_VAR author><br />
-Included in ikiwiki: <TMPL_IF included>yes<TMPL_ELSE>no</TMPL_IF><br />
+Included in ikiwiki: [[if test="sourcepage(plugins/contrib/*)" then="""no""" else="""yes"""]]<br />
 Enabled by default: <TMPL_IF core>yes<TMPL_ELSE>no</TMPL_IF><br />
 Currently enabled: [[if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<br />
 </span>