Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | * If used, this file replaces SMW_Setup.php. The files are never used together |
11 | 11 | * since they define some functions of the same name. |
12 | 12 | * |
13 | | - * SMWLight does not support versions of MediaWiki older than 1.14.0. |
| 13 | + * SMWLight does not support versions of MediaWiki older than 1.15.0. |
14 | 14 | * @file |
15 | 15 | * @ingroup SMW |
16 | 16 | */ |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php |
— | — | @@ -262,20 +262,11 @@ |
263 | 263 | $wgHooks['ParserFirstCallInit'][] = 'smwfRegisterParserFunctions'; |
264 | 264 | |
265 | 265 | if ( $smwgToolboxBrowseLink ) { |
266 | | - if ( version_compare( $wgVersion, '1.13', '>=' ) ) { |
267 | | - $wgHooks['SkinTemplateToolboxEnd'][] = 'smwfShowBrowseLink'; // introduced only in 1.13 |
268 | | - } else { |
269 | | - $wgHooks['MonoBookTemplateToolboxEnd'][] = 'smwfShowBrowseLink'; |
270 | | - } |
| 266 | + $wgHooks['SkinTemplateToolboxEnd'][] = 'smwfShowBrowseLink'; |
271 | 267 | } |
272 | 268 | |
273 | | - if ( version_compare( $wgVersion, '1.14alpha', '>=' ) ) { |
274 | | - $wgHooks['SkinAfterContent'][] = 'SMWFactbox::onSkinAfterContent'; // draw Factbox below categories |
275 | | - $smwgMW_1_14 = true; // assume latest 1.14 API |
276 | | - } else { |
277 | | - $wgHooks['OutputPageBeforeHTML'][] = 'SMWFactbox::onOutputPageBeforeHTML'; // draw Factbox right below page content |
278 | | - $smwgMW_1_14 = false; // assume <= 1.13 API |
279 | | - } |
| 269 | + $wgHooks['SkinAfterContent'][] = 'SMWFactbox::onSkinAfterContent'; // draw Factbox below categories |
| 270 | + $smwgMW_1_14 = true; // assume latest 1.14 API |
280 | 271 | |
281 | 272 | // Registration of the extension credits, see Special:Version. |
282 | 273 | $wgExtensionCredits['semantic'][] = array( |