Compatibility: Difference between revisions

Content added Content deleted
No edit summary
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.
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.


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


In the standard configuration DPL registers the <DynamicPageList> tag. This is needed to be downward compatible with extension 'Intersection'.
In the standard configuration DPL registers the <DynamicPageList> tag. This is needed to be downward compatible with extension 'Intersection'.


During transitioning you may want to install DPL in parallel to 'Intersection' for testing. Simply configure add the configuration line <code><nowiki>$dplMigrationTesting = true;</nowiki></code> and DPL will then only register a tag called &lt;Intersection&gt;.
During transitioning it may be desirable to install DPL in parallel to 'Intersection' for testing. Add the configuration line <code><nowiki>$dplMigrationTesting = true;</nowiki></code> before the extension inclusion and DPL will then only register a tag called &lt;Intersection&gt;.


With this configuration try changing some of the existing calls of 'Intersection' (which use the &lt;DynamicPageList&gt; tag) to the &lt;Intersection&gt; tag. Once the data has been tested and verified that it produces identical results simply remove the <nowiki>$dplMigrationTesting</nowiki> line.
With this configuration try changing some of the existing calls of 'Intersection' (which use the &lt;DynamicPageList&gt; tag) to the &lt;Intersection&gt; tag. Once the data has been tested and verified that it produces identical results simply remove the <nowiki>$dplMigrationTesting</nowiki> line.

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=

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.

To change the parameter richness level change the configuration for:
To change the parameter richness level change the configuration for: