From b44fdc9987cdc967a78acdf510e3f70431596fd9 Mon Sep 17 00:00:00 2001
From: Simon McVittie
Date: Sat, 12 Jul 2008 15:14:47 +0100
Subject: [PATCH] Bug fix: use &IkiWiki::pagetitle rather than nonexistent
&pagetitle in meta plugin, so that PageSpecs with title(...) work again
(cherry picked from commit 1f26a1bf1655b1d0223b24ba1db70579a3774eb1)
---
IkiWiki/Plugin/meta.pm | 2 +-
debian/changelog | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
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
--
2.26.2