* Add a module version number to IkiWiki, so you can "use IkiWiki '1.00'"
to declare which version of the interface your plugin needs.master
parent
dae0f48e91
commit
9bae900242
|
@ -14,6 +14,7 @@ use Exporter q{import};
|
||||||
our @EXPORT = qw(hook debug error template htmlpage add_depends pagespec_match
|
our @EXPORT = qw(hook debug error template htmlpage add_depends pagespec_match
|
||||||
bestlink htmllink readfile writefile pagetype srcfile pagename
|
bestlink htmllink readfile writefile pagetype srcfile pagename
|
||||||
%config %links %renderedfiles %pagesources);
|
%config %links %renderedfiles %pagesources);
|
||||||
|
our $VERSION = 1.00;
|
||||||
|
|
||||||
# Optimisation.
|
# Optimisation.
|
||||||
use Memoize;
|
use Memoize;
|
||||||
|
|
|
@ -6,7 +6,7 @@ package IkiWiki::Plugin::skeleton;
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
use IkiWiki;
|
use IkiWiki '1.00';
|
||||||
|
|
||||||
sub import { #{{{
|
sub import { #{{{
|
||||||
hook(type => "getopt", id => "skeleton", call => \&getopt);
|
hook(type => "getopt", id => "skeleton", call => \&getopt);
|
||||||
|
|
|
@ -14,6 +14,8 @@ ikiwiki (1.27) UNRELEASED; urgency=low
|
||||||
export some other things.
|
export some other things.
|
||||||
* Changed all plugins included in ikiwiki to not use "IkiWiki::" when
|
* Changed all plugins included in ikiwiki to not use "IkiWiki::" when
|
||||||
referring to stuff now exported by the IkiWiki module.
|
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
|
* Anyone with a third-party ikiwiki plugin is strongly enrouraged
|
||||||
to make like changes to it and avoid use of non-exported symboles from
|
to make like changes to it and avoid use of non-exported symboles from
|
||||||
"IkiWiki::".
|
"IkiWiki::".
|
||||||
|
@ -21,7 +23,7 @@ ikiwiki (1.27) UNRELEASED; urgency=low
|
||||||
* Support hyperestradier version 1.4.2, which adds a new required phraseform
|
* Support hyperestradier version 1.4.2, which adds a new required phraseform
|
||||||
setting.
|
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
|
||||||
|
|
||||||
|
|
|
@ -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
|
This will import several variables and functions into your plugin's
|
||||||
namespace. These variables and functions are the ones most plugins need,
|
namespace. These variables and functions are the ones most plugins need,
|
||||||
|
|
Loading…
Reference in New Issue