Page MenuHomePhabricator

PF. Query forms breaks javascript based result formats
Closed, ResolvedPublic

Description

When using query forms, it seems not to show javascript based result formats

https://testwiki2.kdz.eu/index.php?title=Special%3ARunQuery%2FQuery&pfRunQueryFormName=Query&Query=Country%255Bis_list%255D%3D1&wpRunQuery=run+query&pf_free_text=&wpRunQuery=run+query&pf_free_text=

Here is the test scenario:
Create the most basic query form: https://testwiki2.kdz.eu/index.php?title=Form:Query&action=edit
and a template showing an arbitrary querying of data:
https://testwiki2.kdz.eu/index.php?title=Template:Query&action=edit
in the template,

  • I run an SMW ask query with the leaflet format (of the maps extension).
  • then I run a simple ul list
  • then I indicate that the same query is working on the page "MapsTest"
  • then I even include the page MapsTest to the page

Result is always a grey area without and results shown (besides the ul which works).
It has nothing to do with the maps extension, it also happens if you use format=moderntimline.
It has nothing to do with the qery, since tanscluding the MapsTest page also does not work. Transluding it on a regular wiki page works: https://testwiki2.kdz.eu/index.php?title=MapsTestTranscluded

The testwiki is on MediaWiki 1.35 on the latest PF version, I also observe the same behaviour on MW 1.31 with PF version 4.9.3.

Event Timeline

Solution for SMW < 4: call PF before SMW
For SMW >4 this it not necessary