Difference between revisions of "DPL talk:Manual - Source and Installation"
(New section: Bugreport: params don't exist!) |
|||
Line 14: | Line 14: | ||
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 ;-( | 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 ;-( | ||
-- [[User:Mati|Mati]] 15:55, 4 May 2008 (CEST) | -- [[User:Mati|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. | ||
+ | |||
+ | :[[User:Gero|Gero]] 22:43, 4 May 2008 (CEST) |
Revision as of 22:43, 4 May 2008
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)