From: Simon McVittie
Date: Sat, 12 Jul 2008 14:14:47 +0000 (+0100)
Subject: Bug fix: use &IkiWiki::pagetitle rather than nonexistent &pagetitle in meta plugin...
X-Git-Tag: 2.53.1~15
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b44fdc9987cdc967a78acdf510e3f70431596fd9;p=ikiwiki.git
Bug fix: use &IkiWiki::pagetitle rather than nonexistent &pagetitle in meta plugin, so that PageSpecs with title(...) work again
(cherry picked from commit 1f26a1bf1655b1d0223b24ba1db70579a3774eb1)
---
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index 671060fbf..5c1827cc0 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -260,7 +260,7 @@ sub match { #{{{
$val=$pagestate{$page}{meta}{$field};
}
elsif ($field eq 'title') {
- $val=pagetitle($page);
+ $val = IkiWiki::pagetitle($page);
}
if (defined $val) {
diff --git a/debian/changelog b/debian/changelog
index fa7517e0a..16f32863d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ ikiwiki (2.54) UNRELEASED; urgency=low
* search: Fixes for title stemming, and use better term for tags. (Gabriel McManus)
(Rebuilding the wiki on upgrade to this version is recommended if you use the
search plugin.)
+ * meta: fix title() PageSpec
-- Josh Triplett Wed, 09 Jul 2008 21:30:33 -0700