Page MenuHomePhabricator

Execandexit not setting dplvars ("allowcachedresults = false" not working correctly; appending "&action=purge" works)
Open, LowPublic

Description

I posted this issue at http://semeb.com/dpldemo, but Gero said he no longer maintains this extension. I hope this valuable resource is still being maintained, because we use it a lot on our wiki. Here is the issue I found, with the URLs fully qualified:

The example shown at http://semeb.com/dpldemo/index.php?title=Execandexit#execandexit no longer works. It appears that <code>geturlargs</code> is not setting the dplvars. I copied the example to my wiki here: http://forgottenrealms.wikia.com/wiki/User:Moviesign/TestDPL2?cat=Gems and I get the "please specify a category via &cat= in the URL!" message regardless of what I put in the URL. I discovered this when the template http://forgottenrealms.wikia.com/wiki/Template:Category_intersection Category intersection stopped working.

Event Timeline

Movie-sign raised the priority of this task from to Needs Triage.
Movie-sign updated the task description. (Show Details)
Movie-sign changed Security from none to None.
Movie-sign added a subscriber: Movie-sign.

This problem is likely related to the caching scheme that Wikia uses. I can sometimes get results, but then the same results are repeated regardless of changes in the ?cat= variable. If I purge the page, it goes back to the "please specify a category..." error message. I have specified "allowcachedresults = false" as the first line in the DPL script, but to no avail.

I can get it to work by appending "&action=purge" to the end of the URL. This means that "allowcachedresults = false" is definitely not working correctly (I think).

Aklapper renamed this task from Execandexit not setting dplvars to Execandexit not setting dplvars ("allowcachedresults = false" not working correctly; appending "&action=purge" works).Dec 29 2014, 12:24 AM
Aklapper triaged this task as Low priority.