r41505 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41504‎ | r41505 | r41506 >
Date:16:37, 1 October 2008
Author:yaron
Status:old
Tags:
Comment:
Replaced getLinkUrl() with getLocalUrl()
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php
@@ -372,9 +372,9 @@
373373 return null;
374374 $ad = SpecialPage::getPage('AddData');
375375 if ($form_name)
376 - $add_data_url = $ad->getTitle()->getLinkURL() . "/" . $form_name . "/" . sffTitleURLString($target_page_title);
 376+ $add_data_url = $ad->getTitle()->getLocalURL() . "/" . $form_name . "/" . sffTitleURLString($target_page_title);
377377 else
378 - $add_data_url = $ad->getTitle()->getLinkURL() . "/" . sffTitleURLString($target_page_title);
 378+ $add_data_url = $ad->getTitle()->getLocalURL() . "/" . sffTitleURLString($target_page_title);
379379 foreach ($alt_forms as $i => $alt_form) {
380380 $add_data_url .= ($i == 0) ? "?" : "&";
381381 $add_data_url .= "alt_form[$i]=$alt_form";

Status & tagging log