Skip to content
This repository
Newer
Older
100644 32 lines (27 sloc) 1.367 kb
adc5ebe5 »
2009-11-08 initial commit, add files to repo
1 <?php
2 # Alert the user that this is not a valid entry point to MediaWiki if they try to access the special pages file directly.
3 if (!defined('MEDIAWIKI')) {
265f48b6 »
2010-05-02 cleanups
4 echo <<<EOT
adc5ebe5 »
2009-11-08 initial commit, add files to repo
5 To install BookDesigner, put the following line in LocalSettings.php:
6 require_once( "\$IP/extensions/BookDesigner/BookDesigner.php" );
7 EOT;
265f48b6 »
2010-05-02 cleanups
8 exit( 1 );
adc5ebe5 »
2009-11-08 initial commit, add files to repo
9 }
55b8299a »
2010-05-02 cleanups. Mostly whitespace
10
74c893b4 »
2010-08-28 share version number between server-side and client-side components. …
11 $wg_VBDExtensionVersion = '4.0 beta';
12
adc5ebe5 »
2009-11-08 initial commit, add files to repo
13 $wgExtensionCredits['specialpage'][] = array(
55b8299a »
2010-05-02 cleanups. Mostly whitespace
14 'name' => 'BookDesigner',
15 'author' => 'Andrew Whitworth',
16 'url' => 'http://github.com/Whiteknight/mediawiki-bookdesigner',
4a69f001 »
2010-05-02 small updates to metadata
17 'description' => 'Design and create books using a graphical outlining tool',
18 'descriptionmsg' => 'bookdesigner-desc',
74c893b4 »
2010-08-28 share version number between server-side and client-side components. …
19 'version' => $wg_VBDExtensionVersion
adc5ebe5 »
2009-11-08 initial commit, add files to repo
20 );
55b8299a »
2010-05-02 cleanups. Mostly whitespace
21
adc5ebe5 »
2009-11-08 initial commit, add files to repo
22 $dir = dirname(__FILE__) . '/';
55b8299a »
2010-05-02 cleanups. Mostly whitespace
23
24 $wgAutoloadClasses['BookDesigner'] = $dir . 'BookDesigner_body.php';
bd33ef73 »
2010-08-29 begin another refactor, break the code inot smaller classes and files
25 $wgAutoloadClasses['BookDesignerOptions'] = $dir . 'BookDesigner.options.php';
26 $wgAutoloadClasses['BookDesignerParser'] = $dir . 'BookDesigner.parser.php';
27 $wgAutoloadClasses['BookDesignerPage'] = $dir . 'BookDesigner.page.php';
adc5ebe5 »
2009-11-08 initial commit, add files to repo
28 $wgExtensionMessagesFiles['BookDesigner'] = $dir . 'BookDesigner.i18n.php';
65dc3ad4 »
2009-11-09 Update URL, prettify code
29 $wgExtensionAliasesFiles['BookDesigner'] = $dir . 'BookDesigner.alias.php';
55b8299a »
2010-05-02 cleanups. Mostly whitespace
30 $wgSpecialPages['BookDesigner'] = 'BookDesigner';
adc5ebe5 »
2009-11-08 initial commit, add files to repo
31
4601e4eb »
2010-08-28 Add a 'bookbuilder' permission, and require people editing the outlin…
32 $wgGroupPermissions['sysop']['buildbook'] = true;
Something went wrong with that request. Please try again.