Index: trunk/extensions/SemanticForms/includes/SF_FormEditTab.php |
— | — | @@ -99,6 +99,19 @@ |
100 | 100 | } |
101 | 101 | |
102 | 102 | /** |
| 103 | + * Function currently called only for the 'Vector' skin, added in |
| 104 | + * MW 1.16 - will possibly be called for additional skins later |
| 105 | + */ |
| 106 | + static function displayTab2($obj, $links) { |
| 107 | + // the old '$content_actions' array is thankfully just a |
| 108 | + // sub-array of this one |
| 109 | + $views_links = $links['views']; |
| 110 | + self::displayTab($obj, &$views_links); |
| 111 | + $links['views'] = $views_links; |
| 112 | + return true; |
| 113 | + } |
| 114 | + |
| 115 | + /** |
103 | 116 | * The function called if we're in index.php (as opposed to one of the |
104 | 117 | * special pages) |
105 | 118 | */ |
Index: trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | |
9 | 9 | if ( !defined( 'MEDIAWIKI' ) ) die(); |
10 | 10 | |
11 | | -define('SF_VERSION','1.8'); |
| 11 | +define('SF_VERSION','1.8.1'); |
12 | 12 | |
13 | 13 | $wgExtensionCredits['specialpage'][]= array( |
14 | 14 | 'path' => __FILE__, |
— | — | @@ -34,6 +34,7 @@ |
35 | 35 | $wgHooks['LinkEnd'][] = 'SFLinkUtils::setBrokenLink'; |
36 | 36 | $wgHooks['UnknownAction'][] = 'SFFormEditTab::displayForm'; |
37 | 37 | $wgHooks['SkinTemplateTabs'][] = 'SFFormEditTab::displayTab'; |
| 38 | +$wgHooks['SkinTemplateNavigation'][] = 'SFFormEditTab::displayTab2'; |
38 | 39 | $wgHooks['smwInitProperties'][] = 'SFUtils::initProperties'; |
39 | 40 | $wgHooks['AdminLinks'][] = 'sffAddToAdminLinks'; |
40 | 41 | |