r63494 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63493‎ | r63494 | r63495 >
Date:19:44, 9 March 2010
Author:yaron
Status:deferred
Tags:
Comment:
'AddPage' => 'FormStart'
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormClasses.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormClasses.inc
@@ -27,9 +27,9 @@
2828
2929 function createMarkup() {
3030 $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);
3434 $form_input = "{{#forminput:form=" . $this->form_name . "}}\n";
3535 $text =<<<END
3636 <noinclude>

Status & tagging log