Extension talk:DynamicPageList3

Installation
and not.


 * I fixed the documentation. Alexia E. Smith (talk) 20:23, 27 May 2015 (UTC)

includeonly,onlyinclude tags
Is there any way to get DPL to account for these tags when it includes content through a template? --Nad (talk) 19:33, 9 July 2015 (UTC)
 * Quite possibly. Do you happen to have a working live example of where it is broken?  I can not seem to reproduce it exactly as described.  Alexia E. Smith (talk) 20:31, 9 July 2015 (UTC)
 * I just set up an example for you in my public wiki, but it's working perfectly! The problem I'm having is on an intranet so I can't show you, but it doesn't matter now as it must not be DPL3 that's causing the trouble. --Nad (talk) 14:47, 10 July 2015 (UTC)
 * Check if you have an extra opening or closing includeonly/noinclude/onlyinclude tag somewhere in the template you are working with. I have done that before and Mediawiki's parser does not produce an error.  Alexia E. Smith (talk) 20:15, 10 July 2015 (UTC)

DPL not installed on gamepedia.com
A lot of the manual examples in gamepedia.com aren't making much sense because they use actual DPL statements to show the results of the examples, but DPL isn't installed so the result of the example syntax is the same text as the example itself. --Nad (talk) 14:59, 12 July 2015 (UTC)
 * Looks like I never actually copied/ported over the examples from the old manual. The examples on the individual documentation pages are intended to be plain text.  I will work on porting and/or creating examples.  Alexia E. Smith (talk) 16:10, 20 July 2015 (UTC)
 * This is still a work in progress, but progress is being made. There were some bugs in 3.0.1 that I encountered that were actually preventing the manual from progressing forward.  Alexia E. Smith (talk) 20:14, 29 July 2015 (UTC)

HitCounters
HitCounters were removed in 1.25 and moved into an extension. Since installing the extension deletes the relevant tables, which is also scheduled to happen in 1.26 for all installs, reports that use the counters throw database errors. -- Prod (talk) 02:00, 21 July 2015 (UTC)
 * The new release of Extension:DynamicPageList3 supports the HitCounters extension now and resolves this issue. Alexia E. Smith (talk) 20:14, 29 July 2015 (UTC)
 * It doesn't seem to be working for me. I got the following error: Unknown column 'hit_counter.page_counter' in 'order clause'. -- Prod (talk) 02:22, 11 August 2015 (UTC)

suppresserrors/debug, undefined variable
Many thanks for this great re-work! DPL has become so essential to my wiki that I went through the trouble of upgrading to MW 1.24 and lifting PHP to 5.4. I am truly glad to see that this extension is being maintained in good hands.

I am using version 3.0.2 which I cloned via Git IIRC. Two things I noticed:


 * 1) Instead of "suppresserrors = true" I had to set "debug = false" in addition.
 * 2) There seems to be a small bug in the code for I am getting "Notice: Undefined variable: where in /var/www/extensions/DynamicPageList/classes/Query.php on line 1816".


 * I am looking into suppresserrors/debug issue. However, the PHP notices are fixed as of: https://github.com/Alexia/DynamicPageList/commit/3b8c52336cde5c444e7cd21d675d1dc802b681c0  Alexia E. Smith (talk) 15:23, 31 July 2015 (UTC)
 * Took a few minutes to figure out, but the issue with suppresserrors is that it is deprecated. Setting noresultsheader to a blank space will have the same effect of suppressing errors for queries.  Alexia E. Smith (talk) 15:43, 31 July 2015 (UTC)


 * Many thanks for your quick response! In my original request I forgot to mention that the wiki page about suppresserrors mentions debug but that is a red link. It would be great if that could reference could be completed. Cheers! --Sm8ps (talk) 19:29, 31 July 2015 (UTC)
 * I just went though and fixed several on that page. Thanks!  Alexia E. Smith (talk) 19:47, 31 July 2015 (UTC)

Internal using DPL3
I tried this with DPL3 I'm getting internal error [2eb5afba] /index.php?title=PM_Toolkit&action=submit MWException from line 496 of /var/www/mediawiki/mw/extensions/DynamicPageList/classes/Query.php: DPL\Query::addJoin: Attempted to overwrite existing join clause.

Backtrace:


 * 1) 0 /var/www/mediawiki/mw/extensions/DynamicPageList/classes/Query.php(736): DPL\Query->addJoin(string, array)
 * 2) 1 /var/www/mediawiki/mw/extensions/DynamicPageList/classes/Query.php(168): DPL\Query->_addpagecounter(boolean)
 * 3) 2 /var/www/mediawiki/mw/extensions/DynamicPageList/classes/Parse.php(221): DPL\Query->buildAndSelect(boolean)
 * 4) 3 /var/www/mediawiki/mw/extensions/DynamicPageList/DynamicPageList.hooks.php(302): DPL\Parse->parse(string, Parser, NULL, NULL, boolean)
 * 5) 4 [internal function]: DynamicPageListHooks::dplParserFunction(Parser, string, string, string, string, string, string)
 * 6) 5 /var/www/mediawiki/mw/includes/parser/Parser.php(3771): call_user_func_array(array, array)
 * 7) 6 /var/www/mediawiki/mw/includes/parser/Parser.php(3505): Parser->callParserFunction(PPFrame_DOM, string, array)
 * 8) 7 /var/www/mediawiki/mw/includes/parser/Preprocessor_DOM.php(1169): Parser->braceSubstitution(array, PPFrame_DOM)
 * 9) 8 /var/www/mediawiki/mw/includes/parser/Parser.php(3322): PPFrame_DOM->expand(PPNode_DOM, integer)
 * 10) 9 /var/www/mediawiki/mw/includes/parser/Parser.php(1231): Parser->replaceVariables(string)
 * 11) 10 /var/www/mediawiki/mw/includes/parser/Parser.php(434): Parser->internalParse(string)
 * 12) 11 /var/www/mediawiki/mw/includes/content/WikitextContent.php(333): Parser->parse(string, Title, ParserOptions, boolean, boolean, NULL)
 * 13) 12 /var/www/mediawiki/mw/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, NULL, ParserOptions, boolean, ParserOutput)
 * 14) 13 /var/www/mediawiki/mw/includes/page/WikiPage.php(2131): AbstractContent->getParserOutput(Title, NULL, ParserOptions)
 * 15) 14 /var/www/mediawiki/mw/includes/page/WikiPage.php(1757): WikiPage->prepareContentForEdit(WikitextContent, NULL, User, string)
 * 16) 15 [internal function]: WikiPage->doEditContent(WikitextContent, string, integer, boolean, NULL, string)
 * 17) 16 /var/www/mediawiki/mw/includes/page/Article.php(2016): call_user_func_array(array, array)
 * 18) 17 /var/www/mediawiki/mw/includes/EditPage.php(1921): Article->__call(string, array)
 * 19) 18 /var/www/mediawiki/mw/includes/EditPage.php(1921): Article->doEditContent(WikitextContent, string, integer, boolean, NULL, string)
 * 20) 19 /var/www/mediawiki/mw/includes/EditPage.php(1305): EditPage->internalAttemptSave(array, boolean)
 * 21) 20 /var/www/mediawiki/mw/includes/EditPage.php(539): EditPage->attemptSave(array)
 * 22) 21 /var/www/mediawiki/mw/includes/actions/EditAction.php(56): EditPage->edit
 * 23) 22 /var/www/mediawiki/mw/includes/actions/SubmitAction.php(40): EditAction->show
 * 24) 23 /var/www/mediawiki/mw/includes/MediaWiki.php(395): SubmitAction->show
 * 25) 24 /var/www/mediawiki/mw/includes/MediaWiki.php(273): MediaWiki->performAction(Article, Title)
 * 26) 25 /var/www/mediawiki/mw/includes/MediaWiki.php(566): MediaWiki->performRequest
 * 27) 26 /var/www/mediawiki/mw/includes/MediaWiki.php(414): MediaWiki->main
 * 28) 27 /var/www/mediawiki/mw/index.php(41): MediaWiki->run
 * 29) 28 {main}

When I run php update I get this

PHP Parse error: syntax error, unexpected '[' in /var/www/mediawiki/mw/extensions/DynamicPageList/DynamicPageList.php on line 21


 * If you are running less than PHP version 5.4 you will need to upgrade. Alexia E. Smith (talk) 18:27, 19 October 2015 (UTC)


 * MediaWiki 1.25.3, PHP 5.4.40, MySQL 5.6.19-log -- 19 October 2015 [mailto:plegault@its.jnj.com?Subject=DynamicPageList3%20-%20Internal%20error Phil Legault]


 * I get these errors
 * Fatal error: Call to undefined function DPL\mb_strtoupper in /var/www/mediawiki/mw/extensions/DynamicPageList/classes/Parse.php on line 658

Parent category listing only articles of ordermethod=firstedit
When I add the parent category it list only sub-categories and not pages. How do I get it to select the pages for the sub-categories and not the subcategories?
 * Can you put in the DPL tag with all the parameters you are using here? Thanks!  Alexia E. Smith (talk) 14:23, 29 October 2015 (UTC)

dplcache parameter
When is going to be introduced a replacemenet for the 'dplcache' parameter? Or is there already one? The documentation on gamepedia says that it's being worked on. Is there a release date or... ? 188.24.73.36 14:22, 15 November 2015 (UTC)
 * Whoops, that should have been removed from the documentation. The dplcache parameter was added in DPL2 and I removed it when creating DPL3.  The cache functionality is now fully handled by MediaWiki's built in cache system and there is no need for it anymore.  Alexia E. Smith (talk) 17:35, 15 November 2015 (UTC)