Index: trunk/extensions/SemanticForms/specials/SF_Forms.php |
— | — | @@ -54,12 +54,7 @@ |
55 | 55 | |
56 | 56 | function formatResult($skin, $result) { |
57 | 57 | $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() ); |
64 | 59 | } |
65 | 60 | } |
66 | 61 | |