r25170 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25169‎ | r25170 | r25171 >
Date:21:20, 26 August 2007
Author:yaron
Status:old
Tags:
Comment:
No need for 'Form' namespace in AddPage link
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormClasses.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormClasses.inc
@@ -29,7 +29,7 @@
3030 function createMarkup() {
3131 $title = Title::makeTitle( SF_NS_FORM, $this->form_name );
3232 $ad = SpecialPage::getPage('AddPage');
33 - $add_data_url = sffTitleURLString($ad->getTitle()) . "/" . sffTitleURLString($title);
 33+ $add_data_url = sffTitleURLString($ad->getTitle()) . "/" . $title->getPartialURL();
3434 $form_description = wfMsgForContent('sf_form_docu', $this->form_name, $add_data_url);
3535 $text =<<<END
3636 <noinclude>

Status & tagging log