<?php /** * @author Jean-Lou Dupont * @package PageRestrictions * @version @@package-version@@ * @Id $Id$ */ //<source lang=php> if (class_exists('StubManager')) { $wgExtensionCredits['other'][] = array('name' => 'PageRestrictions', 'version' => '@@package-version@@', 'author' => 'Jean-Lou Dupont', 'description' => "Adds page level restrictions definitions & enforcement.", 'url' => 'http://mediawiki.org/wiki/Extension:PageRestrictions'); StubManager::createStub('PageRestrictions', dirname(__FILE__) . '/PageRestrictions.body.php', null, array('ArticleViewHeader'), false, null, null, null); class PageRestrictionsSetup { static $msg = array(); static $rList = array('read', 'raw', 'viewsource'); public static function setup() { global $wgRestrictionTypes; foreach (self::$rList as $index => $rest) { $wgRestrictionTypes[] = $rest; } global $wgExtensionFunctions; $wgExtensionFunctions[] = create_function('', "return PageRestrictionsSetup::loadMessages();"); } public static function loadMessages() { global $wgMessageCache; foreach (self::$msg as $key => $value) { $wgMessageCache->addMessages(self::$msg[$key], $key); }
<?php /** * @author Jean-Lou Dupont * @package SecureHTML * @version @@package-version@@ * @Id $Id$ */ //<source lang=php>*/ if (class_exists('StubManager')) { $wgExtensionCredits['other'][] = array('name' => 'SecureHTML', 'version' => '@@package-version@@', 'author' => 'Jean-Lou Dupont', 'description' => 'Enables secure HTML code on protected pages', 'url' => 'http://mediawiki.org/wiki/Extension:SecureHTML'); StubManager::createStub('SecureHTML', dirname(__FILE__) . '/SecureHTML.body.php', null, array('ArticleSave', 'ArticleViewHeader'), false, null, array('html', 'shtml'), null, null); } else { echo '[[Extension:SecureHTML]] requires [[Extension:StubManager]] and optionally [[Extension:ParserFunctionsHelper]].'; } //</source>
<?php /** * @author Jean-Lou Dupont * @package ViewsourceRight * @version $Id$ */ //<source lang=php>*/ global $wgExtensionCredits; $wgExtensionCredits['other'][] = array('name' => 'ViewsourceRight', 'version' => '1.1.0', 'author' => 'Jean-Lou Dupont', 'description' => "Enforces 'viewsource' right. Status: ", 'url' => 'http://mediawiki.org/wiki/Extension:ViewsourceRight'); StubManager::createStub('ViewsourceRight', dirname(__FILE__) . '/ViewsourceRight.body.php', null, array('SpecialVersionExtensionTypes', 'AlternateEdit', 'SkinTemplateTabs', 'clearSkinTabActions'), false, null, null, null); //</source>
|update = |mediawiki = tested on 1.10 but probably works with a earlier versions |download = [http://bizzwiki.googlecode.com/svn/trunk/BizzWiki/extensions/DocProc/ SVN] |readme = |changelog = |description = |parameters = |rights = |example = }} <!--@@ {{#autoredirect: Extension|{{#noext:{{SUBPAGENAME}} }} }} == File Status == This section is only valid when viewing the page in a BizzWiki environment. <code>(($#extractmtime|@@mtime@@$)) (($#extractfile|@@file@@$))</code> Status: (($#comparemtime|<b>File system copy is newer - [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=reload}} Reload] </b>|Up to date$)) @@--> == Purpose == This is the stub for the extension. This is the only file which should be listed in <code>LocalSettings.php</code>. == History == == See Also == This extension is part of the [[Extension:BizzWiki|BizzWiki Platform]]. == Code == <!--</wikitext>--><source lang=php>*/ StubManager::createStub('DocProc', dirname(__FILE__) . '/DocProc.php', null, null, false, array('docproc'), null, null); //</source>
<?php /** * @author Jean-Lou Dupont * @package UserLoginLogoutLog * @version $Id$ */ //<source lang=php>*/ global $wgExtensionCredits; $wgExtensionCredits['other'][] = array('name' => 'UserLoginLogoutLog', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => 'Provides logging of user login/logout activities.', 'url' => 'http://mediawiki.org/wiki/Extension:UserLoginLogoutLog'); StubManager::createStub('UserLoginLogoutLog', dirname(__FILE__) . '/UserLoginLogoutLog.body.php', dirname(__FILE__) . '/UserLoginLogoutLog.i18n.php', array('UserLoginForm', 'UserLoginComplete', 'UserLogout', 'UserLogoutComplete', 'SpecialVersionExtensionTypes'), true); //</source>
<?php /** * @author Jean-Lou Dupont * @package RawPageTools * @version @@package-version@@ * @Id $Id$ */ //<source lang=php> if (class_exists('StubManager')) { $wgExtensionCredits['other'][] = array('name' => 'RawPageTools', 'version' => '@@package-version@@', 'author' => 'Jean-Lou Dupont', 'description' => 'Provides removal of `js` and `css` tag sections for raw page functionality'); StubManager::createStub('RawPageTools', dirname(__FILE__) . '/RawPageTools.body.php', null, array('RawPageViewBeforeOutput'), false); } else { echo '[[Extension:RawPageTools]] requires [[Extension:StubManager]]'; } //</source>
<?php /** * @author Jean-Lou Dupont * @package RawRight */ //<source lang=php>*/ $wgExtensionCredits['other'][] = array('name' => 'RawRight', 'version' => StubManager::getRevisionId('$Id$'), 'author' => 'Jean-Lou Dupont', 'description' => "Status: ", 'url' => 'http://mediawiki.org/wiki/Extension:RawRight'); StubManager::createStub('RawRight', dirname(__FILE__) . '/RawRight.body.php', null, array('SpecialVersionExtensionTypes', 'RawPageViewBeforeOutput'), false, null, null, null); //</source>
<?php /** * @author Jean-Lou Dupont * @category ParserFunctions * @package ParserPhase2 * @version $Id$ */ //<source lang=php>*/ $wgExtensionCredits['other'][] = array('name' => 'ParserPhase2', 'version' => '@@package-version@@', 'author' => 'Jean-Lou Dupont', 'description' => "Enables performing a 'second pass' parsing over an already cached page for replacing dynamic variables", 'url' => 'http://mediawiki.org/wiki/Extension:ParserPhase2'); StubManager::createStub('ParserPhase2', dirname(__FILE__) . '/ParserPhase2.body.php', null, array('OutputPageBeforeHTML', 'ParserAfterTidy', 'ParserBeforeStrip'), false, null, null, null); //</source>
<?php /** * @author Jean-Lou Dupont * @package ParserExt * @subpackage ForeachFunction * @version @@package-version@@ * @Id $Id$ */ //<source lang=php> global $wgExtensionCredits; $wgExtensionCredits['other'][] = array('name' => 'ForeachFunction', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => 'Looping functions for global objects using parser functions', 'url' => 'http://mediawiki.org/wiki/Extension:ForeachFunction'); StubManager::createStub('ForeachFunction', dirname(__FILE__) . '/ForeachFunction.body.php', null, null, false, null, array('foreachx', 'foreachy', 'forx', 'foreachc'), null); //</source>
|update = |mediawiki = tested on 1.10 but probably works with a earlier versions |download = [http://bizzwiki.googlecode.com/svn/trunk/BizzWiki/extensions/ScriptingTools/ SVN] |readme = |changelog = |description = |parameters = |rights = |example = }} <!--@@ {{#autoredirect: Extension|{{#noext:{{SUBPAGENAME}} }} }} == File Status == This section is only valid when viewing the page in a BizzWiki environment. <code>(($#extractmtime|@@mtime@@$)) (($#extractfile|@@file@@$))</code> Status: (($#comparemtime|<b>File system copy is newer - [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=reload}} Reload] </b>|Up to date$)) @@--> == Purpose == This is the stub for the extension. This is the only file which should be listed in <code>LocalSettings.php</code>. == History == == See Also == This extension is part of the [[Extension:BizzWiki|BizzWiki Platform]]. == Code == <!--</wikitext>--><source lang=php>*/ StubManager::createStub('ScriptingTools', dirname(__FILE__) . '/ScriptingTools.php', null, array('ArticleSave', 'ParserAfterTidy'), false, null, array('epropset', 'epropset2'), null); //</source>
<?php /** * @author Jean-Lou Dupont * @package WatchRight */ //<source lang=php>*/ global $wgExtensionCredits; $wgExtensionCredits['other'][] = array('name' => 'WatchRight', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => "Enforces 'watch/unwatch' rights", 'url' => 'http://mediawiki.org/wiki/Extension:WatchRight'); StubManager::createStub('WatchRight', dirname(__FILE__) . '/WatchRight.body.php', null, array('WatchArticle', 'UnwatchArticle', 'SkinTemplateTabs'), false, null, null, null); //</source>
<?php /** * @author Jean-Lou Dupont * @package ParserExt * @subpackage MiscParserFunctions * @version @@package-version@@ * @Id $Id$ */ //<source lang=php> global $wgExtensionCredits; $wgExtensionCredits['other'][] = array('name' => 'MiscParserFunctions', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => 'Miscellaneous parser functionality', 'url' => 'http://mediawiki.org/wiki/Extension:MiscParserFunctions'); StubManager::createStub('MiscParserFunctions', dirname(__FILE__) . '/MiscParserFunctions.body.php', null, null, false, null, array('trim', 'nowikitext', 'gettagsection'), null); //</source>
<?php /** * @author Jean-Lou Dupont * @package ImageLink * @version @@package-version@@ * @Id $Id$ */ //<source lang=php> $wgExtensionCredits['other'][] = array('name' => 'ImageLink', 'version' => '@@package-version@@', 'author' => 'Jean-Lou Dupont', 'description' => 'Provides a clickable image link', 'url' => 'http://mediawiki.org/wiki/Extension:ImageLink'); if (!class_exists('StubManager') || version_compare(StubManager::version(), '1.2.0', '<')) { echo '[[Extension:ImageLink]] requires [[Extension:StubManager]] version >= 1.2.0'; } else { StubManager::createStub('ImageLink', dirname(__FILE__) . '/ImageLink.body.php', null, null, false, null, array('imagelink', 'imagelink_raw', 'img', 'iconlink'), null); } //</source>
<?php /** @author Jean-Lou Dupont @package SecureProperties */ //<source lang=php> global $wgExtensionCredits; $wgExtensionCredits['other'][] = array('name' => 'SecureProperties', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => 'Enables global object property get/set on protected pages', 'url' => 'http://mediawiki.org/wiki/Extension:SecureProperties'); StubManager::createStub('SecureProperties', dirname(__FILE__) . '/SecureProperties.body.php', null, null, false, null, array('pg', 'ps', 'pf', 'gg', 'gs', 'cg', 'cs'), null, null); //</source>
<?php /** * @author Jean-Lou Dupont * @package ShowRedirectPageText * @version @@package-version@@ * @Id $Id$ */ //<source lang=php>*/ if (class_exists('StubManager')) { $wgExtensionCredits['other'][] = array('name' => 'ShowRedirectPageText', 'version' => '@@package-version@@', 'author' => 'Jean-Lou Dupont', 'description' => 'Provides viewing a wikitext included in a redirect page', 'url' => 'http://mediawiki.org/wiki/Extension:ShowRedirectPageText'); StubManager::createStub('ShowRedirectPageText', dirname(__FILE__) . '/ShowRedirectPageText.body.php', null, array('ArticleViewHeader', 'OutputPageParserOutput'), false, null, null, null); } else { echo '[[Extension:ShowRedirectPageText]] requires [[Extension:StubManager]]'; } //</source>
|update = |mediawiki = tested on 1.10 but probably works with a earlier versions |download = [http://bizzwiki.googlecode.com/svn/trunk/BizzWiki/extensions/RegexNamespaceContext/ SVN] |readme = |changelog = |description = |parameters = |rights = |example = }} <!--@@ {{#autoredirect: Extension|{{#noext:{{SUBPAGENAME}} }} }} == File Status == This section is only valid when viewing the page in a BizzWiki environment. <code>(($#extractmtime|@@mtime@@$)) (($#extractfile|@@file@@$))</code> Status: (($#comparemtime|<b>File system copy is newer - [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=reload}} Reload] </b>|Up to date$)) @@--> == Purpose == This is the stub for the extension. This is the only file which should be listed in <code>LocalSettings.php</code>. == History == == See Also == This extension is part of the [[Extension:BizzWiki|BizzWiki Platform]]. == Code == <!--</wikitext>--><source lang=php>*/ StubManager::createStub('RegexNamespaceContext', dirname(__FILE__) . '/RegexNamespaceContext.php', null, array('EditFormPreloadText', 'ParserAfterTidy', 'BeforePageDisplay'), false); //</source>
<?php /** * @author Jean-Lou Dupont * @package AddScriptCss */ //<source lang=php>*/ $wgExtensionCredits['other'][] = array('name' => 'AddScriptCss', 'version' => StubManager::getRevisionId('$Id$'), 'author' => 'Jean-Lou Dupont', 'description' => 'Adds javascript and css scripts to the page HEAD or BODY sections', 'url' => 'http://mediawiki.org/wiki/Extension:AddScriptCss'); StubManager::createStub('AddScriptCss', dirname(__FILE__) . '/AddScriptCss.body.php', null, array('OutputPageBeforeHTML', 'ParserAfterTidy'), false, array('addtohead', 'addscript'), array('addscript'), null); //</source>
<?php /** * @author Jean-Lou Dupont * @package geshi */ //<source lang=php> $wgExtensionCredits['other'][] = array('name' => 'geshi', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => 'Handles generic syntax highlighting', 'url' => 'http://mediawiki.org/wiki/Extension:Geshi'); StubManager::createStub('geshiClass', dirname(__FILE__) . '/geshi.body.php', null, array('SyntaxHighlight'), false, array('geshi', 'source', 'php', 'js', 'css'), array('source'), null); //</source>
<?php /** * @author Jean-Lou Dupont * @package PageAfterAndBefore * @version @@package-version@@ * @Id $Id$ */ //<source lang=php> if (class_exists('StubManager')) { $wgExtensionCredits['other'][] = array('name' => 'PageAfterAndBefore', 'version' => '@@package-version@@', 'author' => 'Jean-Lou Dupont', 'description' => "Provides a 'magic word' interface to retrieve 'preceeding' and 'succeeding' pages relative to a given page title.", 'url' => 'http://mediawiki.org/wiki/Extension:PageAfterAndBefore'); StubManager::createStub('PageAfterAndBefore', dirname(__FILE__) . '/PageAfterAndBefore.body.php', null, null, false, null, array('pagebefore', 'pageafter', 'firstpage', 'lastpage'), null); } else { echo 'Extension:PageAfterAndBefore requires Extension:StubManager'; } //</source>
<?php /** * @author Jean-Lou Dupont * @package InterWikiTitleWizard * @version $Id$ */ //<source lang=php> $wgExtensionCredits['other'][] = array('name' => 'InterWikiTitleWizard', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => 'Provides enhanced flexibility for inter-wiki titles', 'url' => 'http://mediawiki.org/wiki/Extension:InterWikiTitleWizard'); if (class_exists('StubManager')) { StubManager::createStub('InterWikiTitleWizard', dirname(__FILE__) . '/InterWikiTitleWizard.body.php', null, array('GetFullURL'), false, null, null, null); } else { echo '[[Extension:InterWikiTitleWizard]] requires [[Extension:StubManager]].'; } //</source>
<?php /** * @author Jean-Lou Dupont * @package ParserExt * @subpackage PermissionFunctions * @version @@package-version@@ * @Id $Id$ */ //<source lang=php> global $wgExtensionCredits; $wgExtensionCredits['other'][] = array('name' => 'PermissionFunctions', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => 'Provides a collection of permission management functionality.', 'url' => 'http://mediawiki.org/wiki/Extension:PermissionFunctions'); StubManager::createStub('PermissionFunctions', dirname(__FILE__) . '/PermissionFunctions.body.php', null, array('EndParserPhase2'), false, null, array('checkpermission'), null); //</source>
|update = |mediawiki = tested on 1.10 but probably works with a earlier versions |download = [http://bizzwiki.googlecode.com/svn/trunk/BizzWiki/extensions/RecentChangesManager/ SVN] |readme = |changelog = |description = |parameters = |rights = |example = }} <!--@@ {{#autoredirect: Extension|{{#noext:{{SUBPAGENAME}} }} }} == File Status == This section is only valid when viewing the page in a BizzWiki environment. <code>(($#extractmtime|@@mtime@@$)) (($#extractfile|@@file@@$))</code> Status: (($#comparemtime|<b>File system copy is newer - [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=reload}} Reload] </b>|Up to date$)) @@--> == Purpose == This is the stub for the extension. This is the only file which should be listed in <code>LocalSettings.php</code>. == History == == See Also == This extension is part of the [[Extension:BizzWiki|BizzWiki Platform]]. == Code == <!--</wikitext>--><source lang=php>*/ StubManager::createStub('RecentChangesManager', dirname(__FILE__) . '/RecentChangesManager.php', null, array('ArticleEditUpdatesDeleteFromRecentchanges'), false, null, null, null); //</source>
<?php StubManager::createStub('FormProc', dirname(__FILE__) . '/FormProc.body.php', null, array('UnknownAction'), false, null, null, null, null); //</source>
<?php /** * @author Jean-Lou Dupont * @package AutoLanguage * @version $Id$ */ //<source lang=php> global $wgExtensionCredits; $wgExtensionCredits['other'][] = array('name' => 'AutoLanguage', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => 'Automatic page language switching based on user preference', 'url' => 'http://mediawiki.org/wiki/Extension:AutoLanguage'); StubManager::createStub('AutoLanguage', dirname(__FILE__) . '/AutoLanguage.body.php', null, array('ArticleFromTitle'), false); //</source>
<?php /** * @author Jean-Lou Dupont * @package UserSettingsChangedLog * @version $Id$ */ //<source lang=php>*/ $wgExtensionCredits['other'][] = array('name' => 'UserSettingsChangedLog', 'version' => StubManager::getRevisionId('$Id$'), 'author' => 'Jean-Lou Dupont', 'description' => 'Provides logging of user settings changed', 'url' => 'http://mediawiki.org/wiki/Extension:UserSettingsChangedLogging'); StubManager::createStub('UserSettingsChangedLog', dirname(__FILE__) . '/UserSettingsChangedLog.body.php', dirname(__FILE__) . '/UserSettingsChangedLog.i18n.php', array('UserSettingsChanged'), true); //</source>
|update = |mediawiki = tested on 1.10 but probably works with a earlier versions |download = [http://bizzwiki.googlecode.com/svn/trunk/BizzWiki/extensions/FileSystemSyntaxColoring/ SVN] |readme = |changelog = |description = |parameters = |rights = |example = }} <!--@@ {{#autoredirect: Extension|{{#noext:{{ {{SUBPAGENAME}} }} }} == File Status == This section is only valid when viewing the page in a BizzWiki environment. <code>(($#extractmtime|@@mtime@@$)) (($#extractfile|@@file@@$))</code> Status: (($#comparemtime|<b>File system copy is newer - [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=reload}} Reload] </b>|Up to date$)) @@--> == Purpose == This is the stub for the extension. This is the only file which should be listed in <code>LocalSettings.php</code>. == History == == See Also == This extension is part of the [[Extension:BizzWiki|BizzWiki Platform]]. == Code == <!--</wikitext>--><source lang=php>*/ StubManager::createStub('FileSystemSyntaxColoring', dirname(__FILE__) . '/FileSystemSyntaxColoring.php', null, array('ArticleAfterFetchContent', 'ParserBeforeStrip'), false, null, null, null, array(NS_FILESYSTEM)); //</source>
<?php /** * @author Jean-Lou Dupont * @package NewUserEmailNotification.php * @version $Id$ */ //<source lang=php> global $wgExtensionCredits; $wgExtensionCredits['other'][] = array('name' => 'NewUserEmailNotification', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => 'Provides email notification of new user account creation', 'url' => 'http://mediawiki.org/wiki/Extension:NewUserEmailNotification'); StubManager::createStub('NewUserEmailNotification', dirname(__FILE__) . '/NewUserEmailNotification.body.php', dirname(__FILE__) . '/NewUserEmailNotification.i18n.php', array('AddNewAccount'), false); //</source>
<?php /** * @author Jean-Lou Dupont * @package WatchLog */ //<source lang=php>*/ global $wgExtensionCredits; $wgExtensionCredits['other'][] = array('name' => 'WatchLog', 'version' => '1.0.0', 'author' => 'Jean-Lou Dupont', 'description' => 'Provides logging of user-to-user emailing activities', 'url' => 'http://mediawiki.org/wiki/Extension:WatchLog'); StubManager::createStub('WatchLog', dirname(__FILE__) . '/WatchLog.body.php', dirname(__FILE__) . '/WatchLog.i18n.php', array('WatchArticleComplete', 'UnwatchArticleComplete'), true); //</source>
<source lang=php> SpecialPagesManager->singleton()->setSpecialPage('page name'); </source> == Dependancy == * [[Extension:StubManager]] extension == Installation == To install independantly from BizzWiki: * Download 'StubManager' extension * Apply the following changes to 'LocalSettings.php' <source lang=php> require('extensions/StubManager.php'); require('extensions/SpecialPagesManager/SpecialPagesManager.php'); </source> == Rights == The extension defines a new right 'siteupdate' required to access the update functionality. == History == * Removed dependency on ExtensionClass * Added 'stubbing' capability through StubManager == Code == </wikitext>*/ // Create the special page (the standard MW style one) global $wgSpecialPages, $wgAutoloadClasses; $wgSpecialPages['SpecialPagesManagerUpdater'] = 'SpecialPagesManagerUpdater'; $wgAutoloadClasses['SpecialPagesManagerUpdater'] = dirname(__FILE__) . "/SpecialPagesManagerUpdater.php"; StubManager::createStub('SpecialPagesManagerClass', dirname(__FILE__) . '/SpecialPagesManagerClass.php', null, array('SpecialPageExecuteAfterPage'), false, null, null, null);
<?php /** * @author Jean-Lou Dupont * @package InterWikiLinkManager */ //<source lang=php>*/ $wgExtensionCredits['other'][] = array('name' => 'InterWikiLinkManager', 'version' => StubManager::getRevisionId('$Id$'), 'author' => 'Jean-Lou Dupont', 'description' => 'Manages the InterWiki links table.', 'url' => 'http://mediawiki.org/wiki/Extension:InterWikiLinkManager'); StubManager::createStub('InterWikiLinkManager', dirname(__FILE__) . '/InterWikiLinkManager.body.php', null, array('ArticleSave', 'EditFormPreloadText'), false, null, array('iwl'), null, array(NS_MEDIAWIKI)); //</source>