once more.
return "";
}
- require HTML::Template;
my @ret=(
filter => sub {
my $text_ref = shift;
} #}}}
sub template ($;@) { #{{{
+ require HTML::Template;
HTML::Template->new(template_params(@_));
} #}}}
$ret.=$linktemplate->output;
}
+ require HTML::Template;
my @params=IkiWiki::template_params($params{template}.".tmpl", blind_cache => 1);
if (! @params) {
return sprintf(gettext("nonexistant template %s"), $params{template});
w/o confusing ikiwiki.
* Rcs modules are now imported, so other modules that need similar
normalisation of configs etc can do so.
+ * Patch fixing various additional problems with test suite. Closes: #425891
+ once more.
- -- Joey Hess <joeyh@debian.org> Sat, 23 Jun 2007 13:10:06 +0100
+ -- Joey Hess <joeyh@debian.org> Tue, 26 Jun 2007 18:08:24 -0400
ikiwiki (2.2) unstable; urgency=low
>> I think this is [debbug 425891]. I have sent there a patch that incorporates the original
>> author's two diffs but has a more correct solution to the first problem described
->> above. -- Thomas, 2007-06-26
\ No newline at end of file
+>> above. -- Thomas, 2007-06-26
+
+[[done]]
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-06-23 13:12+0100\n"
+"POT-Creation-Date: 2007-06-26 18:10-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgstr ""
#: ../IkiWiki/CGI.pm:428 ../IkiWiki/Plugin/brokenlinks.pm:24
-#: ../IkiWiki/Plugin/inline.pm:183 ../IkiWiki/Plugin/opendiscussion.pm:17
+#: ../IkiWiki/Plugin/inline.pm:184 ../IkiWiki/Plugin/opendiscussion.pm:17
#: ../IkiWiki/Plugin/orphans.pm:28 ../IkiWiki/Render.pm:91
#: ../IkiWiki/Render.pm:171
msgid "discussion"
msgid "Add a new post titled:"
msgstr ""
-#: ../IkiWiki/Plugin/inline.pm:160
+#: ../IkiWiki/Plugin/inline.pm:161
#, perl-format
msgid "nonexistant template %s"
msgstr ""
-#: ../IkiWiki/Plugin/inline.pm:191 ../IkiWiki/Render.pm:95
+#: ../IkiWiki/Plugin/inline.pm:192 ../IkiWiki/Render.pm:95
msgid "Discussion"
msgstr ""
-#: ../IkiWiki/Plugin/inline.pm:402
+#: ../IkiWiki/Plugin/inline.pm:403
msgid "RPC::XML::Client not found, not pinging"
msgstr ""
use Test::More tests => 3;
ok(! system("make ikiwiki.out"));
-ok(! system("PERL5LIB=. ./ikiwiki.out -plugin brokenlinks -rebuild -underlaydir=basewiki t/basewiki_brokenlinks t/basewiki_brokenlinks/out"));
+ok(! system("perl -T -I. ./ikiwiki.out -plugin brokenlinks -rebuild -underlaydir=basewiki -templatedir=templates t/basewiki_brokenlinks t/basewiki_brokenlinks/out"));
ok(`grep 'no broken links' t/basewiki_brokenlinks/out/index.html`);
system("rm -rf t/basewiki_brokenlinks/out t/basewiki_brokenlinks/.ikiwiki");