DPL Example 022
The result of this query is written to a cache; the next requests will be served from that cache. Add &DPL_refresh=yes to the URL to enforce a cache update. Note that each scrolled page is separately cached. Once you refresh the cache, all pages of former scrolling actions are removed. Try the following:
- load the page and click on the small "refresh" link below the table (if you do not see the link, load the page a second time)
- remove the "&DPL_refresh=yes" part AND the "&DPL_offset=0" part in the URL of your browser and reload the page
- reload again
- scroll to the next page
- scroll back, i.e. click on "1..10"
- scroll forward (11..20)
- scroll forward (21..30), then load the page a second time
- click on the small "refresh" link below the table
- remove the "&DPL_refresh=yes" part in the URL of your browser and reload the page
- scroll back (11..20)
- scroll forward (21..30)
- In step 1 there is no message - the cache has silently been created, cache pages of older scroll events have been removed
- In steps 2,3,5,6,11 you should see a small note which proves that the result comes from the cache. Watch the "age" indicator!
- In the other steps (2,4,7,8,9,10) you should see a note that the cache has been created or re-built.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Unknown parameter 'dplcache' was ignored. Help: available parameters: addauthor, addcategories, addcontribution, addeditdate, addexternallink, addfirstcategorydate, addlasteditor, addpagecounter, addpagesize, addpagetoucheddate, adduser, allowcachedresults, allrevisionsbefore, allrevisionssince, articlecategory, cacheperiod, categoriesminmax, category, categorymatch, categoryregexp, columns, count, createdby, debug, distinct, dominantsection, eliminate, escapelinks, execandexit, firstrevisionsince, fixcategory, format, headingcount, headingmode, hiddencategories, hitemattr, hlistattr, ignorecase, imagecontainer, imageused, include, includematch, includematchparsed, includemaxlength, includenotmatch, includenotmatchparsed, includepage, includesubpages, includetrim, inlinetext, itemattr, lastmodifiedby, lastrevisionbefore, linksfrom, linksto, linkstoexternal, listattr, listseparators, maxrevisions, minoredits, minrevisions, mode, modifiedby, multisecseparators, namespace, noresultsfooter, noresultsheader, notcategory, notcategorymatch, notcategoryregexp, notcreatedby, notlastmodifiedby, notlinksfrom, notlinksto, notmodifiedby, notnamespace, nottitlematch, nottitleregexp, notuses, offset, oneresultfooter, oneresultheader, openreferences, order, ordercollation, ordermethod, qualitypages, randomcount, redirects, replaceintitle, reset, resultsfooter, resultsheader, rowcolformat, rows, rowsize, scroll, secseparators, showcurid, shownamespace, skipthispage, stablepages, suppresserrors, table, tablerow, tablesortcol, title, titlegt, titlelt, titlematch, titlemaxlength, titleregexp, usedby, userdateformat, uses
.
{{#vardefine:lwrbound|60}}startExpression error: Unrecognized punctuation character "{"...7071..8081..90(243 total) |
Issue | Description |
---|---|
Article count is wrong | Article count is wrong |
Include option only in the main namespace ? | include option of Dynamic Page List seems to be fonctionnal only in the main namespace. |
Child DPL doesn't works | Child tag Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results. doesn't work |
Labeling Sections from Templates | Section labeling doesn't seem to work from within templates. |
Nested query not working | Nested query not working |
DPL allows transclusion of non-transcludable namespaces | DPL allows transclusion of non-transcludable namespaces |
Including nested templates no longer works with MW 1.12's new parser behaviour | Including nested templates no longer works with MW 1.12's new parser behaviour |
Order ascending needs directive to select latest | Order ascending needs possibility to select latest |
Subpage listings | Feature request: selection parameters and format variable for subpages |
Articlecategory doesn't work in 1.6.8 | articlecategory produces no output |
{{#vardefine:lwrbound|60}}startExpression error: Unrecognized punctuation character "{"...7071..8081..90(243 total) |
{{#dpl: | namespace = Issue | uses = Template:Issue | include = {Issue}:Description | table = class="wikitable sortable",Issue,Description | order = descending | count = {%DPL_count:10%} | dplcache = offset/{%DPL_offset:%} | resultsheader = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:10%}¦page={{PAGENAME}}}²\n | resultsfooter = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:10%}¦page={{PAGENAME}}}²\n }}
Note the path descriptor of the dplcache which arranges all scrolled result pages withn a subdirectory of the cache.