Last modified: 2011-08-25 08:50:13 UTC
I'm running SemanticMediaWiki/REL_1_6/ (from semantic bundle), and I'm seeing strange behaviour with certain queries in Special:Ask. I get to Special:Ask via clicking '... further results' here: http://seqanswers.com/wiki/Template:Bioinformatics_application/Popular2 This takes me to a page with the following URL: http://seqanswers.com/wiki/Special:Ask/-5B-5BCategory:Bioinformatics-20application-5D-5D/-3FNumber-20of-20citations%3DCited/-3FNumber-20of-20references%3DRefs./mainlabel%3D-20App./order%3DDESC/sort%3DNumber_of_citations This looks fine, but when I click 'next' or '250', for example, it seems that there is some problem with the URL. Here are the results of those two operations respectively: http://seqanswers.com/w/index.php?title=Special:Ask&offset=20&limit=20%26q%3D%255B%255BCategory%253ABioinformatics%2Bapplication%255D%255D%26p%3Dajax%253D0%252Fmainlabel%253D-20App.%252Fformat%253Dbroadtable%26po%3D%253FNumber%2Bof%2Bcitations%253DCited%250A%253FNumber%2Bof%2Breferences%253DRefs.%250A%26sort%3DNumber_of_citations%26order%3DDESC # NOTHING DISPLAYS http://seqanswers.com/w/index.php?title=Special:Ask&offset=0&limit=250%26q%3D%255B%255BCategory%253ABioinformatics%2Bapplication%255D%255D%26p%3Dajax%253D0%252Fmainlabel%253D-20App.%252Fformat%253Dbroadtable%26po%3D%253FNumber%2Bof%2Bcitations%253DCited%250A%253FNumber%2Bof%2Breferences%253DRefs.%250A%26sort%3DNumber_of_citations%26order%3DDESC These both show a 'blank' Semantic search, but with the majority of the URL in the limit field of that form! Is the URL being double encoded for some reason?
Sorry, the first link got corrupted on submit, here it is again: http://seqanswers.com/wiki/Template:Bioinformatics_application/Popular2 or http://goo.gl/V5KXG
Meh, I broke that in 1.6... Fixed in r94213.
Thanks for this fix Jeroen, since I'm using Semantic Bundle, is it OK to switch to the head of SMW (all other things being left the same)? Cheers,
Hmm... I just upgraded to REL_1_6rc1 (r94232), which I guess includes your fixes in r94213 ?, however, I'm still seeing the same (or a very similar) problem (use the links above to see what's going on). Special:Version confirms that I'm using Revision: 94232 http://seqanswers.com/wiki/Special:Version I did the following to upgrade from the (non SVN) Semantic Bundle version of SMW: svn co \ http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticMediaWiki/REL_1_6rc1/ mv SemanticMediaWiki SemanticMediaWiki.old && \ mv REL_1_6rc1 SemanticMediaWiki && \ echo relax Seems to have worked OK.
You can up SMW to HEAD, but you'll need to do the same with Validator. http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticMediaWiki/ http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Validator/ You checked out SMW 1.6 Release Candidate 1, which is older then 1.6. The revision you see is the one the repo is at when you checked it out, not when the RC tag was made. So you actually downgraded :)
Just come to look at this again, and I found, although the 'Next' and '250' links are working correctly, the '[edit query]' link is still buggy. The top part of the query page is filled in from the settings correctly, but the bulk of the query still ends up in the limit field as before: http://goo.gl/Jkf1q http://goo.gl/6Z6Ml Cheers, Dan.
Are you sure this issue was introduced in SMW 1.6?
We have the same problem with Semantic MediaWiki (Version 1.6.2 alpha) r95435 (http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaWiki/?pathrev=95435) See http://biowikifarm.net/testwiki/index.php?title=Special:Ask&offset=20&q=%5B%5BCategory%3APublications%5D%5D&p=mainlabel%3D%2Fformat%3Dtemplate%2Ftemplate%3DReference2%2Fcolumns%3D1&po=%3F%0A%3FDc%3Atitle%23-%0A%3FFoaf%3Amaker%23-%0A%3FDc%3Adate%23-%0A%3FPublication+note%0A%3FPrism%3ApublicationName%0A%3FPrism%3Avolume%23-%0A%3FPrism%3AstartingPage%23-%0A&sort=Prism:publicationName,Dc:date,Foaf:maker&order=ASC,ASC,ASC ... works but "Next" or 50, 100 etc wont work
We have the same problem with Semantic MediaWiki (Version 1.6.2 alpha) r95435 (http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaWiki/?pathrev=95435) See http://biowikifarm.net/testwiki/index.php?title=Special:Ask&offset=20&q=%5B%5BCategory%3APublications%5D%5D&p=mainlabel%3D%2Fformat%3Dtemplate%2Ftemplate%3DReference2%2Fcolumns%3D1&po=%3F%0A%3FDc%3Atitle%23-%0A%3FFoaf%3Amaker%23-%0A%3FDc%3Adate%23-%0A%3FPublication+note%0A%3FPrism%3ApublicationName%0A%3FPrism%3Avolume%23-%0A%3FPrism%3AstartingPage%23-%0A&sort=Prism:publicationName,Dc:date,Foaf:maker&order=ASC,ASC,ASC ... works but "Next" or 50, 100 etc wont work Andreas
Closing bug, but see Bug 30565. Addendum to report by Andreas Plank: The link above is misleading, it now works ok, because yesterday night http://biowikifarm.net/testwiki/ was switched to most recent trunk revision. Thus correction: the bug no longer appears in Mediawiki 1.19alpha (r95434) However, trunk is not an option, because for production we depend on mediawiki in Version 1.18 alpha, aiming to become stable. Bug 30565 generated to cover this problem.