Summary: (:title:) directives should not have effect in (:include:) included pages
Created: 2006-07-28 08:24
Status: Closed - added
Description: Announced as being fixed in 2.1.6 (http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/26922/match=include+title+directives+don+t+mix) but problem still persists.
Title is a form of page-specific metadata. There should be a metadatablock at the beginning of a page where you can assign arbitrary key=value pairs that can be used by other tools. These are locked to and evaluated in the page context, even if the page is included in another scope.
FWIW, I use and need to set the title from an included page. I am using every day wikipages in a log-like configuration where the page name is 20090203 and the GroupFooter contains
You can completely disable title directives in included pages by adding to config.php such a code:
Intuitively for beginner & intermediate users they will expect the first title directive to "win". If an administrator knows he/she has need for the (non-intuitive) last-title-directive-wins behavior then that should be something explicitly set to vary from the default. Administrators know how to fix configuration variables and have access to do so; therefore a change in core would result in the most logical default configuration. My vote is to change core. Just my $0.02... (An alternative might be to have some sort of
This PITS entry is about title directives in included pages, and not about if the first or last title "wins". The code I suggested fixes just that. --Petko February 03, 2009, at 01:06 AM