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|20}}startExpression error: Unrecognized punctuation character "{"...3031..4041..50(243 total) |
Issue | Description |
---|---|
Subgraph labels with line breaks | Only the first line is shown |
Line styles look different in png and svg | spacing of dots differs, dashed lines look slightly fragmented in png, triple doesn´t work |
Splines on subgraph level | splines do not seem to work for subgraphs |
Select discussion by category of talk page | select discussion pages based on the category of their underlying article |
Randomseed | Add randomseed=number |
No More Globals | Transition from global variables, constants, and functions to class members, constants, and methods |
Specific enhancements for 'table from template' DPL | Add flexibility to custom output format |
Modularize DPL Code | Break up code into more manageable bits |
Asking a calendar kit | Could you give me a more useful calendar with using DPL like the description. |
Included Template Name Matching | DPL template include over matches |
{{#vardefine:lwrbound|20}}startExpression error: Unrecognized punctuation character "{"...3031..4041..50(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.