Author: kim
Description:
Screenshot
Create an mediawiki article with the contents:
<nowiki>Insert non-formatted text here</nowiki>
{{Special:RunQuery/Car}}
<nowiki>Insert non-formatted text here</nowiki>
As a result this will cause the preceeding <nowiki> tag to be rendered with the a text similar to: UNIQ11c27ba27c17122f-nowiki-00000000-QINU when the expected behavior is to replace "UNIQ11c27ba27c17122f-nowiki-00000000-QINU" with the actual html formatted nowiki element.
The error seems to be caused by the following line in SF_RunQuery.php:
list ( $form_text, $javascript_text, $data_text, $form_page_title ) = $sfgFormPrinter->formHTML( $form_definition, $form_submitted, $is_text_source, $form_title->getArticleID(), $edit_content, null, null, true, $embedded );
Commenting out this line correctly renders the above nowiki element, however the special page is not embedded.
Version: unspecified
Severity: critical
OS: Linux
Platform: PC
Attached: