Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -757,6 +757,8 @@ |
758 | 758 | $semantic_property = $sub_components[1]; |
759 | 759 | } elseif ( $sub_components[0] == 'default filename' ) { |
760 | 760 | $default_filename = str_replace( '<page name>', $page_name, $sub_components[1] ); |
| 761 | + // Parse value, so default filename can include parser functions. |
| 762 | + $default_value = $wgParser->recursiveTagParse( $default_filename ); |
761 | 763 | $field_args['default filename'] = $default_filename; |
762 | 764 | } |
763 | 765 | |