r31791 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31790‎ | r31791 | r31792 >
Date:16:24, 11 March 2008
Author:yaron
Status:old
Tags:
Comment:
Removed 'Add data with this form' link
Modified paths:
  • /trunk/extensions/SemanticForms/specials/SF_Forms.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/specials/SF_Forms.php
@@ -54,12 +54,7 @@
5555
5656 function formatResult($skin, $result) {
5757 $title = Title::makeTitle( SF_NS_FORM, $result->value );
58 - $text = $skin->makeLinkObj( $title, $title->getText() );
59 - $ad = SpecialPage::getPage('AddPage');
60 - $add_data_url = $ad->getTitle()->getFullURL() . "/" . $title->getText();
61 - $text .= ' (<a href="' . $add_data_url . '">' . wfMsg('sf_forms_adddata') . '</a>)';
62 -
63 - return $text;
 58+ return $skin->makeLinkObj( $title, $title->getText() );
6459 }
6560 }
6661

Status & tagging log