Compatibility: Difference between revisions

Content added Content deleted
m (Alianin moved page DPL:Compatibility to Extension:DPL3/Compatibility without leaving a redirect: Changing namespaces.)
No edit summary
Line 1: Line 1:
{{DPL Manual|section=Compatibility}}
{{DPL manual|section=Compatibility}}


DynamicPageList3 contains all functionality of the Intersection extension and previous versions of DynamicPageList. Standardization has been applied to various parameters to make them use consistent behavior so minor tweaking may be necessary to queries when migrating from DynamicPageList 1 or 2.
'''DynamicPageList3''' contains all functionality of the Intersection extension and previous versions of DynamicPageList. Standardization has been applied to various parameters to make them use consistent behavior so minor tweaking may be necessary to queries when migrating from DynamicPageList 1 or 2.


=Migrating Settings=
==Migrating settings==
DynamicPageList and DynamicPageList2 settings will need to be updated to use the new variable names and standardize the syntax. Please see [[DPL:Source_and_Installation]] for complete documentation on settings.
DynamicPageList and DynamicPageList2 settings will need to be updated to use the new variable names and standardize the syntax. Please see [[DPL:Source_and_Installation]] for complete documentation on settings.
Example, if your configuration has:
Example, if your configuration has:
Line 10: Line 10:
<pre><nowiki>$wgDplSettings['functionalRichness'] = 3;</nowiki></pre>
<pre><nowiki>$wgDplSettings['functionalRichness'] = 3;</nowiki></pre>


=Migration Aid from Extension:Intersection=
==Migration aid from Extension:Intersection==

In the standard configuration DPL registers the &lt;DynamicPageList&gt; tag. This is needed to be downward compatible with extension 'Intersection'.
In the standard configuration DPL registers the &lt;DynamicPageList&gt; tag. This is needed to be downward compatible with extension 'Intersection'.


Line 20: Line 19:
After the migration to DPL the &lt;DynamicPageList&gt; tag will offer exactly the same functionality as the former Extension:Intersection. Furthermore, there will be the &lt;dpl&gt; tag available and the <code><nowiki>{{#dpl: ... }}</nowiki></code> parser function. They will by default offer their whole functionality. Please see the section below for configuring DynamicPageList to use more restrictive functionality.
After the migration to DPL the &lt;DynamicPageList&gt; tag will offer exactly the same functionality as the former Extension:Intersection. Furthermore, there will be the &lt;dpl&gt; tag available and the <code><nowiki>{{#dpl: ... }}</nowiki></code> parser function. They will by default offer their whole functionality. Please see the section below for configuring DynamicPageList to use more restrictive functionality.


=Levels of Functionality=
==Levels of functionality==
To change the parameter richness level change the configuration for:
To change the parameter richness level change the configuration for: