X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/e9f86458bc4966ed92cf8bdf256b393aa641530f..79b309b3580a6a96aa11c8a59c9734912bec0156:/doc/plugins/write/tutorial.mdwn?ds=sidebyside diff --git a/doc/plugins/write/tutorial.mdwn b/doc/plugins/write/tutorial.mdwn index 977849cf2..5345f71f2 100644 --- a/doc/plugins/write/tutorial.mdwn +++ b/doc/plugins/write/tutorial.mdwn @@ -27,7 +27,7 @@ important one is the IkiWiki module. use warnings; use strict; - use IkiWiki 2.00; + use IkiWiki 3.00; Ok, boilerplate is out of the way. Now to add the one function that ikiwiki expects to find in any module: `import`. The import function is called when @@ -116,7 +116,7 @@ a page that uses fib. Now the inlined page will have one set of numbers, and the standalone page another. The numbers might even skip over part of the sequence in some cases. -Obviously, using a global `$last` veriable was a bad idea. It would +Obviously, using a global `$last` variable was a bad idea. It would work ok in a more regular cgi-based wiki, which only outputs one page per run. But since ikiwiki is a wiki *compiler*, things are a bit more complicated. It's not very hard to fix, though, if we do want the sequence