Anonymous user
Compatibility: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 1:
{{DPL Manual|section=Compatibility}}
DynamicPageList3 contains all functionality of the Intersection extension and previous versions of DynamicPageList.
In the standard configuration DPL registers the <DynamicPageList> tag. This is needed to be downward compatible with extension 'Intersection'.
=
The 'i18n' files of 'Intersection' and DPL have been merged.
There are some messages which are semantically identical in 'Intersection' and DPL (although they have a different technical key). If the <DynamicPageList> tag is used, DPL will have a preference for these old messages.
=
After the migration to DPL the <DynamicPageList> tag will offer exactly the same functionality as the former Extension:Intersection.
Line 50:
The level of functional richness has 5 values. Each DPL command belongs to exactly one of these levels.
They are defined
<pre>
static private $parametersForRichnessLevel = [
0 => [
'addfirstcategorydate',
'category',
'count',
'hiddencategories',
'mode',
'namespace',
'notcategory',
'order',
'ordermethod',
'qualitypages',
'redirects',
'showcurid',
'shownamespace',
'suppresserrors'
],
1 => [
'allowcachedresults',
'execandexit',
'columns',
'debug',
'distinct',
'escapelinks',
'format',
'inlinetext',
'listseparators',
'notnamespace',
'offset',
'oneresultfooter',
'oneresultheader',
'ordercollation',
'noresultsfooter',
'noresultsheader',
'randomcount',
'replaceintitle',
'resultsfooter',
'resultsheader',
'rowcolformat',
'rows',
'rowsize',
'scroll',
'titlelt',
'titlegt',
'titlemaxlength',
'userdateformat'
],
2 => [
'addauthor',
'addcategories',
'addcontribution',
'addeditdate',
'addexternallink',
'addlasteditor',
'addpagecounter',
'addpagesize',
'addpagetoucheddate',
'adduser',
'cacheperiod',
'categoriesminmax',
'createdby',
'dominantsection',
'eliminate',
'fixcategory',
'headingcount',
'headingmode',
'hitemattr',
'hlistattr',
'ignorecase',
'imagecontainer',
'imageused',
'include',
'includematch',
'includematchparsed',
'includemaxlength',
'includenotmatch',
'includenotmatchparsed',
'includepage',
'includesubpages',
'includetrim',
'itemattr',
'lastmodifiedby',
'linksfrom',
'linksto',
'linkstoexternal',
'listattr',
'minoredits',
'modifiedby',
'multisecseparators',
'notcreatedby',
'notlastmodifiedby',
'notlinksfrom',
'notlinksto',
'notmodifiedby',
'notuses',
'reset',
'secseparators',
'skipthispage',
'table',
'tablerow',
'titlematch',
'usedby',
'uses'
],
3 => [
'allrevisionsbefore',
'allrevisionssince',
'articlecategory',
'categorymatch',
'categoryregexp',
'firstrevisionsince',
'lastrevisionbefore',
'maxrevisions',
'minrevisions',
'notcategorymatch',
'notcategoryregexp',
'nottitleregexp',
'openreferences',
'titleregexp'
],
4 => [
'deleterules',
'goal',
'updaterules'
]
];
</pre>
|