Trying to use includemaxlength and $wgDplSettings #122
-
Hi there, I had previously used the old DynamicPageList with an older version of Mediawiki (I think 1.22). We recently upgraded on a new server and began using DynamicPageList3. There are a couple of things that don’t seem to work, and as I’m not technical, most likely I am missing something. Here is the code inside my Mediawiki installation. I carried over what I thought was relevant from the old installation.
The hope is to only show the first 300 characters from each page. I have tried The result is, sadly, I get the entire page cited, not the first 300 characters. Also the pages DynamicPageList3 seems to choose begin with either A or B. I remember I had this problem with the original DynamicPageList and looking through the old LocalSettings.php, I believe I added these lines:
I looked up the equivalent for DynamicPageList3 and I understand the equivalent to be:
Yet I cannot get pages that don’t begin with A and B. Could you please advise what I am doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
I browsed this site a bit, and it seems allowUnlimitedResults had been discussed. I have now made this change in ParametersData.php:
Now trying to sort the other thing … thank you for keeping track of all these discussions and changes! |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
includemaxlength
(and unrelatedtitlemaxlength
) since that was an issue with the extension as far as I can tell. The fix is untested, though, feel free to test that out and let me know, otherwise it'll be awhile before that fix is deployed.