Download the PHP package universal-omega/dynamic-page-list4 without Composer

On this page you can find all versions of the php package universal-omega/dynamic-page-list4. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dynamic-page-list4

DynamicPageList4

The DynamicPageList4 extension is a reporting tool for MediaWiki, listing category members and intersections with various formats and details. For full documentation, see the manual.

When invoked with a basic set of selection parameters DPL4 displays a list of pages in one or more categories. Selections may also be based on factors such as author, namespace, date, name pattern, usage of templates, or references to other articles. Output takes a variety of forms, some of which incorporate elements of selected articles.

This extension is invoked with the parser function {{#dpl: .... }} or parser tag <DPL>. A Wikimedia-compatible implementation of certain features can be invoked with <DynamicPageList>.

Complex look ups can result in computationally expensive database queries. However, by default all output is cached for a period of one hour to reduce the need to rerun the query every page load. The Other Parameters manual page contains information on parameters that can be used to disable the cache and allow instant updates.

Installation

Please see the releases page for the latest releases.

Configuration

These are DPL4's configuration settings and along with their default values. To change them make sure they are defined before including the extension on the wiki. More configuration information is available on the MediaWiki extension page.

Setting Default Description
$wgDPLAllowedNamespaces [] By default all existing namespaces are used when DPL4 initializes. Customize this setting with an array of namespace constants to restrict DPL4 to work only in those namespaces.
$wgDPLAllowUnlimitedCategories false Set this to true to ignore $wgDPLMaxCategoryCount and allow unlimited categories. Please note that large amounts of categories in a query can slow down or crash servers.
$wgDPLAllowUnlimitedResults false Set this to true to ignore $wgDPLMaxResultCount and allow unlimited results. Please note that large result sets may result in slow or failed page loads.
$wgDPLAlwaysCacheResults false Set this to true to ignore allowcachedresults and always enable the parser cache.
$wgDPLCategoryStyleListCutoff 6 Maximum number of items in a category list before being cut off.
$wgDPLFunctionalRichness 3 Set the level of parameters available to end users.
$wgDPLMaxCategoryCount 8 Maximum number of categories to allow in queries.
$wgDPLMaxQueryTime 10000 Maximum allowed time for database queries in milliseconds.
$wgDPLMaxResultCount 500 Maximum number of results to return from a query.
$wgDPLMinCategoryCount 0 Minimum number of categories to allow in queries.
$wgDPLOverrideParameterDefaults [] An associative array of parameter names and their override values. These values replace the default parameter values defined in ParametersData, but only if the current defaults differ.
$wgDPLQueryCacheTime 0 Can help with situations where you have a template with the same query used on a large number of pages all being refreshed at once. The query cache cannot be purged. Suggested value between 30 to 600.
$wgDPLRecursivePreprocess true Use Parser::recursivePreprocess() to improve performance by preserving the internal cache, reducing redundant template parsing.
$wgDPLRecursiveTagParse false Do recursive tag parsing on <dpl> parser tags converting tags and functions such as magic words like {{PAGENAME}}. This is similar to the {{#dpl}} parser function call, but may not work exactly the same in all cases.
$wgDPLRunFromProtectedPagesOnly false Set this to true to allow DPL4 to run from protected pages only. This is recommended if wiki administrators are having issues with malicious users creating computationally intensive queries.

The global variable $wgNonincludableNamespaces is automatically respected by DPL4. It will prevent the contents of the listed namespaces from appearing in DPL4's output.

Note: $wgDPLMaxResultCount is a LIMIT on the SQL query itself. Some DPL4 query parameters like includematch are applied after the SQL query, however, so results here may easily be misleading.

Functional Richness

DynamicPageList4 has many features which are unlocked based on the maximum functional richness level. There are some that can cause high CPU or database load and should be used sparingly.

Usage

Extended DPL4 Functionality

Extended DPL4 is invoked by using the parser function {{#dpl: .... }}, or the parser extension tag <DPL> .... </DPL>.

See Manual - General Usage and Invocation Syntax and Criteria for Page Selection

Backwards Compatibility

Functionality compatible with Wikimedia's DPL extension (Intersection) can be invoked with <DynamicPageList> .... </DynamicPageList>. Further information can be found on the Compatibility manual page.

Usage Philosophy and Overview

With the assumption there are some articles writtne about countries those articles will typically have three things in common:

Generate a Report Based on countries

If there was a need to assemble a report of what countries practice a certain religion this could be easily done with the category and linksto parameters.

{{#dpl:
category=countries
|linksto=Pastafarianism
}}

With DPL4 one could:

Which steps are necessary?

Find the articles you want to list:

Order the result list of articles according to

Define attributes you want to see

Define contents you want to show

Define the output format

Considerations

Performance

DPL4's code execution and database access is typically fast for typical category and article look ups. However, using loose LIKE and REGEXP match parameters and/or requesting large data sets can result in long database access times. Parser time should also be kept in consideration. For example, having the query of image results go into a template that displays them will result in a parser media transform for each one. This can quickly eat up 2MBs of RAM per media transform.

See Also

Further Reading

DPL4 can do much more than we can explain here. A complete manual is available with full parameter documentation.


All versions of dynamic-page-list4 with dependencies

PHP Build Version
Package Version
Requires composer/installers Version >=1.0.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package universal-omega/dynamic-page-list4 contains the following files

Loading the files please wait ...