parent
bb8b8787ef
commit
a4497591f9
|
@ -10,8 +10,7 @@ use Encode;
|
|||
|
||||
sub import {
|
||||
hook(type => "getsetup", id => "template", call => \&getsetup);
|
||||
hook(type => "preprocess", id => "template", call => \&preprocess,
|
||||
scan => 1);
|
||||
hook(type => "preprocess", id => "template", call => \&preprocess);
|
||||
}
|
||||
|
||||
sub getsetup () {
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
ikiwiki (3.05) UNRELEASED; urgency=low
|
||||
|
||||
* debhelper v7.2; rules file minimisation.
|
||||
* template: Load templates in scan mode.
|
||||
This is potentially expensive, but is necessary so that meta and tag
|
||||
directives, and other links on templates affect the page using the
|
||||
template reliably.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sun, 15 Feb 2009 20:11:57 -0500
|
||||
|
||||
|
|
|
@ -14,5 +14,3 @@ scan pass, every page containing a template will cause the template to be
|
|||
loaded and filled out. This can be some serious additional overhead.
|
||||
|
||||
--[[Joey]]
|
||||
|
||||
[[done]]
|
||||
|
|
|
@ -30,5 +30,3 @@ time, so went ahead and migrated live, spamming planet debian in the process
|
|||
> [[cannot_reliably_use_meta_in_template]]. AFAIK, this has never worked
|
||||
> reliably, although the linked page has a simple, though potentially
|
||||
> expensive fix. --[[Joey]]
|
||||
|
||||
> fix made, [[done]] --[[Joey]]
|
||||
|
|
|
@ -8,13 +8,6 @@ match tagged pages independent of whatever the tagbase is set to.
|
|||
|
||||
-- [[users/Jon]] 2009/02/17
|
||||
|
||||
> So, this looks good, appreciate the patch.
|
||||
>
|
||||
> The only problem I see is it could be confusing if `tag(foo)` matched
|
||||
> a page that just linked to the tag via a wikilink, w/o actually tagging it.
|
||||
>
|
||||
> One other thing, perhaps it should be called `tagged()`? --[[Joey]]
|
||||
|
||||
[[!tag patch]]
|
||||
|
||||
--- a/plugins/IkiWiki/Plugin/tag.pm 2009-02-16 11:30:11.000000000 +0000
|
||||
|
|
Loading…
Reference in New Issue