Topic on Project:Support desk

How to Refresh DPL3 when Referenced Category is Edited?

1
Johnywhy (talkcontribs)

Extension:DynamicPageList3,

The DPL does not refresh unless i enter source-edit mode and resave.Others report same.

This has two sub-topics:

  • How to refresh.
  • When to refresh

.

How to refresh:

  • Set the url parameter "?DPL_refresh=yes"
    • Does not seem to work.
    • Would require a redirect (which to me feels like a patch).
  • Some global process: eg will it refresh on runJobs.php?
  • What's the DPL3 php updater-function? in DynamicPageList.php, i see:
    public function updateArticleByRule($title, $text, $rulesText) {
    
    public function updateArticle($title, $text, $summary) {
    
    public function updateTemplateCall(&$matchCount, $text, $template, $call, $parameter, $value, $afterParm, $optional) {
    

.

When to refresh:

Reply to "How to Refresh DPL3 when Referenced Category is Edited?"