query string sent with GET

From semantic-mediawiki.org

Hi all,

we've created a latex export format. We've been using MediaWiki 1.24.2, Semantic MediaWiki 2.1.3 and Semantic Result Formats 2.1.2.

As result we receive a downloadable file test.tex Embedded html sourcecode of the result page:

<a href="http://www.old-wiki.de/images/3000/1/15/test.tex" class="internal" title="test.tex">test.tex</a>

Now we're using the same latex export format in MediaWiki 1.26.3, Semantic MediaWiki 2.4.1 and Semantic Result Formats 2.3. Now in the embedded html sourcecode of the result page the ask and latex query string with all parameters is sent completely with GET. In this example the url request is too long, so of course we receicve a 414 error and don't get a file.

<a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="http://new-wiki.de/index.php?title=Spezial:Ask&...&...&">test.tex</a>

Not sure what has been changed in Sematic MediaWiki or Semantic Result Formats that causes the string to be sent with GET, where in the code is the method set?

Thanks a lot for any hint!

08:01, 6 October 2016

Admittedly this is much to esoteric to me. However, in case you do not get a helpful reply here you may probably also give the devoloper mailing list a shot.

10:19, 6 October 2016
 

> we've created a latex export format. We've been using MediaWiki 1.24.2, Semantic MediaWiki 2.1.3 and Semantic Result Formats 2.1.2. As result we receive a downloadable file test.tex Embedded html sourcecode of the result page:

As to my knowledge, we have changed nothing to the underlying structure of how links are generated. Links to file formats have always been send [0] via GET to `Special:Ask`.

Without the code, I'm unable to pinpoint to the cause but one thing is clear the href has changed from being `class="internal" title="test.tex"` to `rel="nofollow noreferrer noopener" class="external text"` and rendering links is being done by the MediaWiki parser not by SMW.

[0] http://sandbox.semantic-mediawiki.org/wiki/FileResultDownloadLink

04:29, 9 October 2016