01091: Pagelist default does not handle variable in trail

Summary: Pagelist default does not handle variable in trail
Created: 2009-04-22 04:02
Status: Closed - duplicate of 00986
Category: Bug
From: simon
Assigned:
Priority: 2
Version: 2.2.1
OS: n/a

Description: Pagelist defaults does not handle a trail containing a variable, viz

Does not work
>>comment<<
[[#recentlychanged]]
(:template defaults trail={$Group}.RecentChanges:)
(:template first:)
||width=* 
||!Page ||! Time||!By ||!Change ||
(:template each:)
||''[[{=$FullName} | {=$Groupspaced}.{=$Namespaced}]]'' || [[{=$FullName}?action=diff | {=$LastModified}]]||[[~{=$LastModifiedBy}]] ||{=$LastModifiedSummary} ||
[[#recentlychangedend]]
>>font-size:smaller<<

(:pagelist fmt=#recentlychanged count=4:)

(:template defaults trail=PITS.RecentChanges:) (:template first:)

PageTimeByChange

(:template each:)

{=$Groupspaced}.{=$Namespaced}?{=$LastModified}{=$LastModifiedBy}?{=$LastModifiedSummary}

PageTimeByChange
PITS.01520April 05, 2025, at 09:42 PMPetko$FmtV['$LinkRel'] = 'noreferrer nofollow'; (+579)
PITS.01521April 01, 2025, at 07:31 PMNitramCountGlyphs for other pages and sections? (+776)
PITS.01518March 31, 2025, at 06:43 PMPetko(+69)
PITS.01519March 29, 2025, at 06:22 PMPetkoalready committed, ChangeLog (+220)

Works!
>>font-size:smaller<<

(:pagelist fmt=#recentlychanged count=4 trail={$Group}.RecentChanges:)
PageTimeByChange
PITS.01520April 05, 2025, at 09:42 PMPetko$FmtV['$LinkRel'] = 'noreferrer nofollow'; (+579)
PITS.01521April 01, 2025, at 07:31 PMNitramCountGlyphs for other pages and sections? (+776)
PITS.01518March 31, 2025, at 06:43 PMPetko(+69)
PITS.01519March 29, 2025, at 06:22 PMPetkoalready committed, ChangeLog (+220)

Works
>>comment<<
[[#recentlychanged2]]
(:template defaults trail=PITS.RecentChanges:)
(:template first:)
||width=* 
||!Page ||! Time||!By ||!Change ||
(:template each:)
||''[[{=$FullName} | {=$Groupspaced}.{=$Namespaced}]]'' || [[{=$FullName}?action=diff | {=$LastModified}]]||[[~{=$LastModifiedBy}]] ||{=$LastModifiedSummary} ||
[[#recentlychanged2end]]
>>font-size:smaller<<

(:pagelist fmt=#recentlychanged2 count=4:)

(:template defaults trail=PITS.RecentChanges:) (:template first:)

PageTimeByChange

(:template each:)

{=$Groupspaced}.{=$Namespaced}?{=$LastModified}{=$LastModifiedBy}?{=$LastModifiedSummary}

PageTimeByChange
PITS.01520April 05, 2025, at 09:42 PMPetko$FmtV['$LinkRel'] = 'noreferrer nofollow'; (+579)
PITS.01521April 01, 2025, at 07:31 PMNitramCountGlyphs for other pages and sections? (+776)
PITS.01518March 31, 2025, at 06:43 PMPetko(+69)
PITS.01519March 29, 2025, at 06:22 PMPetkoalready committed, ChangeLog (+220)

This entry is similar PITS:00986 (PageVariables substitution in pagelist's (:template defaults:) ). See also the comments from Pm there. --Petko May 08, 2009, at 12:06 AM