Index: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php |
— | — | @@ -168,6 +168,12 @@ |
169 | 169 | static function renderQueryFormLink ( &$parser ) { |
170 | 170 | $params = func_get_args(); |
171 | 171 | array_shift( $params ); // We don't need the parser. |
| 172 | + // If it's a popup, take out the "additional query" form |
| 173 | + // in the resulting page, since at the moment those can't |
| 174 | + // be handled anyway. |
| 175 | + if ( in_array( 'popup', $params ) ) { |
| 176 | + $params[] = 'additionalquery=false'; |
| 177 | + } |
172 | 178 | |
173 | 179 | // hack to remove newline from beginning of output, thanks to |
174 | 180 | // http://jimbojw.com/wiki/index.php?title=Raw_HTML_Output_from_a_MediaWiki_Parser_Function |