Semantic MediaWiki and related extensions
|
*/ Foo::load();
/**
*/ class Foo {
/**
/**
if ( !defined( 'SMW_VERSION' ) ) { if ( PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg' ) { die( "\nThe 'Foo' extension requires the 'Semantic MediaWiki' extension to be installed and enabled.\n" ); } else { die( 'Error: The Foo extension requires the Semantic MediaWiki extension to be installed and enabled.' ); } }
// Do call the setup code // $hooks = new Hooks(); // $hooks->register(); }
}