summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-02 06:53:33 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-02 06:53:33 +0000
commit3b0fce93e40e5457b63ceda9692901539eb4fc82 (patch)
tree6ec49880ee55519bb0cbdac6fa02f9f11d45b8be /IkiWiki
parent3ea8c882f296dcf66163b0c9b58254a2b93e06ae (diff)
* Split off an IkiWiki.pm out of ikiwiki and have all the other modules use
it, this will allow for adding a unit test suite.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/CGI.pm1
-rw-r--r--IkiWiki/Plugin/brokenlinks.pm1
-rw-r--r--IkiWiki/Plugin/inline.pm1
-rw-r--r--IkiWiki/Plugin/orphans.pm1
-rw-r--r--IkiWiki/Plugin/pagecount.pm1
-rw-r--r--IkiWiki/Plugin/skeleton.pm1
-rw-r--r--IkiWiki/Rcs/SVN.pm1
-rw-r--r--IkiWiki/Rcs/Stub.pm1
-rw-r--r--IkiWiki/Render.pm1
-rw-r--r--IkiWiki/Setup.pm1
-rw-r--r--IkiWiki/UserInfo.pm1
-rw-r--r--IkiWiki/Wrapper.pm1
12 files changed, 12 insertions, 0 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 74ed2f217..e219c8c1c 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -2,6 +2,7 @@
use warnings;
use strict;
+use IkiWiki;
use IkiWiki::UserInfo;
package IkiWiki;
diff --git a/IkiWiki/Plugin/brokenlinks.pm b/IkiWiki/Plugin/brokenlinks.pm
index 9485da398..75c819d76 100644
--- a/IkiWiki/Plugin/brokenlinks.pm
+++ b/IkiWiki/Plugin/brokenlinks.pm
@@ -4,6 +4,7 @@ package IkiWiki::Plugin::brokenlinks;
use warnings;
use strict;
+use IkiWiki;
sub import { #{{{
IkiWiki::register_plugin("preprocess", "brokenlinks", \&preprocess);
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index 53ea5bf18..c554774f6 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -4,6 +4,7 @@ package IkiWiki::Plugin::inline;
use warnings;
use strict;
+use IkiWiki;
sub import { #{{{
IkiWiki::register_plugin("preprocess", "inline", \&IkiWiki::preprocess_inline);
diff --git a/IkiWiki/Plugin/orphans.pm b/IkiWiki/Plugin/orphans.pm
index 06b51bddc..bd3c6b8b9 100644
--- a/IkiWiki/Plugin/orphans.pm
+++ b/IkiWiki/Plugin/orphans.pm
@@ -4,6 +4,7 @@ package IkiWiki::Plugin::orphans;
use warnings;
use strict;
+use IkiWiki;
sub import { #{{{
IkiWiki::register_plugin("preprocess", "orphans", \&preprocess);
diff --git a/IkiWiki/Plugin/pagecount.pm b/IkiWiki/Plugin/pagecount.pm
index 865ab4c39..fc69e449b 100644
--- a/IkiWiki/Plugin/pagecount.pm
+++ b/IkiWiki/Plugin/pagecount.pm
@@ -4,6 +4,7 @@ package IkiWiki::Plugin::pagecount;
use warnings;
use strict;
+use IkiWiki;
sub import { #{{{
IkiWiki::register_plugin("preprocess", "pagecount", \&preprocess);
diff --git a/IkiWiki/Plugin/skeleton.pm b/IkiWiki/Plugin/skeleton.pm
index e8d3db0cc..c9a7a421d 100644
--- a/IkiWiki/Plugin/skeleton.pm
+++ b/IkiWiki/Plugin/skeleton.pm
@@ -5,6 +5,7 @@ package IkiWiki::Plugin::skeleton;
use warnings;
use strict;
+use IkiWiki;
sub import { #{{{
IkiWiki::register_plugin("preprocess", "skeleton", \&preprocess);
diff --git a/IkiWiki/Rcs/SVN.pm b/IkiWiki/Rcs/SVN.pm
index 358f46948..b45b69197 100644
--- a/IkiWiki/Rcs/SVN.pm
+++ b/IkiWiki/Rcs/SVN.pm
@@ -3,6 +3,7 @@
use warnings;
use strict;
+use IkiWiki;
package IkiWiki;
diff --git a/IkiWiki/Rcs/Stub.pm b/IkiWiki/Rcs/Stub.pm
index 9bbfde352..15e6cfb48 100644
--- a/IkiWiki/Rcs/Stub.pm
+++ b/IkiWiki/Rcs/Stub.pm
@@ -3,6 +3,7 @@
use warnings;
use strict;
+use IkiWiki;
package IkiWiki;
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index 9ece00157..35e279a68 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -5,6 +5,7 @@ package IkiWiki;
use warnings;
use strict;
use File::Spec;
+use IkiWiki;
sub linkify ($$) { #{{{
my $content=shift;
diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm
index 40ed78862..9f210dec8 100644
--- a/IkiWiki/Setup.pm
+++ b/IkiWiki/Setup.pm
@@ -2,6 +2,7 @@
use warnings;
use strict;
+use IkiWiki;
package IkiWiki;
diff --git a/IkiWiki/UserInfo.pm b/IkiWiki/UserInfo.pm
index 9a165dad1..fabe495bb 100644
--- a/IkiWiki/UserInfo.pm
+++ b/IkiWiki/UserInfo.pm
@@ -3,6 +3,7 @@
use warnings;
use strict;
use Storable;
+use IkiWiki;
package IkiWiki;
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index d72368446..e5f718f71 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -4,6 +4,7 @@ use warnings;
use strict;
use Cwd q{abs_path};
use Data::Dumper;
+use IkiWiki;
package IkiWiki;