DPL talk:Manual - Source and Installation

From FollowTheScore
Revision as of 21:43, 4 May 2008 by Gero (talk | contribs)
Jump to: navigation, search

It would be awesome if you had some installing instructions too. —The preceding unsigned comment was added by 81.198.235.75 (talkcontribs) 12:21, August 21, 2007. Please sign your posts!

It would be nice if you could use a 'real' name.
There was a proper manual, but it seems to have been deleted by incident. It has been restored.
Gero 18:45, 22 August 2007 (CEST)

Bugreport: params don't exist!

At least $wgDPL2AllowUnlimitedResults and $wgDPL2MaxResultCount don't seem to exist (anymore). Grep confirms this: root@host:extensions/DynamicPageList# grep wgDPL2MaxResultsCount *.php root@host:extensions/DynamicPageList# grep wgDPL2AllowUnlimitedResults *.php root@host:extensions/DynamicPageList#

This is really annoying since we hit the limit of 500 in a number of queries. Right now all we can do is patch the code directly ;-( -- Mati 15:55, 4 May 2008 (CEST)

Reply

Indeed, due to a change some time ago these variables are now public static members of

class ExtDynamicPageList2
   ..
   public  static $maxResultCount           = 500;   // Maximum number of results to allow
   public  static $allowUnlimitedResults    = false; // Allow unlimited results to be shown
   ..

They should be accessible as ExtDynamicPageList2::$maxResultCount etc.

Gero 22:43, 4 May 2008 (CEST)