Difference between revisions of "7 July 2007"

From Organic Design wiki
m
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{news|title=Blog example|img=|msg=
 
{{:Blog example}}
 
}}
 
 
 
{{news|title=DynamicPageList Extension Updated|img=|msg=
 
{{news|title=DynamicPageList Extension Updated|img=|msg=
 
The [[DPL:|DynamicPageList extension]] (DPL) has been upgraded today from version 1.2.0 to 1.2.3. There are a couple of notable changes in this new version.
 
The [[DPL:|DynamicPageList extension]] (DPL) has been upgraded today from version 1.2.0 to 1.2.3. There are a couple of notable changes in this new version.
Line 13: Line 9:
 
*[[Special:DynamicPageListSP/namespace=User&&titlematch=%foo%&&noeditbox]]
 
*[[Special:DynamicPageListSP/namespace=User&&titlematch=%foo%&&noeditbox]]
  
Here's an example of combining the DPL special page with a [[MW:Extension:Simple Forms|SimpleForms]] Ajax request:
 
*{{#input:type=ajax|link=Special:DynamicPageListSP|update=foo|foo articles}}
 
<div id=foo></div>
 
 
;See also
 
;See also
 
*[[DPL:Version History]]
 
*[[DPL:Version History]]
 
*[[DPL:Manual - DPL Special Page with Parameters]]
 
*[[DPL:Manual - DPL Special Page with Parameters]]
 
}}
 
}}

Latest revision as of 19:44, 27 July 2013

Warning.svg This is a blog item that needs to be converted to the new Bliki format


DynamicPageList Extension Updated

The DynamicPageList extension (DPL) has been upgraded today from version 1.2.0 to 1.2.3. There are a couple of notable changes in this new version.

The first is that %0 can now be used in the DPL include statement which allows the text before the first section and table of contents to be included. This zeroeth section is usually a very useful summary of the entire article and so is a very useful section to be able to render in DPL results.

The second new feature allows the Special:DynamicPageList to render naked results with no edit form which makes it very useful for Ajax forms that use DPL. Currently special pages can't be used in conjunction with action=render, but this functionality will soon be added to SimpleForms since it's also needed for allowing SemanticForms to be used in Wiklets.

The DPL special page isn't much more useful than the sandbox as a user interface to DPL functionality, but is very useful in that it's a simple way of making DPL queries directly via query-string. Here's an example of using Special:DynamicPageList to make a simple query which returns the results without any edit form by adding the noeditbox parameter to the DPL query.

See also