diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-21 11:33:43 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-21 11:34:49 -0400 |
commit | d5e65e582a34ae2494fee493ddcb2b959e4a4bce (patch) | |
tree | 14bf1f7a604406ecb98523eda42c2e864321e1d0 /doc/plugins/contrib | |
parent | d13200f92b74aa3d4e315809c78f1c2ec6c925a7 (diff) | |
parent | e3a84952715cdd625258e1695cb74898006c31f3 (diff) |
Merge commit 'smcv/prefix'
Conflicts:
doc/news/version_2.49.mdwn
Also fixed the newest news file (and my wikiannounce script).
Diffstat (limited to 'doc/plugins/contrib')
-rw-r--r-- | doc/plugins/contrib/attach.mdwn | 2 | ||||
-rw-r--r-- | doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn | 6 | ||||
-rw-r--r-- | doc/plugins/contrib/gallery.mdwn | 6 | ||||
-rw-r--r-- | doc/plugins/contrib/gallery/discussion.mdwn | 6 | ||||
-rw-r--r-- | doc/plugins/contrib/googlemaps.mdwn | 4 | ||||
-rw-r--r-- | doc/plugins/contrib/headinganchors.mdwn | 2 | ||||
-rw-r--r-- | doc/plugins/contrib/img.mdwn | 4 | ||||
-rw-r--r-- | doc/plugins/contrib/img/discussion.mdwn | 6 | ||||
-rw-r--r-- | doc/plugins/contrib/linguas.mdwn | 8 | ||||
-rw-r--r-- | doc/plugins/contrib/navbar.mdwn | 2 | ||||
-rw-r--r-- | doc/plugins/contrib/sar.mdwn | 24 | ||||
-rw-r--r-- | doc/plugins/contrib/siterel2pagerel.mdwn | 2 | ||||
-rw-r--r-- | doc/plugins/contrib/syntax.mdwn | 10 | ||||
-rw-r--r-- | doc/plugins/contrib/texinfo.mdwn | 2 |
14 files changed, 42 insertions, 42 deletions
diff --git a/doc/plugins/contrib/attach.mdwn b/doc/plugins/contrib/attach.mdwn index ab50715c7..f44125b10 100644 --- a/doc/plugins/contrib/attach.mdwn +++ b/doc/plugins/contrib/attach.mdwn @@ -1,4 +1,4 @@ -[[template id=plugin name=attach author="[[Ben]]"]] +[[!template id=plugin name=attach author="[[Ben]]"]] **Note: This plugin is currently pending upload. It is also most assuredly beta.** diff --git a/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn b/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn index 27e0ffefd..168b35668 100644 --- a/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn +++ b/doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn @@ -1,7 +1,7 @@ -[[template id=plugin name=copyright author="[[tschwinge]]"]] -[[template id=plugin name=license author="[[tschwinge]]"]] +[[!template id=plugin name=copyright author="[[tschwinge]]"]] +[[!template id=plugin name=license author="[[tschwinge]]"]] -[[meta title="default content for *copyright* and *license*"]] +[[!meta title="default content for *copyright* and *license*"]] Someone was just asking for it and I had written these two plugins already some months ago, so I'm now publishing them here. diff --git a/doc/plugins/contrib/gallery.mdwn b/doc/plugins/contrib/gallery.mdwn index 06c1844f7..ed9e17f32 100644 --- a/doc/plugins/contrib/gallery.mdwn +++ b/doc/plugins/contrib/gallery.mdwn @@ -1,4 +1,4 @@ -[[template id=plugin name=gallery author="[[arpitjain]]"]] +[[!template id=plugin name=gallery author="[[arpitjain]]"]] This plugin would create a nice looking gallery of the images. It has been build over the img plugin in Ikiwiki @@ -6,7 +6,7 @@ SVN repository of plugin is located at <http://ned.snow-crash.org:8080/svn/ikiwi USAGE : -\[[gallery imagedir="images" option="value"]] +\[[!gallery imagedir="images" option="value"]] Available options : <br> * imagedir(required) => Directory containing images. It will scan all the files with jpg|png|gif extension from the directory and will put it in the gallery.<br> @@ -35,4 +35,4 @@ Additional details are available [here](http://myweb.unomaha.edu/~ajain/ikiwikig -- [[arpitjain]] -[[tag plugins]] [[tag patch]] [[tag soc]] [[tag wishlist]] +[[!tag plugins]] [[!tag patch]] [[!tag soc]] [[!tag wishlist]] diff --git a/doc/plugins/contrib/gallery/discussion.mdwn b/doc/plugins/contrib/gallery/discussion.mdwn index 37fa6f884..08fc2456f 100644 --- a/doc/plugins/contrib/gallery/discussion.mdwn +++ b/doc/plugins/contrib/gallery/discussion.mdwn @@ -6,13 +6,13 @@ rebased it onto the *origin/master*, built a Debian package and installed that o However, I can't even get simply things like this to work: $ cat web/index.mdwn - [[gallery imagedir="b" vcs="0"]] + [[!gallery imagedir="b" vcs="0"]] $ ls web/b/ 1.jpg 2.jpg 3.jpg 4.jpg $ ikiwiki [...] --plugin gallery web web.rendered [...] $ grep gallery web.rendered/index.html - <p>[[gallery Failed to Read Directory b.]]</p> + <p>[[!gallery Failed to Read Directory b.]]</p> When using `vcs="1"` it's no better: @@ -25,7 +25,7 @@ When using `vcs="1"` it's no better: Its probably because of the restriction of permissions by plugins in newer version of IkiWiki. For the time being, you can turn resizing off till I look into conditional underlay directory feature. -USAGE : [[gallery imagedir="directory" resize="0"]] +USAGE : [[!gallery imagedir="directory" resize="0"]] New version updated at SVN REPO : http://ned.snow-crash.org:8080/svn/ikiwiki-gallery/ diff --git a/doc/plugins/contrib/googlemaps.mdwn b/doc/plugins/contrib/googlemaps.mdwn index 93f415fb5..953f296ab 100644 --- a/doc/plugins/contrib/googlemaps.mdwn +++ b/doc/plugins/contrib/googlemaps.mdwn @@ -1,5 +1,5 @@ -[[template id=plugin name=googlemaps author="Christian Mock"]] -[[tag type/special-purpose todo/geotagging]] +[[!template id=plugin name=googlemaps author="Christian Mock"]] +[[!tag type/special-purpose todo/geotagging]] `googlemaps` is a plugin that allows using the [Google Maps API][2] from ikiwiki. diff --git a/doc/plugins/contrib/headinganchors.mdwn b/doc/plugins/contrib/headinganchors.mdwn index 287afa0f5..ef2fa122a 100644 --- a/doc/plugins/contrib/headinganchors.mdwn +++ b/doc/plugins/contrib/headinganchors.mdwn @@ -1,4 +1,4 @@ -[[template id=plugin name=headinganchors author="[[PaulWise]]"]] +[[!template id=plugin name=headinganchors author="[[PaulWise]]"]] This is a simple plugin to add ids to all headings, based on their text. It works as a postprocessing filter, allowing it to work on mdwn, wiki, html, diff --git a/doc/plugins/contrib/img.mdwn b/doc/plugins/contrib/img.mdwn index c55338bf5..6c25966e0 100644 --- a/doc/plugins/contrib/img.mdwn +++ b/doc/plugins/contrib/img.mdwn @@ -1,5 +1,5 @@ -[[template id=plugin name=img author="Christian Mock"]] -[[tag type/chrome]] +[[!template id=plugin name=img author="Christian Mock"]] +[[!tag type/chrome]] `img` is an enhanced image handling plugin. diff --git a/doc/plugins/contrib/img/discussion.mdwn b/doc/plugins/contrib/img/discussion.mdwn index d4b38fb61..ea4ccb042 100644 --- a/doc/plugins/contrib/img/discussion.mdwn +++ b/doc/plugins/contrib/img/discussion.mdwn @@ -10,18 +10,18 @@ differently scaled versions of the image, why not just create three pages and use the plugin once per page? Something like this on the first one if it's got multiple clickable thumbnails: - \[[img foo.jpg width=256 link=page2]] + \[[!img foo.jpg width=256 link=page2]] This on the second: - \[[img foo.jpg width=1024 link=page3]] + \[[!img foo.jpg width=1024 link=page3]] \[[small|page1]] \[[medium|page2]] \[[large|page3]] This on the third: - \[[img foo.jpg link=page3]] + \[[!img foo.jpg link=page3]] \[[small|page1]] \[[medium|page2]] \[[large|parge3]] diff --git a/doc/plugins/contrib/linguas.mdwn b/doc/plugins/contrib/linguas.mdwn index 204910290..0c3366846 100644 --- a/doc/plugins/contrib/linguas.mdwn +++ b/doc/plugins/contrib/linguas.mdwn @@ -1,4 +1,4 @@ -[[template id=plugin name=linguas author="Jordà Polo"]] +[[!template id=plugin name=linguas author="Jordà Polo"]] Linguas ======= @@ -20,14 +20,14 @@ Translatable pages and translations must have the following format: `pagename.$LANG`, where `$LANG` is a ISO639-1 (two-letter) language code. To enable linguas, add the following line in the source code of the page: - \[[linguas ]] + \[[!linguas ]] Note that linguas is only required in one of the pages (the original, for instance); the rest of translations will be automatically updated. Additionally, it is also possible to specify the title of the translation: - \[[linguas title="Translated title"]] + \[[!linguas title="Translated title"]] Template @@ -103,4 +103,4 @@ The following fixes it: + push @links, IkiWiki::htmllink($page, $destpage, $trans, noimageinline => 0, forcesubpage => 0, linktext => $link); } - my $otherlinguas = 'Translations:';
\ No newline at end of file + my $otherlinguas = 'Translations:'; diff --git a/doc/plugins/contrib/navbar.mdwn b/doc/plugins/contrib/navbar.mdwn index 830179999..061e4588c 100644 --- a/doc/plugins/contrib/navbar.mdwn +++ b/doc/plugins/contrib/navbar.mdwn @@ -1,4 +1,4 @@ -[[template id=plugin name=navbar author="[[TobiOetiker]]"]] +[[!template id=plugin name=navbar author="[[TobiOetiker]]"]] The Navbar Plugin renders a Navigation Bar into your page. It is based on code from the [[sidebar_plugin|plugins/sidebar]]. diff --git a/doc/plugins/contrib/sar.mdwn b/doc/plugins/contrib/sar.mdwn index a28f79e20..77c41a955 100644 --- a/doc/plugins/contrib/sar.mdwn +++ b/doc/plugins/contrib/sar.mdwn @@ -1,5 +1,5 @@ -[[template id=plugin name=sar author="[[VictorMoral]]"]] -[[tag type/chrome type/slow ]] +[[!template id=plugin name=sar author="[[VictorMoral]]"]] +[[!tag type/chrome type/slow ]] The `sar` plugin is useful to make global or local search and replace operations using common or specific terms. @@ -14,19 +14,19 @@ The global dictionary page is like this: ## Sites and projects - - [[sar search="ikiwiki" first="[IkiWiki](http://ikiwiki.info)" next="_IkiWiki_"]] - - [[sar search="debian" first="[Debian](http://debian.org)" next="_Debian_"]] - - [[sar search="perl" first="[Perl](http://perl.org)" next="_Perl_"]] - - [[sar search="linux" replace="GNU/Linux"]] + - [[!sar search="ikiwiki" first="[IkiWiki](http://ikiwiki.info)" next="_IkiWiki_"]] + - [[!sar search="debian" first="[Debian](http://debian.org)" next="_Debian_"]] + - [[!sar search="perl" first="[Perl](http://perl.org)" next="_Perl_"]] + - [[!sar search="linux" replace="GNU/Linux"]] ## Persons - - [[sar search="joey" first="[Joey Hess](http://ikiwiki.info/users/joey]]" next="_Joey_" ]] - - [[sar search="angel" first="[Angel](http://triptico.com)" next="Angel"]] + - [[!sar search="joey" first="[Joey Hess](http://ikiwiki.info/users/joey]]" next="_Joey_" ]] + - [[!sar search="angel" first="[Angel](http://triptico.com)" next="Angel"]] ## Technical terms - - [[sar search="smtp" first="\[[wp SMTP]]" next="‘SMTP‘"]] - - [[sar search="pop3" first="\[[wp POP3]]" next="’POP3’"]] + - [[!sar search="smtp" first="\[[!wp SMTP]]" next="‘SMTP‘"]] + - [[!sar search="pop3" first="\[[!wp POP3]]" next="’POP3’"]] The search expressions must be surrounded by double dashes in a source ikiwiki page, like this: @@ -70,11 +70,11 @@ value is `*`, but a recommended value is `link(tag/sar)`. In a ikiwiki source page we can write this - \[[sar search=debian replace="__Debian__"]] + \[[!sar search=debian replace="__Debian__"]] for define a global replace for the term `--debian--` or - \[[sar search=ibm first=’[IBM](http://www.ibm.com)’ + \[[!sar search=ibm first=’[IBM](http://www.ibm.com)’ next="_IBM_"]] to define a replace for the first match of the string `--ibm--` and a different diff --git a/doc/plugins/contrib/siterel2pagerel.mdwn b/doc/plugins/contrib/siterel2pagerel.mdwn index 06c9bbc29..956b6728f 100644 --- a/doc/plugins/contrib/siterel2pagerel.mdwn +++ b/doc/plugins/contrib/siterel2pagerel.mdwn @@ -1,4 +1,4 @@ -[[template id=plugin name=siterel2pagerel author="[[PaulWise]]"]] +[[!template id=plugin name=siterel2pagerel author="[[PaulWise]]"]] This is a simple plugin to convert all site-relative links to page-relative links (converts /foo into ../../../foo or similar). It works as a diff --git a/doc/plugins/contrib/syntax.mdwn b/doc/plugins/contrib/syntax.mdwn index 3ea3b8e32..5ca6311f9 100644 --- a/doc/plugins/contrib/syntax.mdwn +++ b/doc/plugins/contrib/syntax.mdwn @@ -1,7 +1,7 @@ -[[template id=plugin name=syntax author="[[VictorMoral]]"]] -[[tag type/chrome type/slow]] +[[!template id=plugin name=syntax author="[[VictorMoral]]"]] +[[!tag type/chrome type/slow]] -The `syntax` plugin adds support to ikiwiki for syntax highlighting through the *vim* editor and its perl interface [[cpan Text::VimColor]]. It depends on a functional vim installation. +The `syntax` plugin adds support to ikiwiki for syntax highlighting through the *vim* editor and its perl interface [[!cpan Text::VimColor]]. It depends on a functional vim installation. The plugin inserts a fragment of HTML with special marks from a file or a string text. It accepts the following parameters: @@ -17,7 +17,7 @@ In the case of file parameter, `syntax` will build a html link for direct downlo Example: - \[[syntax type="perl" text=""" + \[[!syntax type="perl" text=""" #!/usr/bin/perl my $a = "World"; @@ -26,7 +26,7 @@ Example: or - \[[syntax file="/examples/hello.pl" description="My first perl program"]] + \[[!syntax file="/examples/hello.pl" description="My first perl program"]] This plugin create the following CSS styles: diff --git a/doc/plugins/contrib/texinfo.mdwn b/doc/plugins/contrib/texinfo.mdwn index c33a370ea..595bd27aa 100644 --- a/doc/plugins/contrib/texinfo.mdwn +++ b/doc/plugins/contrib/texinfo.mdwn @@ -1,4 +1,4 @@ -[[template id=plugin name=texinfo author="[[tschwinge]]"]] +[[!template id=plugin name=texinfo author="[[tschwinge]]"]] [[I|tschwinge]] started writing a plugin to render [GNU Texinfo](http://www.gnu.org/software/texinfo/) |