Compatibility: Difference between revisions

m
No edit summary
imported>FrozenPlum
m (FrozenPlum moved page Extension:DPL3/Compatibility to Compatibility)
 
(9 intermediate revisions by 6 users not shown)
Line 1:
{{DPL Manualmanual|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.
 
==Migrating Settingssettings==
DynamicPageList and DynamicPageList2 settings will need to be updated to use the new variable names and standardize the syntax. Please see [[DPLhttps:Source_and_Installation]//www.mediawiki.org/wiki/Extension:DynamicPageList3 DynamicPageList3 on MediaWiki Wiki] for complete documentation on settings.
Example, if your configuration has:
<pre><nowiki>ExtDynamicPageList::$functionalRichness = 3;</nowiki></pre>
Would be changed to:
<pre><nowiki>$dplSettingswgDplSettings['functionalRichness'] = 3;</nowiki></pre>
 
=Migration Aid from Extension:Intersection=
 
==Migration Aidaid from 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 ⟶ 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.
 
==Levels of Functionalityfunctionality==
To change the parameter richness level change the configuration for:
 
<code>$dplSettingswgDplSettings['functionalRichness'] = 3;</code>
 
There are five levels of parameter richness from 0 to 4. Enabling a numerically higher richness level enables all the parameters in the levels below it as well. The levels are defined in the ParametersData class and copied here for quick reference.
Line 165 ⟶ 164:
];
</pre>
 
<!-- Extension prefix in other languages:
 
[[de:Erweiterung:{{subst:BASEPAGENAME}}]]
[[es:Extensión:{{subst:BASEPAGENAME}}]]
[[fr:Extension:{{subst:BASEPAGENAME}}]]
[[it:Estensione:{{subst:BASEPAGENAME}}]]
[[nl:Uitbreiding:{{subst:BASEPAGENAME}}]]
[[pl:Rozszerzenie:{{subst:BASEPAGENAME}}]]
[[pt:Extensão:{{subst:BASEPAGENAME}}]]
[[ru:Расширение:{{subst:BASEPAGENAME}}]]
[[zh:扩展:{{subst:BASEPAGENAME}}]]
-->
Anonymous user