Index: trunk/extensions/SemanticForms/includes/SF_FormClasses.inc |
— | — | @@ -27,9 +27,9 @@ |
28 | 28 | |
29 | 29 | function createMarkup() { |
30 | 30 | $title = Title::makeTitle( SF_NS_FORM, $this->form_name ); |
31 | | - $ad = SpecialPage::getPage('AddPage'); |
32 | | - $add_data_url = SFLinkUtils::titleURLString($ad->getTitle()) . "/" . $title->getPartialURL(); |
33 | | - $form_description = wfMsgForContent('sf_form_docu', $this->form_name, $add_data_url); |
| 31 | + $fs = SpecialPage::getPage('FormStart'); |
| 32 | + $form_start_url = SFLinkUtils::titleURLString($fs->getTitle()) . "/" . $title->getPartialURL(); |
| 33 | + $form_description = wfMsgForContent('sf_form_docu', $this->form_name, $form_start_url); |
34 | 34 | $form_input = "{{#forminput:form=" . $this->form_name . "}}\n"; |
35 | 35 | $text =<<<END |
36 | 36 | <noinclude> |