Index: trunk/extensions/SemanticForms/specials/SF_CreateClass.php |
— | — | @@ -77,7 +77,7 @@ |
78 | 78 | } |
79 | 79 | |
80 | 80 | // create the template, and save it |
81 | | - $full_text = SFTemplateField::createTemplateText( $template_name, $fields, $category_name, '', '', '' ); |
| 81 | + $full_text = SFTemplateField::createTemplateText( $template_name, $fields, null, $category_name, null, null, null ); |
82 | 82 | $template_title = Title::makeTitleSafe( NS_TEMPLATE, $template_name ); |
83 | 83 | $template_article = new Article( $template_title ); |
84 | 84 | $edit_summary = ''; |
Index: trunk/extensions/SemanticForms/specials/SF_CreateTemplate.php |
— | — | @@ -138,7 +138,7 @@ |
139 | 139 | // redirect to wiki interface |
140 | 140 | $wgOut->setArticleBodyOnly( true ); |
141 | 141 | $title = Title::makeTitleSafe( NS_TEMPLATE, $template_name ); |
142 | | - $full_text = SFTemplateField::createTemplateText( $template_name, $fields, $category, $aggregating_property, $aggregation_label, $template_format ); |
| 142 | + $full_text = SFTemplateField::createTemplateText( $template_name, $fields, null, $category, $aggregating_property, $aggregation_label, $template_format ); |
143 | 143 | $text = SFUtils::printRedirectForm( $title, $full_text, "", $save_page, $preview_page, false, false, false, null, null ); |
144 | 144 | $wgOut->addHTML( $text ); |
145 | 145 | return; |