Index: trunk/extensions/SemanticForms/specials/SF_CreateCategory.php |
— | — | @@ -69,6 +69,7 @@ |
70 | 70 | $category_name_error_str = wfMsg('sf_blank_error'); |
71 | 71 | } else { |
72 | 72 | # redirect to wiki interface |
| 73 | + $wgOut->setArticleBodyOnly(true); |
73 | 74 | $namespace = NS_CATEGORY; |
74 | 75 | $title = Title::newFromText($category_name, $namespace); |
75 | 76 | $full_text = createCategoryText($default_form, $category_name, $parent_category); |
Index: trunk/extensions/SemanticForms/specials/SF_CreateForm.php |
— | — | @@ -125,9 +125,10 @@ |
126 | 126 | if ($form->form_name == "") { |
127 | 127 | $form_name_error_str = wfMsg('sf_blank_error'); |
128 | 128 | } else { |
| 129 | + # redirect to wiki interface |
| 130 | + $wgOut->setArticleBodyOnly(true); |
129 | 131 | $title = Title::newFromText($form->form_name, SF_NS_FORM); |
130 | 132 | $full_text = str_replace('"', '"', $form->createMarkup()); |
131 | | - # redirect to wiki interface |
132 | 133 | $text = sffPrintRedirectForm($title, $full_text, "", $save_page, $preview_page, false, false, false, null, null); |
133 | 134 | $wgOut->addHTML($text); |
134 | 135 | return; |
Index: trunk/extensions/SemanticForms/specials/SF_CreateProperty.php |
— | — | @@ -77,6 +77,7 @@ |
78 | 78 | $property_name_error_str = wfMsg('sf_blank_error'); |
79 | 79 | } else { |
80 | 80 | # redirect to wiki interface |
| 81 | + $wgOut->setArticleBodyOnly(true); |
81 | 82 | $namespace = SMW_NS_PROPERTY; |
82 | 83 | $title = Title::newFromText($property_name, $namespace); |
83 | 84 | $full_text = createPropertyText($property_type, $allowed_values); |