]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
* Add a module version number to IkiWiki, so you can "use IkiWiki '1.00'"
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 9 Sep 2006 23:07:27 +0000 (23:07 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 9 Sep 2006 23:07:27 +0000 (23:07 +0000)
  to declare which version of the interface your plugin needs.

IkiWiki.pm
IkiWiki/Plugin/skeleton.pm
debian/changelog
doc/plugins/write.mdwn

index 1cbe975c058cc7a455dc4127067d1bf943776651..499ec88346850e4540f445eb6524849323d6289f 100644 (file)
@@ -14,6 +14,7 @@ use Exporter q{import};
 our @EXPORT = qw(hook debug error template htmlpage add_depends pagespec_match
                  bestlink htmllink readfile writefile pagetype srcfile pagename
                  %config %links %renderedfiles %pagesources);
 our @EXPORT = qw(hook debug error template htmlpage add_depends pagespec_match
                  bestlink htmllink readfile writefile pagetype srcfile pagename
                  %config %links %renderedfiles %pagesources);
+our $VERSION = 1.00;
 
 # Optimisation.
 use Memoize;
 
 # Optimisation.
 use Memoize;
index 3e1e5700b7e84734805639de744c764cebac226a..acac16c1a36bf97407558df6278f3cd6a77ce8e5 100644 (file)
@@ -6,7 +6,7 @@ package IkiWiki::Plugin::skeleton;
 
 use warnings;
 use strict;
 
 use warnings;
 use strict;
-use IkiWiki;
+use IkiWiki '1.00';
 
 sub import { #{{{
        hook(type => "getopt", id => "skeleton",  call => \&getopt);
 
 sub import { #{{{
        hook(type => "getopt", id => "skeleton",  call => \&getopt);
index a54a18fa8bedbae7149444a32aabe932ff3762c6..52d56aebec1aec2fb3486743296a6f783a6521f5 100644 (file)
@@ -14,6 +14,8 @@ ikiwiki (1.27) UNRELEASED; urgency=low
       export some other things.
   * Changed all plugins included in ikiwiki to not use "IkiWiki::" when
     referring to stuff now exported by the IkiWiki module.
       export some other things.
   * Changed all plugins included in ikiwiki to not use "IkiWiki::" when
     referring to stuff now exported by the IkiWiki module.
+  * Add a module version number to IkiWiki, so you can "use IkiWiki '1.00'"
+    to declare which version of the interface your plugin needs.
   * Anyone with a third-party ikiwiki plugin is strongly enrouraged
     to make like changes to it and avoid use of non-exported symboles from
     "IkiWiki::".
   * Anyone with a third-party ikiwiki plugin is strongly enrouraged
     to make like changes to it and avoid use of non-exported symboles from
     "IkiWiki::".
@@ -21,7 +23,7 @@ ikiwiki (1.27) UNRELEASED; urgency=low
   * Support hyperestradier version 1.4.2, which adds a new required phraseform
     setting.
 
   * Support hyperestradier version 1.4.2, which adds a new required phraseform
     setting.
 
- -- Joey Hess <joeyh@debian.org>  Sat,  9 Sep 2006 18:38:19 -0400
+ -- Joey Hess <joeyh@debian.org>  Sat,  9 Sep 2006 18:56:10 -0400
 
 ikiwiki (1.26) unstable; urgency=low
 
 
 ikiwiki (1.26) unstable; urgency=low
 
index 8886bca29051c68e9b363b4e3e22bc72d73f231b..a78785e0286b900afbf97bc1a583d7789c1bc96a 100644 (file)
@@ -173,7 +173,7 @@ they're saved, etc.
 
 To import the ikiwiki plugin interface:
 
 
 To import the ikiwiki plugin interface:
 
-       use IkiWiki;
+       use IkiWiki '1.00';
 
 This will import several variables and functions into your plugin's
 namespace. These variables and functions are the ones most plugins need,
 
 This will import several variables and functions into your plugin's
 namespace. These variables and functions are the ones most plugins need,