DPL talk:Manual - DPL parameters: Other parameters

From FollowTheScore
Revision as of 11:42, 14 October 2008 by Marineam (talk | contribs) (Last updated article: new section)
Jump to: navigation, search

allowcachedresults

Does "allowcachedresults" use the data that is stored in the browser's cache, or is there something like a "server cache" where the results get stored? The later would be really useful in our case because our visitors usually just consult the pages once and it would be fine if the database-query results are updated only once a day or so.

My best, --Gollum2 17:43, 31 May 2008 (CEST)

It's a server-side cache. --Rezyk 02:18, 3 June 2008 (CEST)

Last updated article

Hi everybody,

I use your extension to display an extract of the last updated article on my main page. A couple of articles start with a template and I can't get the first 200 characters because of this template (displayed as a table). I'd like to ignore this template and display only the characters after it. I used reset or eliminate to do that but it didn't work.

Here is my DPL query :

{{#dpl:
  |notnamespace=Event
  |notnamespace=Image
  |notnamespace=User
  |notnamespace=Template
  |ordermethod=lastedit
  |order=descending
  |addeditdate=true
  |userdateformat=d/m/y H:i
  |adduser=true
  |minoredits=exclude
  |count=1
  |skipthispage=yes
  |includepage= %0[200]
  |format= ,[[%PAGE%|%TITLE%]] <br/> <span class='lastArt_details'>by [[User:%USER%|%USER%]] - %DATE%</span> <br/>
  |reset=templates
}}

Thank you for your help -- Marineam 09:42, 14 October 2008 (UTC)