Skip to content

Commit

Permalink
Create SemanticBreadcrumbLinks.php
Browse files Browse the repository at this point in the history
* Minor tweaks

[skip ci]
  • Loading branch information
kghbln authored Jun 10, 2017
1 parent 58dd747 commit 266aded
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SemanticBreadcrumbLinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @defgroup SBL Semantic Breadcrumb Links
*/
if ( !defined( 'MEDIAWIKI' ) ) {
die( 'This file is part of the SemanticBreadcrumbLinks extension, it is not a valid entry point.' );
die( 'This file is part of the Semantic Breadcrumb Links extension, it is not a valid entry point.' );
}

if ( defined( 'SBL_VERSION' ) ) {
Expand Down Expand Up @@ -105,11 +105,11 @@ public static function initExtension() {
public static function checkRequirements() {

if ( version_compare( $GLOBALS[ 'wgVersion' ], '1.27', 'lt' ) ) {
die( '<b>Error:</b> This version of <a href="/SemanticMediaWiki/SemanticBreadcrumbLinks/">Semantic Breadcrumb Links</a> is only compatible with MediaWiki 1.23 or above. You need to upgrade MediaWiki first.' );
die( '<b>Error:</b> This version of <a href="/SemanticMediaWiki/SemanticBreadcrumbLinks/">Semantic Breadcrumb Links</a> is only compatible with MediaWiki 1.27 or above. You need to upgrade MediaWiki first.' );
}

if ( !defined( 'SMW_VERSION' ) ) {
die( '<b>Error:</b> <a href="/SemanticMediaWiki/SemanticBreadcrumbLinks/">Semantic Breadcrumb Links</a> requires <a href="/SemanticMediaWiki/SemanticMediaWiki/">Semantic MediaWiki</a>, please enable or install the extension first.' );
die( '<b>Error:</b> <a href="/SemanticMediaWiki/SemanticBreadcrumbLinks/">Semantic Breadcrumb Links</a> requires <a href="/SemanticMediaWiki/SemanticMediaWiki/">Semantic MediaWiki</a>. Please enable or install the extension first.' );
}
}

Expand Down

0 comments on commit 266aded

Please sign in to comment.