Issue:Include option only in the main namespace ?

From FollowTheScore
Jump to: navigation, search
Description: include option of Dynamic Page List seems to be fonctionnal only in the main namespace.
Extension / Version: DPL   /   1.6.5
Type / Status: Bug   /   closed

Problem

On EricLarcher wiki, when I use this DPL statement
<DPL> category=Blog createdby=Eric Larcher mode=ordered ordermethod=firstedit order=descending addeditdate=true include=* format= ,{{Début cadre|gris}}<font size="3">'''%TITLE%'''</font>\n\n<font size="0.5em">%DATE%</font>\n\n,\n<font size="0.5em">[[Discussion_%TITLE%|voir les commentaires]]\n[{{SERVER}}{{localurl:{{SITENAME}}:Discussion_%TITLE%|action=edit&section=new }} ajoutez un commentaire]</font>{{Fin cadre}}\n\n\n\n,\n noresultsheader=\n resultsfooter=<br/>\n'''%PAGES% billet(s) publié(s)'''\n </DPL>
in the main namespace, all is ok. An example can be seen here But, when I try to use this DPL statement in a page of another namespace (for exemple, in Utilisateur:Eric Larcher), the render of the page goes out with a Error 500 - Internal server error. Without the include=* statement, it' OK.


Reply

Let´s see if we can help. Please try to reproduce the problem here on this server. Strip down your example as far as possible making sure that the error still occurs. Then I can switch on some server logging to see what happens.

You might also want to try "debug=5" which will show you what DPL gets to see before it starts processing. "debug=3" could also help but I suspect that you will not get any output from this due to the server error.

Something you might also want to try is the following: use the parser function notation (#dpl) and see what happens then. Be careful with pipe characters when doing so.

Good luck, 23:16, 10 March 2008 (CET)
Thanks a lot for your quick answer. I will try to do all of that tomorrow afternoon.
Best regards. --Eric Larcher 18:45, 11 March 2008 (CET)
I have solved my problem. That's the "debug=5" mode which showed me what happened. Thanks for this helpful suggestion ! In fact, it was a cross recursivity issue: my second dpl statement with Blog category selection called the page of my first dpl statement (with its own Blog category selection) which called the page of the second DPL statement which called the page of the first, and so on...until, I suppose, some overflow. Does I close the issue ? Best regards, --Eric Larcher 15:47, 12 March 2008 (CET)