<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.returntogilead.com/index.php?action=history&amp;feed=atom&amp;title=Help%3ADPL%2FParameters%3A_Other_parameters</id>
	<title>Help:DPL/Parameters: Other parameters - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.returntogilead.com/index.php?action=history&amp;feed=atom&amp;title=Help%3ADPL%2FParameters%3A_Other_parameters"/>
	<link rel="alternate" type="text/html" href="http://wiki.returntogilead.com/index.php?title=Help:DPL/Parameters:_Other_parameters&amp;action=history"/>
	<updated>2026-09-17T21:26:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.0</generator>
	<entry>
		<id>http://wiki.returntogilead.com/index.php?title=Help:DPL/Parameters:_Other_parameters&amp;diff=1079&amp;oldid=prev</id>
		<title>Scientific Guy at 15:35, 8 October 2022</title>
		<link rel="alternate" type="text/html" href="http://wiki.returntogilead.com/index.php?title=Help:DPL/Parameters:_Other_parameters&amp;diff=1079&amp;oldid=prev"/>
		<updated>2022-10-08T15:35:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:35, 8 October 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l160&quot;&gt;Line 160:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 160:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Default: true&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Default: true&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All queries are cached by default to reduce server load as generally articles do not change often enough to require updating every page load.  If immediate updates are required every page load then set this parameter to false.  The cache period is handled by the [[#cacheperiod]] parameter.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All queries are cached by default to reduce server load as generally articles do not change often enough to require updating every page load.  If immediate updates are required every page load then set this parameter to false.  The cache period is handled by the [[#cacheperiod]] parameter.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;!--&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This parameter has no effect on Fandom projects since cached results is always set to true to reduce server load.--&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==reset==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==reset==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki-dglwiki_:diff::1.12:old-39:rev-1079 --&gt;
&lt;/table&gt;</summary>
		<author><name>Scientific Guy</name></author>
	</entry>
	<entry>
		<id>http://wiki.returntogilead.com/index.php?title=Help:DPL/Parameters:_Other_parameters&amp;diff=39&amp;oldid=prev</id>
		<title>Scientific Guy: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.returntogilead.com/index.php?title=Help:DPL/Parameters:_Other_parameters&amp;diff=39&amp;oldid=prev"/>
		<updated>2022-06-02T04:06:43Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DPL manual|section=Parameters|subsection=Other parameters|sort=P5}}&lt;br /&gt;
{{TOC right}}&lt;br /&gt;
==updaterules==&lt;br /&gt;
{{DPL parameter&lt;br /&gt;
 |name   = updaterules&lt;br /&gt;
 |purpose= define a set of rules which are executed to perform an update on selected articles (&amp;#039;&amp;#039;bulk update&amp;#039;&amp;#039; or &amp;#039;&amp;#039;template value editing&amp;#039;&amp;#039;)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;updaterules=&lt;br /&gt;
     &amp;lt;i&amp;gt;rule&amp;lt;/i&amp;gt;;&lt;br /&gt;
     ...&lt;br /&gt;
     &amp;lt;i&amp;gt;rule&amp;lt;/i&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
Where rule is one of the following:&lt;br /&gt;
&lt;br /&gt;
* rules for batch update of articles  &lt;br /&gt;
     replace &amp;#039;&amp;#039;pattern&amp;#039;&amp;#039;;&lt;br /&gt;
      by        &amp;#039;&amp;#039;replacement&amp;#039;&amp;#039;;&lt;br /&gt;
     before  &amp;#039;&amp;#039;pattern&amp;#039;&amp;#039;;&lt;br /&gt;
         insert &amp;#039;&amp;#039;text&amp;#039;&amp;#039;;&lt;br /&gt;
     after   &amp;#039;&amp;#039;pattern&amp;#039;&amp;#039;;&lt;br /&gt;
      insert    &amp;#039;&amp;#039;text&amp;#039;&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
* rules for interactive update of articles&lt;br /&gt;
     template  &amp;#039;&amp;#039;template name&amp;#039;&amp;#039;;&lt;br /&gt;
     legend    &amp;#039;&amp;#039;legend article name&amp;#039;&amp;#039;;&lt;br /&gt;
     table     &amp;#039;&amp;#039;table format&amp;#039;&amp;#039;;&lt;br /&gt;
     editform  &amp;#039;&amp;#039;form parameters&amp;#039;&amp;#039;;&lt;br /&gt;
     action    &amp;#039;&amp;#039;form action&amp;#039;&amp;#039;;&lt;br /&gt;
     hidden    &amp;#039;&amp;#039;value&amp;#039;&amp;#039;;&lt;br /&gt;
     submit    &amp;#039;&amp;#039;submit button&amp;#039;&amp;#039;;&lt;br /&gt;
     commit    &amp;#039;&amp;#039;commit button&amp;#039;&amp;#039;;&lt;br /&gt;
     parameter &amp;#039;&amp;#039;parameter name&amp;#039;&amp;#039;;&lt;br /&gt;
        value      &amp;#039;&amp;#039;value&amp;#039;&amp;#039;;&lt;br /&gt;
        format     &amp;#039;&amp;#039;display format&amp;#039;&amp;#039;;&lt;br /&gt;
        tooltip    &amp;#039;&amp;#039;text&amp;#039;&amp;#039;;&lt;br /&gt;
        optional   &amp;#039;&amp;#039;value&amp;#039;&amp;#039;;&lt;br /&gt;
        afterparm  &amp;#039;&amp;#039;parameter name&amp;#039;&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
* common rules&lt;br /&gt;
     summary &amp;#039;&amp;#039;edit summary text&amp;#039;&amp;#039;;&lt;br /&gt;
     exec    &amp;#039;&amp;#039;value&amp;#039;&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
The first group of rules is intended for batch updates of articles. A DPL query can select a group of articles and perform updates like inserting a piece of text at a certain position or changing text portions based on regular expressions.&lt;br /&gt;
&lt;br /&gt;
The second group of rules is intended for interactive form-based editing of template values.&lt;br /&gt;
&lt;br /&gt;
The third group of rules is common to both other groups and controls the update process.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;updaterules&amp;lt;/code&amp;gt; feature is intended for wiki expert users only. It is recommended that articles usind this statement are &amp;#039;protected&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
===Rules for batch update in detail:===&lt;br /&gt;
====replace &amp;#039;&amp;#039;pattern&amp;#039;&amp;#039;;====&lt;br /&gt;
Defines a regular expression which matches text portions that shall be replaced. It is in the responsibility of the user to provide enclosing characters for the regexp; modifiers line &amp;#039;U&amp;#039; or &amp;#039;m&amp;#039; can be used.&lt;br /&gt;
&lt;br /&gt;
====by &amp;#039;&amp;#039;replacement&amp;#039;&amp;#039;;====&lt;br /&gt;
Defines the replacement for the above pattern; back references like \1 can be used.&lt;br /&gt;
&lt;br /&gt;
====before &amp;#039;&amp;#039;pattern&amp;#039;&amp;#039;;====&lt;br /&gt;
Defines locations where text will be inserted. The location(s) will be immediately before the match(es) of the pattern. If a pattern matches multiple times, multiple inserts will be performed.&lt;br /&gt;
&lt;br /&gt;
The regexp will implicitly be enclosed in slashes. Hence literal slash characters must be escaped by backslashes.&lt;br /&gt;
&lt;br /&gt;
====after &amp;#039;&amp;#039;pattern&amp;#039;&amp;#039;;====&lt;br /&gt;
Defines locations where text will be inserted. The location(s) will be immediately after the match(es) of the pattern. If a pattern matches multiple times, multiple inserts will be performed.&lt;br /&gt;
&lt;br /&gt;
The regexp will implicitly be enclosed in slashes. Hence literal slash characters must be escaped by backslashes.&lt;br /&gt;
&lt;br /&gt;
====insert &amp;#039;&amp;#039;text&amp;#039;&amp;#039;;====&lt;br /&gt;
Defines the text to be inserted.&lt;br /&gt;
&lt;br /&gt;
A DPL statement may contain replacement, insertion before and after at the same time.&lt;br /&gt;
     replace /([a-z]+])-cat/;&lt;br /&gt;
     by      \1-dog;&lt;br /&gt;
     before  foo;&lt;br /&gt;
     insert  bar;&lt;br /&gt;
     after   foo;&lt;br /&gt;
     insert  bar2;&lt;br /&gt;
&lt;br /&gt;
Only one &amp;#039;replace&amp;#039;-&amp;#039;by&amp;#039; sequence, one insertion &amp;#039;before&amp;#039; and one insertion &amp;#039;after&amp;#039; can be specified. &amp;#039;replace&amp;#039; is always executed first, followed by &amp;#039;insert before&amp;#039; and &amp;#039;insert after&amp;#039;, regardless of the sequence in which the rules appear in the DPL source ´text.&lt;br /&gt;
&lt;br /&gt;
===Rules for interactive update in detail:===&lt;br /&gt;
====template &amp;#039;&amp;#039;template name&amp;#039;&amp;#039;;====&lt;br /&gt;
The name of the template; the prefix &amp;quot;Template:&amp;quot; must be given.&lt;br /&gt;
&lt;br /&gt;
be inserted. The location(s) will be immediately before the match(es) of the pattern. If a pattern matches multiple times, multiple inserts will be performed.&lt;br /&gt;
&lt;br /&gt;
The regexp will implicitly be enclosed in slashes. Hence literal slash characters must be escaped by backslashes.&lt;br /&gt;
&lt;br /&gt;
a regular expression&lt;br /&gt;
     after   &amp;#039;&amp;#039;pattern&amp;#039;&amp;#039;;&lt;br /&gt;
     insert  &amp;#039;&amp;#039;text&amp;#039;&amp;#039;;&lt;br /&gt;
     replace &amp;#039;&amp;#039;pattern&amp;#039;&amp;#039;;&lt;br /&gt;
     by      &amp;#039;&amp;#039;replacement&amp;#039;&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
For safety reasons the update statements will only be performed if &amp;quot;exec yes&amp;quot; is specified. So, leaving this away, you can check what would happen if the update were to be executed.&lt;br /&gt;
&lt;br /&gt;
Note that if &amp;quot;exec yes&amp;quot; is present the update will be performed each time the page is rendered which contains the DPL statement  with the &amp;lt;code&amp;gt;updaterules&amp;lt;/code&amp;gt;. So it is advisable to set &amp;quot;exec yes&amp;quot; only via a command line argument and not as part of the statioc article text. Thus you stay in control when the update happens. Typically one would use an URL parameter like &amp;#039;&amp;#039;DPL_arg1&amp;#039;&amp;#039; for that purpose.&lt;br /&gt;
&lt;br /&gt;
The size of the form fields will dapt to the size of the displayed content.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--To make the use of the &amp;lt;code&amp;gt;updaterules&amp;lt;/code&amp;gt; feature easier we provide a [[Template:Bulk Update|special user interface]]. &lt;br /&gt;
Note: This template is deliberately not present, as it can apparently alter lots of wiki content. The line above is retained as a comment since it was part of the original DPL documentation. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;text&amp;#039;&amp;#039; is plain text; &amp;#039;&amp;#039;replacement&amp;#039;&amp;#039; is text which may contain references (like \1) to the matching &amp;#039;&amp;#039;pattern&amp;#039;&amp;#039; (provided that this pattern contains match groups).&lt;br /&gt;
&lt;br /&gt;
==deleterules==&lt;br /&gt;
{{DPL parameter&lt;br /&gt;
 |name   = deleterules&lt;br /&gt;
 |purpose= allow the mass deletion of wiki pages&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
 deleterules=&lt;br /&gt;
     reason &amp;lt;i&amp;gt;text&amp;lt;/i&amp;gt;;&lt;br /&gt;
     exec   true;&lt;br /&gt;
&lt;br /&gt;
This command is experimental at the moment.&lt;br /&gt;
&lt;br /&gt;
This will delete the selected pages; If &amp;quot;exec true&amp;quot; is missing, nothing will happen.&lt;br /&gt;
&lt;br /&gt;
==goal==&lt;br /&gt;
{{DPL parameter&lt;br /&gt;
 |name   = goal&lt;br /&gt;
 |purpose= set the overall goal for DPL to either show &amp;#039;&amp;#039;&amp;#039;pages&amp;#039;&amp;#039;&amp;#039; (default) or &amp;#039;&amp;#039;&amp;#039;categories&amp;#039;&amp;#039;&amp;#039; these pages belong to&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;goal=&amp;lt;i&amp;gt;pages | categories&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
&lt;br /&gt;
Default is &amp;#039;pages&amp;#039;, which means that DPL produces a list of pages. And this is exactly what the name DPL promises.&lt;br /&gt;
&lt;br /&gt;
If you set the goal parameter to &amp;#039;categories&amp;#039; the list of pages will still be produced but you won&amp;#039;t see it. Instead it will be used to &amp;#039;&amp;#039;&amp;#039;calculate a unique ordered list of all categories these pages belong to&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
This allows you to ask a question like: Given all pages that are member of category X with a title matching &amp;quot;y%&amp;quot; and which use template &amp;quot;Z&amp;quot;: to which categories do these pages belong?&lt;br /&gt;
&lt;br /&gt;
One of the more useful applications would be question like: &amp;quot;To which categories do the pages belong which contain a reference to the current page?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The output of &amp;quot;goal=categories&amp;quot; is technically a &amp;#039;&amp;#039;list of pages of type category&amp;#039;&amp;#039;. This means that you can use all DPL formatting options (mode=userformat, listseparators, columns etc.) and pseudo variables (%TITLE%, %PAGE%) to customise the layout of your report.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Technical Note:&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Due to some limitations in MySQL it is currently not possible to restrict the intermediate result set of pages to a certain maximum (using the LIMIT clause). In addition the generated SQL code is not in all cases optimal (as its structure provides for complex selection criteria and therefore is unnecessarily complex in simple cases). So be careful and apply precise selection criteria.&lt;br /&gt;
&lt;br /&gt;
==allowcachedresults==&lt;br /&gt;
{{DPL parameter&lt;br /&gt;
 |name   = allowcachedresults&lt;br /&gt;
 |purpose= Cache query results to improve performance keep servers from crashing under high load.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;allowcachedresults=&amp;lt;i&amp;gt;true | false&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
&lt;br /&gt;
Default: true&lt;br /&gt;
All queries are cached by default to reduce server load as generally articles do not change often enough to require updating every page load.  If immediate updates are required every page load then set this parameter to false.  The cache period is handled by the [[#cacheperiod]] parameter.&lt;br /&gt;
&lt;br /&gt;
==reset==&lt;br /&gt;
{{DPL parameter&lt;br /&gt;
 |name   = reset&lt;br /&gt;
 |purpose= suppress references to pages, templates, images, categories in DPL output&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;reset=&amp;lt;i&amp;gt;keyword,..&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;, where &amp;#039;&amp;#039;keyword&amp;#039;&amp;#039; is one of:&lt;br /&gt;
*&amp;#039;&amp;#039;categories&amp;#039;&amp;#039; &lt;br /&gt;
*&amp;#039;&amp;#039;templates&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;images&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;links&amp;#039;&amp;#039; &lt;br /&gt;
*&amp;#039;&amp;#039;all&amp;#039;&amp;#039; &amp;amp;mdash; a synonym for all of the above&lt;br /&gt;
&lt;br /&gt;
The output of a DPL statement typically creates links to all pages which are part of the result set. The inclusion of contents from other pages via DPL (using &amp;#039;include&amp;#039;) normally has the consequence&lt;br /&gt;
* that the page containing the DPL query becomes part of the categories of the transcluded page&lt;br /&gt;
* that it shares (&amp;#039;adopts&amp;#039;) their use of templates&lt;br /&gt;
* that it shares their references to images&lt;br /&gt;
* that it shares their references to other articles.&lt;br /&gt;
&lt;br /&gt;
In some cases this may be useful. But in many cases this is not wanted. Especially when you use DPL to create a printable document which contains the full text of other articles you will probably not want to duplicate all links, template uses etc. of those articles.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt; parameter will suppress all or some of the effects described above.&lt;br /&gt;
&lt;br /&gt;
There are some subtle differences here depending on the mode in which you use DPL. These differences affect the question how links, and categories etc. are treated which are direct part of the document containing the DPL query.&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
[[Category:Q Cat]] linking to [[Q Link]] and showing [[Image:Q Image]] and using {{Q Template}}&lt;br /&gt;
... DPL query which includes contents from other articles.&lt;br /&gt;
    assuming that this contents contains links and images, &lt;br /&gt;
             that it uses templates and thatthe articles are part of one or more categories&lt;br /&gt;
    RESET statement at the end of the DPL query with one or more of &amp;#039;categories,templates,images,links&amp;#039;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;In parser extension mode (DPL &amp;#039;&amp;#039;&amp;#039;tag&amp;#039;&amp;#039;&amp;#039; like &amp;amp;lt;DPL&amp;amp;gt;):&amp;lt;/u&amp;gt;&lt;br /&gt;
;reset=categories: will ignore categories of included contents but keep &amp;#039;own&amp;#039; categories like &amp;#039;Q Cat&amp;#039;.&lt;br /&gt;
;reset=images: will throw away references to images contained in included contents but keep &amp;#039;own&amp;#039; images like &amp;#039;Q Image&amp;#039;.&lt;br /&gt;
;reset=templates: will ignore templates used in included contents but keep &amp;#039;own&amp;#039; template usage (&amp;#039;Q Template&amp;#039;).&lt;br /&gt;
;reset=links: will throw away all references to other pages, i.e. links contained in included contents and links like &amp;#039;Q Link&amp;#039; will be ignored. This means that all links can be used in the normal &amp;quot;FORWARD&amp;quot; way, but no &amp;quot;BACKLINKS&amp;quot; are available for them.&lt;br /&gt;
&lt;br /&gt;
If you want to avoid the above described effect of &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt; on your &amp;#039;own&amp;#039; links you can use {{DPL|eliminate}}. But you should know that &amp;#039;&amp;#039;eliminate&amp;#039;&amp;#039; is rather expensive in terms of computer power as it does a second parse for all included contents.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;In parser function mode (&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{#DPL:....}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;):&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;reset=categories: will ignore all categories&lt;br /&gt;
;reset=images: will throw away all references to images &lt;br /&gt;
;reset=templates: will ignore all template invocations&lt;br /&gt;
;reset=links: will throw away all references to other pages&lt;br /&gt;
&lt;br /&gt;
As you see, using &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt; in parser function mode will clear everything regardless whether it comes from included contents or whether it is direct part of the document containing the DPL query.&lt;br /&gt;
&lt;br /&gt;
If you want to avoid the above described effect of &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt;, you can use {{DPL|eliminate}}&amp;lt;/code&amp;gt;. But you should know that &amp;#039;&amp;#039;eliminate&amp;#039;&amp;#039; is rather expensive in terms of computing power as it does a second parse for all included contents. The extra parser step is conducted as soon as you specify &amp;lt;code&amp;gt;eliminate&amp;lt;/code&amp;gt;. In terms of extra processing needed it does not make a difference whether you specify one or more arguments for the &amp;#039;eliminate&amp;#039; command.&lt;br /&gt;
&lt;br /&gt;
If you have &amp;#039;&amp;#039;&amp;#039;more than one DPL query&amp;#039;&amp;#039;&amp;#039; in a document the effects will depend on the exact mode (parser extension or parser function mode), on the sequence of the statements and on the presence of &amp;#039;reset&amp;#039; or &amp;#039;eliminate&amp;#039; statements in each of the queries and on their individual arguments. As this is a very rare case we only give a simple rule of thumb here: Once you have used &amp;#039;reset&amp;#039; in parser function mode or &amp;#039;reset=links&amp;#039; in parser extension mode the effect of these statements will dominate the rest.&lt;br /&gt;
&lt;br /&gt;
==fixcategory==&lt;br /&gt;
{{DPL parameter&lt;br /&gt;
 |name   = fixcategory&lt;br /&gt;
 |purpose= assign the article containing a DPL statement to a category although &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt; was used.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&amp;lt;code&amp;gt;fixcategory=&amp;lt;i&amp;gt;category name&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use multiple commands to assign the article to more than one category.&lt;br /&gt;
&lt;br /&gt;
If you use &amp;lt;code&amp;gt;reset=all&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;reset=categories&amp;lt;/code&amp;gt; the article containing your DPL statement will not be recorded in the  mediawiki link database. This may be quite useful if your article transcludes content from other pages. Without the &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt; command your article would appear in a category if you included a text portion containing an assignment to that category.&lt;br /&gt;
&lt;br /&gt;
As a side effect of using &amp;lt;code&amp;gt;reset=all&amp;lt;/code&amp;gt; your article will not appear in a category even if you literally assign it to one.&lt;br /&gt;
The &amp;lt;code&amp;gt;fixcategory&amp;lt;/code&amp;gt; allows you to make a category assignment which is not blocked by the {{DPL|reset}} command.&lt;br /&gt;
&lt;br /&gt;
==eliminate==&lt;br /&gt;
{{DPL parameter&lt;br /&gt;
 |name   = eliminate&lt;br /&gt;
 |purpose= suppress references to pages, templates, images, categories in DPL output&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;eliminate=keyword,..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;code&amp;gt;keyword&amp;lt;/code&amp;gt; is one of:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;categories&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;templates&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;images&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;links&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;all&amp;lt;/code&amp;gt; &amp;amp;mdash; a synonym for all of the above&lt;br /&gt;
&lt;br /&gt;
The output of a DPL statement typically creates links to all pages which are part of the result set. The inclusion of contents from other pages via DPL (using {{DPL|include}}) normally has these consequences:&lt;br /&gt;
* the page containing the DPL query becomes part of the categories of the transcluded page&lt;br /&gt;
* shares (&amp;#039;adopts&amp;#039;) their use of templates&lt;br /&gt;
* shares their references to images&lt;br /&gt;
* shares their references to other articles&lt;br /&gt;
&lt;br /&gt;
In some cases this may be useful. But in many cases this is not wanted. Especially when you use DPL to create a printable document which contains the full text of other articles you will probably not want to duplicate all links, template uses etc. of those articles.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;eliminate&amp;lt;/code&amp;gt; parameter will suppress all or some of the effects described above.&lt;br /&gt;
&lt;br /&gt;
For further explanation see {{DPL|reset}}.&lt;br /&gt;
&lt;br /&gt;
Please note that the use of &amp;lt;code&amp;gt;eliminate&amp;lt;/code&amp;gt; needs a considerable amount of extra computing power as it performs a second parser step for each included document.&lt;br /&gt;
&lt;br /&gt;
==debug==&lt;br /&gt;
{{DPL parameter&lt;br /&gt;
 |name   = debug&lt;br /&gt;
 |purpose= Sets debugging level.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;debug=&amp;lt;i&amp;gt;n&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;, where &amp;#039;&amp;#039;n&amp;#039;&amp;#039; is one of:&lt;br /&gt;
* &amp;#039;&amp;#039;0&amp;#039;&amp;#039; &amp;amp;mdash; Silent mode, shows nothing&lt;br /&gt;
* &amp;#039;&amp;#039;1&amp;#039;&amp;#039; &amp;amp;mdash; Quiet mode, shows (fatal) errors&lt;br /&gt;
* &amp;#039;&amp;#039;2&amp;#039;&amp;#039; &amp;amp;mdash; Default mode, like 1 + shows warnings; &amp;amp;mdash; &amp;#039;&amp;#039;&amp;#039;(default)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;3&amp;#039;&amp;#039; &amp;amp;mdash; Verbose mode, like 2&lt;br /&gt;
* &amp;#039;&amp;#039;4&amp;#039;&amp;#039; &amp;amp;mdash; Dump raw SQL Query; only if $wgDebugDumpSql is set to true.&lt;br /&gt;
* &amp;#039;&amp;#039;5&amp;#039;&amp;#039; &amp;amp;mdash; Show wiki text output from DPL instead of parsed wiki text.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you use debug param but not in first position in the DPL element, the new debug settings are not applied before all previous parameters have been parsed and checked.&amp;#039;&amp;#039;&amp;#039; This will generate a warning for &amp;lt;code&amp;gt;debug=2&amp;lt;/code&amp;gt; and above.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{#dpl:&lt;br /&gt;
 | namespace = Media&lt;br /&gt;
 | debug     = 0&lt;br /&gt;
 | namespace = Special&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This list will output the error for the first namespace: &amp;#039;&amp;#039;Media&amp;#039;&amp;#039; is not a valid [[#namespace|namespace]] value (pseudo-namespace). Assuming you haven&amp;#039;t changed the default debug value (2), you will also get a warning: &amp;lt;code&amp;gt;debug=1&amp;lt;/code&amp;gt; is not input first (before &amp;lt;code&amp;gt;namespace=Media&amp;lt;/code&amp;gt;). So it did not apply to &amp;lt;code&amp;gt;namespace=Media&amp;lt;/code&amp;gt; but only to what&amp;#039;s after. Indeed, you won&amp;#039;t get the warning for the second namespace (&amp;#039;&amp;#039;Special&amp;#039;&amp;#039;) since &amp;lt;code&amp;gt;debug=0&amp;lt;/code&amp;gt; changed debug settings to silent mode.&lt;br /&gt;
&lt;br /&gt;
DPL debug messages are translatable in &amp;lt;code&amp;gt;DynamicPageList2.i18n.php&amp;lt;/code&amp;gt;.&amp;lt;!-- See also [[#Internationalization]].--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;debug=1&amp;#039; will suppress warning messages (e.g. if the result set of a DPL query is empty). As an alternative, you can use the {{DPL|suppresserrors}} statement.&lt;br /&gt;
&lt;br /&gt;
==execandexit==&lt;br /&gt;
{{DPL parameter&lt;br /&gt;
 |name   = execandexit&lt;br /&gt;
 |purpose= process the command given as an argument and then exit immediately.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;execandexit=&amp;lt;i&amp;gt;wiki text&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;or&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;execandexit=&amp;lt;i&amp;gt;geturlargs&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If no wiki text is given the command will be ignored. Otherwise DPL will output the wiki text and exit immediately.&lt;br /&gt;
Note that the wiki text may be a parser function call which evaluates to an empty string.&lt;br /&gt;
&lt;br /&gt;
The special word &amp;#039;&amp;#039;geturlargs&amp;#039;&amp;#039; can be used as a wiki text to transform URL arguments starting with &amp;lt;code&amp;gt;DPL_&amp;lt;/code&amp;gt; into variables which can then be accessed via #var (if the Variables extension is installed) or via #dplvar.&lt;br /&gt;
 &lt;br /&gt;
Purpose:&lt;br /&gt;
&lt;br /&gt;
Using this command you can prevent DPL from executing a database query; this may be useful if a necessary parameter was not given by the user. Note that an &amp;#039;&amp;#039;#if&amp;#039;&amp;#039; function call would NOT help in that case because &amp;#039;&amp;#039;#if&amp;#039;&amp;#039; evaluates its complete content before taking the &amp;quot;if&amp;quot; or the &amp;quot;else&amp;quot; path. So, emebdding a DPL call within a #if is much less efficient than using the &amp;#039;&amp;#039;execandexit&amp;#039;&amp;#039; function.&lt;br /&gt;
&lt;br /&gt;
A typical use would look like this (note the double pipe symbols within the #if.&lt;br /&gt;
Calling the following page with &amp;amp;DPL_cat=Country would list countries, omitting the &amp;amp;cat parameter would trigger the error text message (without DPL going to the database):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{#dpl:execandexit=geturlargs}}&lt;br /&gt;
{{#dpl: &lt;br /&gt;
 | execandexit     = {{#if:{{#dplvar:DPL_cat}}||please specify a category via &amp;amp;DPL_cat= in the URL!}}&lt;br /&gt;
 | resultsheader   = pages in category {{#dplvar:DPL_cat}}:\n&lt;br /&gt;
 | noresultsheader = there are no pages in category {{#dplvar:DPL_cat}}.\n&lt;br /&gt;
 | count           = 5&lt;br /&gt;
 | category        = {{#dplvar:DPL_cat}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also: {{DPL|Scrolling}}&lt;br /&gt;
&lt;br /&gt;
Note &amp;lt;code&amp;gt;execandexit&amp;lt;/code&amp;gt; acts like a short-circuit evaluation. This means, for example, that successive statements to influence caching behaviour (like {{DPL|allowcachedresults}}) will not be interpreted.&lt;br /&gt;
&lt;br /&gt;
==cacheperiod==&lt;br /&gt;
{{DPL parameter&lt;br /&gt;
 |name   = cacheperiod&lt;br /&gt;
 |purpose= define the expiration period for the dplcache&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cacheperiod=&amp;lt;i&amp;gt;number of seconds&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default is 3600 seconds which is one hour.&lt;/div&gt;</summary>
		<author><name>Scientific Guy</name></author>
	</entry>
</feed>