Page MenuHomePhabricator

Formerly working #ask queries do not work after update
Closed, InvalidPublic

Description

Author: horst.salzwedel

Description:
I worked the Pages Costurero and Biohuerto on the mentioned URL with SMW forms under Mediawiki 1.15.x and SMW 1.4.x without problems.
After updating to MW 1.16 some of the forms stopped working, others still work fine. I hoped to get over the problem updating SMW to 1.5.3 and applying the related admins procedures of updating the data base etc in special pages, but unfortunately without success.

Most confusing for me is that some pages work well eg

Primaria http://www.lopedevega.es/donlope/wiki/index.php?title=Primaria

others not, eg

Infantil http://www.lopedevega.es/donlope/wiki/index.php?title=Infantil

both depending on the same code / template:

http://www.lopedevega.es/donlope/wiki/index.php?title=Template:AskEtapa


{{#ask: [[Category:Recursos]] [[Nivel::{{PAGENAME}}]]

?Asignatura
sort=Asignatura
order=ascending
?=Recurso
mainlabel=-
?URL

}}

{{Template:CostureroNav}}


Similar things happen in the even older Biohuerto pages with different forms.

Thanks a lot for looking into this! BR Horst


Version: unspecified
Severity: enhancement
URL: http://www.lopedevega.es/donlope/wiki/index.php?title=Costurero

Details

Reference
bz25861

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:16 PM
bzimport set Reference to bz25861.

What I notice when looking at the page "Infantil" is that it is completely blank, even though it contains normal wiki text that should be shown in any case. There seems to be a problem that is not just about SMW queries here. You should try to remove the query template and check if this actually changes something. And (if the template is still suspected to be the cause of the problem) you should experiment by using the template with a fixed pagename instead of {{PAGENAME}} (does the Infantil page work if you use "Primaria" as a page name?). Otherwise, you may also try and remove some of the other text or templates and see when the rest of the text re-appears.

Another way of debugging such problems is to de-activate extensions in LocalSettings.php and see what happens. This can help to find out which of your installed extensions causes the problem (if any).

Unknown Object (User) added a comment.Mar 16 2013, 6:12 PM

Problem can't be verified for SMW 1.9, apparently mentioned examples don't use SMW therefore we close this issue.