BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
PageSchemas.php File Reference

Variables

const PAGE_SCHEMAS_VERSION (!defined( 'MEDIAWIKI')) '0.4.6'
 
 $wgExtensionCredits ['parserhook'][]
 
 $dir = dirname( __FILE__ ) . '/'
 
 $wgMessagesDirs ['PageSchemas'] = __DIR__ . '/i18n'
 
 $wgExtensionMessagesFiles ['PageSchemas'] = $dir . 'PageSchemas.i18n.php'
 
 $wgExtensionMessagesFiles ['PageSchemasAlias'] = $dir . 'PageSchemas.i18n.alias.php'
 
 $wgJobClasses ['pageSchemasCreatePage'] = 'PSCreatePageJob'
 
 $wgAutoloadClasses ['PageSchemasHooks'] = $dir . 'PageSchemas.hooks.php'
 
 $wgAutoloadClasses ['PageSchemas'] = $dir . 'PageSchemas.classes.php'
 
 $wgAutoloadClasses ['PSSchema'] = $dir . 'PageSchemas.classes.php'
 
 $wgAutoloadClasses ['PSTemplate'] = $dir . 'PageSchemas.classes.php'
 
 $wgAutoloadClasses ['PSTemplateField'] = $dir . 'PageSchemas.classes.php'
 
 $wgAutoloadClasses ['PSPageSection'] = $dir . 'PageSchemas.classes.php'
 
 $wgAutoloadClasses ['PSGeneratePages'] = $dir . 'specials/PS_GeneratePages.php'
 
 $wgAutoloadClasses ['PSEditSchema'] = $dir . 'specials/PS_EditSchema.php'
 
 $wgAutoloadClasses ['PSTabs'] = $dir . 'PS_Tabs.php'
 
 $wgAutoloadClasses ['PSExtensionHandler'] = $dir . 'PS_ExtensionHandler.php'
 
 $wgAutoloadClasses ['PSCreatePageJob'] = $dir . 'PS_CreatePageJob.php'
 
 $wgSpecialPages ['GeneratePages'] = 'PSGeneratePages'
 
 $wgSpecialPages ['EditSchema'] = 'PSEditSchema'
 
 $wgHooks ['ParserFirstCallInit'][] = 'PageSchemasHooks::register'
 
 $wgHooks ['UnknownAction'][] = 'PSTabs::onUnknownAction'
 
 $wgHooks ['SkinTemplateTabs'][] = 'PSTabs::displayTabs'
 
 $wgHooks ['SkinTemplateNavigation'][] = 'PSTabs::displayTabs2'
 
 $wgAvailableRights [] = 'generatepages'
 
 $wgGroupPermissions ['sysop']['generatepages'] = true
 
 $pageSchemasResourceTemplate
 
 $wgResourceModules
 
 $wgPageSchemasFieldNum = 0
 
 $wgPageSchemasHandlerClasses = array()
 

Detailed Description

Page Schemas extension

This is the main include file for the Page Schemas MediaWiki extension.

Usage: Add the following line in LocalSettings.php: require_once( "$IP/extensions/PageSchemas/PageSchemas.php" );

Variable Documentation

$pageSchemasResourceTemplate
Initial value:
= array(
'localBasePath' => $dir,
'remoteExtPath' => 'PageSchemas'
)
$wgExtensionCredits['parserhook'][]
Initial value:
= array(
'path' => __FILE__,
'name' => 'Page Schemas',
'author' => array( 'Yaron Koren', 'Ankit Garg', '...' ),
'version' => PAGE_SCHEMAS_VERSION,
'url' => 'http://www.mediawiki.org/wiki/Extension:Page_Schemas',
'descriptionmsg' => 'ps-desc',
)
$wgResourceModules
Initial value:
= array(
'ext.pageschemas.main' => $pageSchemasResourceTemplate + array(
'scripts' => array(
'PageSchemas.js',
),
'styles' => array(
'PageSchemas.css',
),
'dependencies' => array(
),
),
)