Issue:Ordermethod=lastedit / addeditdate=true - broken in 1.7.9 and 1.8.0

From FollowTheScore
Revision as of 15:33, 8 June 2009 by Giles (talk | contribs) (New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.8.0 (and 1.7.9) |Description = Ordermethod=lastedit / addeditdate=true - broken in 1.7.9 and 1.8.0 |Status = open }...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Description: Ordermethod=lastedit / addeditdate=true - broken in 1.7.9 and 1.8.0
Extension / Version: DPL   /   1.8.0 (and 1.7.9)
Type / Status: Bug   /   open

Problem

The following DPL code should do the same job as {{REVISIONTIMESTAMP}}, but for one page from another page (Main Page in this case):

{{#dpl:
|title=Main Page
|skipthispage=no
|noresultsheader=N/A
|format=,%DATE%,,
|addeditdate=true
|userdateformat=U
|ordermethod=lastedit 
}}
  • On 1.7.4, this code worked fine.
  • On 1.7.9, it went bananas and printed out a whole stream of incorrect output that filled the page. (Each output was correctly formatted as a U date, but there were hundreds of them.)
  • On 1.8.0, the output is %DATE%.

Any chance you could have a look at this, please? I'd revert to 1.7.4, but I need the other lastedit fixes that 1.7.9 introduced.

Thanks very much. Great extension btw - immensely useful, so thanks for all the effort you guys have put into it so far.