DPL talk:Manual - Source and Installation
It would be awesome if you had some installing instructions too. —The preceding unsigned comment was added by 81.198.235.75 (talk • contribs) 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)
- Is this the intended behavior (in that case, the documentation has to be updated) or, which would IMHO be the better solution, will these variables be made available again?
- -- Mati 23:48, 4 May 2008 (CEST)
- Yes and yes. I will try to find a way to make the old global variables available besides the new form - but only for reasons of downward compatibility; the preferred way is to use the static class members. Gero 07:01, 5 May 2008 (CEST)