Compatibility: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 7: Line 7:
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 <nowiki>$dplMigrationTesting = true;</nowiki> and DPL will then only register a tag called &lt;Intersection&gt;.
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;.


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.
Line 13: Line 13:
=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 <nowiki>{{#dpl: ... }}</nowiki> parser function. They will by default offer their whole 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:

<code>$dplSettings['functionalRichness'] = 3;</code>
<code>$dplSettings['functionalRichness'] = 3;</code>