Difference between revisions of "DPL Example 022"

From FollowTheScore
Jump to: navigation, search
Line 28: Line 28:
 
| table              = class="wikitable sortable",Issue,Description
 
| table              = class="wikitable sortable",Issue,Description
 
| order              = descending
 
| order              = descending
| count              = 10
+
| count              = 100
 
| allowcachedresults = true
 
| allowcachedresults = true
 
| dplcache          = offset/_{%DPL_offset%}
 
| dplcache          = offset/_{%DPL_offset%}
| resultsheader      = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset%}¦count=10¦page={{PAGENAME}}}²\n
+
| resultsheader      = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset%}¦count=100¦page={{PAGENAME}}}²\n
| resultsfooter      = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset%}¦count=10¦page={{PAGENAME}}}²\n
+
| resultsfooter      = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset%}¦count=100¦page={{PAGENAME}}}²\n
 
}}
 
}}
  

Revision as of 22:08, 7 June 2009

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:

  1. load the page and click on the small "refresh" link below the table
  2. remove the "&DPL_refresh=yes" part AND the "&DPL_offset=0" part in the URL of your browser and reload the page
  3. reload again
  4. scroll to the next page
  5. scroll back, i.e. click on "1..10"
  6. scroll forward (11..20)
  7. scroll forward (21..30)
  8. click on the small "refresh" link below the table
  9. remove the "&DPL_refresh=yes" part in the URL of your browser and reload the page
  10. scroll back (11..20)
  11. 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 "age2 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.

Expression error: Unexpected > operator.1..100Expression error: Missing operand for >.(243 total)
Issue Description
Including Sections Trying to include sections that have a link in their headline
Error message - undefined Index 100 using notnamespace causes php error in line 3128
DPL and Glossary clashing using the Glossary extension seems to have adverse effects on DPL result sets
Chinese message texts are wrong All Chinese messages are wrong in DynamicPageList2.i18n.php
False result count result count is affected by the max result limit of DPL
Include positional template parameter including positional template parameters can fail depending on form of template call
Upgraded to 1.11 Notice: Undefined variable Notice: Undefined variable:
Inconsistent node height small height is handled inconsistently
Surprising bahaviour of forcedir layout minor changes in atraction lead to different layouts.
Change alignment procedure for labels in multi-line labels the alignment should work on a line base not on label base
Allow vertical alignment of node labels offer valign={top,center,bottom}
Minor changes in border affect forcedir layout strongly variations in the 'border' parameter have strange effects on the overall layout.
Respect multiple borders in layout aiSee does not respect the changes on object size which happen due to double / triple borders.
Includematch parameter regexp issue includematch parameter does not work with complex regexp
Simply does not work Installed, but not parsed
Call - passing a variable twice passing the same variable twice via Special:Call
Question regarding fstraight phase fstraight_phase seems to have no effect
Subgraph dimensions exceed graph size The size of the graph is too small to show all objects
Dirty edge option crashes program program crash
AiSee crash due to several near edges there are several constellations of nearedges and bentnearedges which lead to a program crash
Iconpath for svg although AISEEICONS is correctly set the svg file expects icons in the same directory as the svg file.
Phenomena with icons borders are not correctly drawn; excessive size is filled with border color.
Fisheye problem The program throws an exception at a very simplistic example
Headingmode definition buggy output Headingmode definition buggy output. The html is wrong for the output, some tags are transformed in html special chars.
AddContribution missing prefix addcontribution query uses raw "page" vs. prefixed page
Returns 0 results even when resultsheader is used Returns 0 results even when noresultsheader is used
Layout irregularity with bent edges node is placesd unnecessarily far away
Assigning absolute position of 0-0 You cannot assign 0/0 to a node
Offset should be implemented at SQL level, not PHP Offset higher than max result limit outputs nothing
Adduser unexpected result when using adduser
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
Request For %TOTALPAGES% Token Token that represents the total number of pages that match the DPL criteria.
Give me more Ploticus Demo, please
Could you help me to find out my calendar bugs
The include Parameter and Mulitple Template Invocations Using the include parameter returns all invocations of a specified template
DPL-1.6.3 error message %DPL-1.6.3-??: ????? ....
Error with using Sementic form in a wiki site Error message with DPL and Semantic form.
DPL Calendar's i18n adventage and bug DPL Calendar's i18n advantage and bugs
Asking a parser "replace " demo Asking a parser "{{#replace: [[User:Michael|Roc Michael]] | from | to }}" demo
Calendar - range implement events that last more than one day
Calendar - without event template run calendar without event template
Calendar - combine create event and dayview combine create event and dayview
Collation Collation Error
DPL error code "DynamicPageList2.php on line 2238" DPL error code "DynamicPageList2.php on line 2238"
Call-time pass-by-reference deprecated Call-time pass-by-reference has been deprecated
Day shifted by one with respect to day and border of tables missing DPL Calendar extension day shifted and table not drawn correctly.
Calendar - ical / template Gero said he thinks about new calendar - here are some thoughts from me
Noinclude tags ignored When including page contents, the noinclude tag is not respected
Could not be converted to int Bug in DynamicPageList2.php
Order by title does not properly sort in descending Editing Order by title does not properly sort in descending
Table Error while using include and first letter is an "-" There are new lines
Version Reporting It is hard for users of a Wiki using DPL to find the version of DPL being run by the Wiki.
SQL injection SQL injection via (Not)Created/(Last)ModifiedBy
Event template appears in list of all events Event template appears in list of all events
Database issues after upgrade 1.10 to 1.11 Ignore and file under stupid, stupid, stupid user.
Users removing date from name Users removing date from name on event creation
I want demo a number register system It need to change the Inputbox extension to work with parser function
List (transclude) sections of a page list all sectionnames of a Page in an other one
Count and %PAGES% %PAGES% does not show total when count is used.
RSS from DPL? Make each DPL into an RSS feed?
Category option that does AND operation to multiple parameters
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
Including chapter content brings unwated 'ENTERS' Including chapter contents with mode=userformat does not allow full control of the table output because chapters contain 'ENTER' characters at the beginning and at the end.
Hook into Special:Whatlinkshere
An Error of conbime using of StringFunctions extension and Simple Form An Error of conbime using of StringFunctions extension and Simple Form
Could you give me a iframe extension using parser function Could you give me a iframe extension using parser function?
Imagelinks criteria Allow page selection based on imagelinks
DPL with include=* appears to break NOTOC DPL with include=* appears to break NOTOC
Allow includereplace or ability to ignore included section headers Allow includereplace or ability to ignore included section headers
Tag clouds based on linking Feature like %COUNTFS% but for article linking
¶ not working as return character
Add a template in the pages automatically by DPL Add a template in the pages automatically by DPL
Multiple CSS classes for table are ignored Multiple CSS classes for table are ignored
Installation problem
Redirects=include fails with hashmark "redirects=include" fails with "include=#": no article text
DPL should work under MW 1.12 Why "

DPL should work under MW 1.12 and after with full functionality."

Http 500 error Blank Page (http500error) when using uncategorized pages
Select patrolled and non-patrolled articles Select articles based on patrolled vs. non-patrolled status
New parameter: replaceinsortkey? add custom sortkey
Undefined variable Undefined variable notice appears multiple times on pages using DPL
Doesn't work fine with WhoIsWatchingTabbed extension WhoIsWatchingTabbed extension will make DPL malfunction.
Pagebrowser I'd like to create a Pagebrowser while using count in a long list of Articles.
Expression error: Unexpected > operator.1..100Expression error: Missing operand for >.(243 total)


{{#dpl:
| namespace          = Issue
| uses               = Template:Issue
| include            = {Issue}:Description
| table              = class="wikitable sortable",Issue,Description
| order              = descending
| count              = 10
| allowcachedresults = true
| dplcache           = offset/_{%DPL_offset%}
| resultsheader      = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset%}¦count=10¦page={{PAGENAME}}}²\n
| resultsfooter      = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset%}¦count=10¦page={{PAGENAME}}}²\n
}}

Note the path descriptor of the dplcache which arranges all scrolled result pages withn a subdirectory of the cache.