r40546 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40545‎ | r40546 | r40547 >
Date:17:58, 6 September 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
fix version check
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php
@@ -265,7 +265,7 @@
266266 smwfRegisterParserFunctions( $wgParser );
267267 }
268268 if ($smwgToolboxBrowseLink) {
269 - if (version_compare($wgVersion,'1.12','>')) {
 269+ if (version_compare($wgVersion,'1.13','>')) {
270270 $wgHooks['SkinTemplateToolboxEnd'][] = 'smwfShowBrowseLink'; // introduced only in 1.13
271271 } else {
272272 $wgHooks['MonoBookTemplateToolboxEnd'][] = 'smwfShowBrowseLink';

Status & tagging log