Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.php |
— | — | @@ -263,8 +263,9 @@ |
264 | 264 | elseif ( $wgTitle->getText() == 'FormEdit' |
265 | 265 | && $wgTitle->getNamespace() == NS_SPECIAL ) { |
266 | 266 | $cancel = '<a href="javascript:history.go(-1);">' . $label . '</a>'; |
267 | | - } else |
268 | | - $cancel = Linker::link( $wgTitle, $label, array(), array(), 'known' ); |
| 267 | + } else { |
| 268 | + $cancel = $sk->link( $wgTitle, $label, array(), array(), 'known' ); |
| 269 | + } |
269 | 270 | $text = " <span class='editHelp'>$cancel</span>\n"; |
270 | 271 | return $text; |
271 | 272 | } |