00789: (:title :) tag not converted to title parameter at save

Summary: (:title :) tag not converted to title parameter at save
Created: 2006-08-22 11:55
Status: Closed - Cookbook error
Category: Bug
From:
Assigned:
Priority: 5
Version: 2.1.14
OS: Win2K / IIS / PHP5.1.14

Description:

When a page containing the (:title :) tag is saved, the title= attribute is not set in the saved page, so the {$Title} variable doesn't work.

If the title= line is manually added to the saved page in the wiki.d dir, the variable works. If that page is edited again through the wiki editor, the title parameter is lost again, even if the (:title :) markup is used.

Example:

Just created ProcessChanges.5404...

version=pmwiki-2.1.14 ordered=1 urlencoded=1
agent=Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.3 Firefox/1.5.0.4
author=jammason
csum=
ctime=1156265546
host=192.168.0.139
name=ProcessChanges.5404
rev=1
targets=
text=(:title Process Change #2818:)%0a%0aLorem Ipsum...%0a
time=1156265546
author:1156265546=jammason
diff:1156265546:1156265546:=1,3d0%0a%3c (:title Process Change #2818:)%0a%3c %0a%3c Lorem Ipsum...%0a
host:1156265546=192.168.0.139

Should be:

version=pmwiki-2.1.14 ordered=1 urlencoded=1
agent=Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060527 SUSE/1.5.0.4-1.3 Firefox/1.5.0.4
author=jammason
csum=
ctime=1156265546
host=192.168.0.139
name=ProcessChanges.5404
rev=1
targets=
text=(:title Process Change #2818:)%0a%0aLorem Ipsum...%0a
time=1156265546
title=Process Change #2818
author:1156265546=jammason
diff:1156265546:1156265546:=1,3d0%0a%3c (:title Process Change #2818:)%0a%3c %0a%3c Lorem Ipsum...%0a
host:1156265546=192.168.0.139

Solved!

The Extended Markup recipe (extendedmarkup.php) (2.0.49) defined 'title' as well - I commented it out (lines 243 - 246) and viola - my titles are back! I see also there's an update that addressed this... I guess it's time to update my recipes.