Code:MediaWiki Extension Template

From IrohWiki

Jump to: navigation, search
Template Example Project
View Full Project
Language php
Started 12/27/2006
State 0.2 alpha

Notes
This project is not stable or complete.


LocalSettings.php

<?php
/*
* 1) Add the following lines to the end of LocalSettings.php
* 2) Add a file called Include.php into your extensions directory
* include any extensions in that file.
*/

 
#Include Patch
Include_Once('extensions/Include.php')
?>

Include.php

<?php
/*
* List out any files to be included in MediaWiki in this file.
* This makes it easer to micromanage extensions included in MediaWiki.
*
* Format:
* Include("extensions/FILE_NAME.php");
*/

 
// Access Control Extension
Include("extensions/Template.php");
 
?>

Template.php

<?php
/*
*
* = Template ReadMe =
*
* == Credits ==
*
* This template was written by Nathan Perry
*
* Additional sources are:
* * http://meta.wikimedia.org/wiki/Extending_wiki_markup
*
* == To Do list when first starting use of this template ==
*
* 1) Open this template in a text editor and perform a Find/Replace on the terms in the below section
* 2) Go to "Extension Variables" and update the definations to include your name (or crediting author)
* 3) Go to "$wgExtensionCredits" section and comment each line that does not apply to this extension.
* 4) read every line, delete, customize and add as your heart desires.
*
* == General Text Search/Replace Terms ==
* Search/Replace Term
* Note
* * EXTENSION_FILE_NAME
* Extension file name. Used in example below.
* * ePrefix
* Prefix for extension variables. Should be Unique.
* This is required so that the functions in this do not conflict with any other MediaWiki functions.
* Do not use: wg
*
* = To include this extension in your wiki =
* * The extension may be a file you can download, or just some PHP code on some wiki/web page.
* start with step 1 from A or B depending on what you have to do to get this extension.
* * IMPORTENT: Only install extensions from trusted sources.
* An extension can do Anything a PHP script can do, including erase your database.
* * In this example, we will assume your wiki root directory is "WikiRootDirectory".
* This is the directory where you have installed MediaWiki and may be located on your web server.
*
* A: Source from a wiki page or website
* 1.1) Create a new file called "EXTENSION_FILE_NAME.php"
* 1.2) Open the file in a text editor (like notepad) and copy/paste the PHP code form your source into this file.
*
* B: Source from a downloadable file
* 1.1) Download the Extension PHP file.
*
* 2) Put this extension under the directory "WikiRootDirectory/extensions"
* 3) Open "WikiRootDirectory/LocalSettings.php" and add the following line to the end of this file:
*
* include("extensions/ExtensionFileName.php");
*
* 4) Save and close LocalSettings.php
* 5) Test your wiki to ensure this extension is installed.
*
*/

 
/**************************************************
* Security
**************************************************/

 
# This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
if( !defined( 'MEDIAWIKI' ) ) {
echo "This file is part of a MediaWiki extension and is not a valid entry point\n";
die( 1 );
}
 
// Defines
define('EXTENSION_EXAMPLE', true);
define('EXTENSION_EXAMPLE_VERSION', '0.2');
 
/**************************************************
* Credit
**************************************************/

 
// Define extension credits variable for use later
// This information is displayed on Special:Version
// and can be formatted in several ways depending on what is set.
// Example with all set:
// "[" . $url . " " . $name . " (version " . $version . ")] " . $description . ", by " . $author
$ePrefixCredits = array();
$ePrefixCredits['author'] = '[http://www.nateperry.org/ Nathan Perry]';
$ePrefixCredits['name'] = 'Template Extension';
$ePrefixCredits['version'] = EXTENSION_EXAMPLE_VERSION;
$ePrefixCredits['url'] = 'http://www.nateperry.org/w/index.php?title=Code:MediaWiki_Extension_Template';
// period at end of the description will be followed by a comma (...description,. by...); looks bad.
$ePrefixCredits['description'] = 'Template showing how to do a lot of different wiki things';
 
// Use these to put credits for your extenion on the Special:Version page.
//$wgExtensionCredits['specialpage'][] = $ePrefixCredits;
//$wgExtensionCredits['parserhook'][] = $ePrefixCredits;
//$wgExtensionCredits['variable'][] = $ePrefixCredits;
$wgExtensionCredits['other'][] = $ePrefixCredits;
 
/**************************************************
* Examples
**************************************************/

 
// This will tell MediaWiki to run this function to initalize this extension.
$wgExtensionFunctions[] = "ePrefixfInit";
 
/**
* This is a global init funciton.
* It initalizes each of the other examples.
*
*/

function ePrefixfInit() {
ePrefixfHookInit();
ePrefixfSpecialPageInit();
}
 
/**************************************************
* Parser Hooks:
* http://meta.wikimedia.org/wiki/Extending_wiki_markup#How_to_get_started
*
* Parser Special Hook run at a specific time:
* http://meta.wikimedia.org/wiki/Extending_wiki_markup#Hooks
**************************************************/

 
/**
* Initalizes the Parser Hook Example
*
*/

function ePrefixfHookInit() {
global $wgParser, $wgHooks;
 
// Hook example. This will use <HookName>...</HookName> tags and call hpePrefix
$wgParser->setHook( "HookName", "ePrefixfHook" ); // see below for function
 
// Will tie the function ePrefixfHook_ParserBeforeTidy() to the event ParserBeforeTidy
// There are a tun of hooks, Look through MediaWiki code to find more.
// Search for "wfRunHooks" to find hook calls.
$wgHooks['ParserBeforeTidy'][] = 'ePrefixfHook_ParserBeforeTidy';
}
 
/**
* This function is called each time a <HookName> tag is encountered.
* Example of Hook Call: <HookName argv="Value">input</HookName>
*
* Example input: <HookName Foo="Bar" Foo1 Foo2="Bar2" Bar1>Some Text</HookName>
* Example output: Parser Hook Example: <HookName foo=Bar foo1=Foo1 foo2=Bar2 bar1=Bar1>Some Text</HookName>
*
* @param String $input Text that appears between beginning hook and end hook ( <HookName>input</HookName> )
* @param String $argv Array containing any arguments passed to the extension.
* @param unknown_type $parser
* @return String Returns the text the <HookName> tag is replaced with.
*/

function ePrefixfHook( $input, $argv, &$parser ) {
$out = "<b>Parser Hook Example</b>: <nowiki><</nowiki>HookName";
 
foreach ($argv as $key => &$value) {
$out .= ' ' . $key . '=' . $value;
}
 
$out .= '<nowiki>></nowiki>' . $input . '<nowiki><</nowiki>/HookName<nowiki>></nowiki>';
return $out;
}
 
/**
* This function is an example of a ParserBeforeTidy hook funciton.
* Note: The hook function paramaters change depending on the hook.
*
* @param unknown_type $parser
* @param unknown_type $text
*/

function ePrefixfHook_ParserBeforeTidy ( &$parser , &$text ) {
$text .= "<b>ParserBeforeTidy Example</b>";
}
 
/**************************************************
* Parser Functions
* http://meta.wikimedia.org/wiki/Extending_wiki_markup#Parser_functions
**************************************************/

 
// I haven't written this example yet.
 
/**
* Initalizes Parser Functions Example
*
*/

function ePrefixfParserFunctionsInit() {
 
}
 
function ePrefixfParserFunctions() {
 
}
 
/**************************************************
* New Special Page
* http://meta.wikimedia.org/wiki/Writing_a_new_special_page#Creating_a_simple_new_special_page
**************************************************/

 
//*** Special Page User Rights ***
// See this page for a list of user rights:
// http://meta.wikimedia.org/wiki/Help:User_rights
//
// MediaWiki v1.8.2 user rights
// read edit createpage
// createtalk move delete
// undelete protect block
// userrights createaccount upload
// rollback patrol editinterface
// siteadmin bot
 
$ePrefixgSpecialPageIName = 'ExampleSpecialPage'; // Special Page Name for URLs and Links
$ePrefixgSpecialPageName = 'Example Special Page'; // Special Page Name for display as the page title.
$ePrefixgSpecialPageRights = ''; // User rights required to access this special page. Empty means everyone can access.
$ePrefixgSpecialPageFunction = 'ePrefixfSpecialPage'; // The function to call to output this special page.
$ePrefixgSpecialPageNameLang = 'en'; // Language the page title is in
 
function ePrefixfSpecialPageInit() {
global $IP, $wgMessageCache;
global $ePrefixgSpecialPageIName, $ePrefixgSpecialPageName, $ePrefixgSpecialPageRights,
$ePrefixgSpecialPageFunction, $ePrefixgSpecialPageNameLang;
 
// Ensure Special Page is included.
require_once($IP . '/includes/SpecialPage.php');
 
// Create the new spacial page.
SpecialPage::addPage(new SpecialPage(
$ePrefixgSpecialPageIName, // Special Page Name for URLs and Links
$ePrefixgSpecialPageRights, // Special Page Name for display as the page title.
true, // Whether the page is listed in Special:Specialpages
$ePrefixgSpecialPageFunction, // Function called by execute(). By default it is constructed from $name
false // File which is included by execute(). It is also constructed from $name by default
));
 
// Adds the page title to the message cache
$wgMessageCache->addMessage(
strtolower($ePrefixgSpecialPageIName), // Special Page Name for URLs and Links (Must be lower case)
$ePrefixgSpecialPageName, // Special Page Name displayed in Special:Specialpages
$ePrefixgSpecialPageNameLang // Language the page title is in
);
}
 
function ePrefixfSpecialPage() {
global $wgOut;
global $ePrefixgSpecialPageName;
 
// Set the page title displayed
$wgOut->setPageTitle($ePrefixgSpecialPageName);
 
// Convert wikitext to HTML and add it to the buffer. Default
// assumes that the current page title will be used.
// function addWikiText( $text, $linestart = true )
$out = 'This is a new special page example.';
$out .= "\n";
 
$out .= '__NOTOC__
 
= Special Page Variables =
<pre>
$ePrefixgSpecialPageIName = \'ExampleSpecialPage\'; // Special Page Name for URLs and Links
$ePrefixgSpecialPageName = \'Example Special Page\'; // Special Page Name for display as the page title.
$ePrefixgSpecialPageRights = \'\'; // User rights required to access this special page. Empty means everyone can access.
$ePrefixgSpecialPageFunction = \'ePrefixfSpecialPage\'; // The function to call to output this special page.
$ePrefixgSpecialPageNameLang = \'en\'; // Language the page title is in
</pre>
 
= Special Page Init function =
<pre>
function ePrefixfSpecialPageInit() {
global $IP, $wgMessageCache;
global $ePrefixgSpecialPageIName, $ePrefixgSpecialPageName, $ePrefixgSpecialPageRights,
$ePrefixgSpecialPageFunction, $ePrefixgSpecialPageNameLang;
 
// Ensure Special Page is included.
require_once($IP . \'/includes/SpecialPage.php\');
 
// Create the new spacial page.
SpecialPage::addPage(new SpecialPage(
$ePrefixgSpecialPageIName, // Special Page Name for URLs and Links
$ePrefixgSpecialPageRights, // Special Page Name for display as the page title.
true, // Whether the page is listed in Special:Specialpages
$ePrefixgSpecialPageFunction, // Function called by execute(). By default it is constructed from $name
false // File which is included by execute(). It is also constructed from $name by default
));
 
// Adds the page title to the message cache
$wgMessageCache->addMessage(
strtolower($ePrefixgSpecialPageIName), // Special Page Name for URLs and Links (Must be lower case)
$ePrefixgSpecialPageName, // Special Page Name displayed in Special:Specialpages
$ePrefixgSpecialPageNameLang // Language the page title is in
);
}
</pre>
 
= Special Page function =
<pre>
function ePrefixfSpecialPage() {
global $wgOut;
global $ePrefixgSpecialPageName;
 
// Set the page title displayed
$wgOut->setPageTitle($ePrefixgSpecialPageName);
 
// Convert wikitext to HTML and add it to the buffer. Default
// assumes that the current page title will be used.
// function addWikiText( $text, $linestart = true )
$out = \'This is a new special page example.\';
 
...
}
</pre>'
;
 
// Output the constructed text as wiki text.
$wgOut->addWikiText($out);
 
}
 
 
 
/* *** Hook List (MediaWiki v1.8.2) ***
includes\Hooks.php(31): function wfRunHooks($event, $args = null) {
 
includes\Article.php(266); __( 'ArticlePageDataBefore', __( &$this , &$fields ) ;
includes\Article.php(271); __( 'ArticlePageDataAfter', __( &$this , &$row ) ;
includes\Article.php(392); __( 'ArticleAfterFetchContent', __( &$this, &$this->mContent ) ;
includes\Article.php(695); __( 'ArticleViewRedirect', __( &$this )
includes\Article.php(718); __( 'ArticleViewHeader', __( &$this )
includes\Article.php(769); __( 'ArticleViewHeader', __( &$this ) ;
includes\Article.php(915); __( 'ArticlePurge', __( &$this )
includes\Article.php(1205); __( 'ArticleSave', __( &$this, &$wgUser, &$text,
includes\Article.php(1349); __( 'ArticleInsertComplete', __( &$this, &$wgUser, $text,
includes\Article.php(1358); __( 'ArticleSaveComplete',
includes\Article.php(1412); __( 'MarkPatrolled', __( &$rcid, &$wgUser, false )
includes\Article.php(1414); __( 'MarkPatrolledComplete', __( &$rcid, &$wgUser, false )
includes\Article.php(1465); __( 'WatchArticle', array(&$wgUser, &$this ) {
includes\Article.php(1468); __( 'WatchArticleComplete', array(&$wgUser, &$this )
includes\Article.php(1512); __( 'UnwatchArticle', array(&$wgUser, &$this ) {
includes\Article.php(1515); __( 'UnwatchArticleComplete', array(&$wgUser, &$this )
includes\Article.php(1565); __( 'ArticleProtect', __( &$this, &$wgUser, $limit, $reason )
includes\Article.php(1588); __( 'ArticleProtectComplete', __( &$this, &$wgUser, $limit, $reason )
includes\Article.php(1837); __( 'ArticleDelete', array(&$this, &$wgUser, &$reason) {
includes\Article.php(1849); __( 'ArticleDeleteComplete', array(&$this, &$wgUser, $reason);
includes\Article.php(2113); __( 'ArticleEditUpdatesDeleteFromRecentchanges', __( &$this )
includes\Article.php(2145); __( 'ArticleEditUpdateNewTalk', array(&$this ) )
includes\Article.php(2193); __( 'DisplayOldSubtitle', array(&$this, &$oldid) )
includes\CategoryPage.php(17); __( 'CategoryPageView', array(&$this ) return;
includes\ChangesList.php(52); __( 'FetchChangesList', __( &$user, &$skin, &$list )
includes\DifferenceEngine.php(112); __( 'DiffViewHeader', __( $this, $this->mOldRev, $this->mNewRev )
includes\EditPage.php(235); __( 'AlternateEdit', __( &$this )
includes\EditPage.php(376); __( 'EditFormPreloadText', __( &$this->textbox1, &$this->mTitle )
includes\EditPage.php(569); __( 'EditFilter', __( $this, $this->textbox1, $this->section, &$this->hookError )
includes\EditPage.php(826); __( 'EditPage::showEditForm:initial', __( &$this ) ;
includes\GlobalFunctions.php(1446); __( 'SiteNoticeBefore', __( &$siteNotice )
includes\GlobalFunctions.php(1461); __( 'SiteNoticeAfter', __( &$siteNotice )
includes\ImageFunctions.php(193); __( 'BadImage', __( $name, &$bad )
includes\MagicWord.php(141); __( 'MagicWordMagicWords', __( &$magicWords )
includes\MagicWord.php(147); __( 'MagicWordwgVariableIDs', __( &self::$mVariableIDs )
includes\Math.php(121); $res=__('MathAfterTexvc', __( &$this, &$errmsg )
includes\MessageCache.php(526); __( 'MessagesPreLoad',array($title,&$message);
includes\MessageCache.php(633); __( 'LoadAllMessages' )
includes\OutputPage.php(319); __( 'OutputPageParserOutput', __( &$this, $parserOutput )
includes\OutputPage.php(325); __( 'OutputPageBeforeHTML',__( &$this, &$text )
includes\Parser.php(231); __( 'ParserClearState', __( &$this )
includes\Parser.php(294); __( 'ParserBeforeStrip', __( &$this, &$text, &$x )
includes\Parser.php(296); __( 'ParserAfterStrip', __( &$this, &$text, &$x )
includes\Parser.php(325); __( 'ParserBeforeTidy', __( &$this, &$text )
includes\Parser.php(359); __( 'ParserAfterTidy', __( &$this, &$text )
includes\Parser.php(385); __( 'ParserBeforeStrip', __( &$this, &$text, &$x )
includes\Parser.php(387); __( 'ParserAfterStrip', __( &$this, &$text, &$x )
includes\Parser.php(404); __( 'ParserBeforeStrip', __( &$this, &$text, &$x )
includes\Parser.php(406); __( 'ParserAfterStrip', __( &$this, &$text, &$x )
includes\Parser.php(938); __( 'ParserBeforeInternalParse', __( &$this, &$text, &$x )
includes\Parser.php(2329); __( 'ParserGetVariableValueVarCache', __( &$this, &$varCache )
includes\Parser.php(2334); __( 'ParserGetVariableValueTs', __( &$this, &$ts )
includes\Parser.php(2499); __( 'ParserGetVariableValueSwitch', __( &$this, &$varCache, &$index, &$ret )
includes\QueryPage.php(41); __( 'wgQueryPages', __( &$wgQueryPages )
includes\RecentChange.php(191); __( 'RecentChange_save', __( &$this )
includes\Setup.php(194); __( 'LogPageValidTypes', __( &$wgLogTypes )
includes\Setup.php(195); __( 'LogPageLogName', __( &$wgLogNames )
includes\Setup.php(196); __( 'LogPageLogHeader', __( &$wgLogHeaders )
includes\Setup.php(197); __( 'LogPageActionText', __( &$wgLogActions )
includes\SkinTemplate.php(148); __( 'BeforePageDisplay', __( &$out )
includes\SkinTemplate.php(549); __( 'PersonalUrls', __( &$personal_urls, &$wgTitle )
includes\SkinTemplate.php(620); __( 'SkinTemplatePreventOtherActiveTabs', __( &$this , &$prevent_active_tabs ) ;
includes\SkinTemplate.php(738); __( 'SkinTemplateTabs', __( &$this , &$content_actions ) ;
includes\SkinTemplate.php(748); __( 'SkinTemplateBuildContentActionUrlsAfterSpecialPage', __( &$this, &$content_actions )
includes\SkinTemplate.php(774); __( 'SkinTemplateContentActions', __( &$content_actions )
includes\SkinTemplate.php(841); __( 'SkinTemplateBuildNavUrlsNav_urlsAfterPermalink', __( &$this, &$nav_urls, &$oldid, &$revid )
includes\SkinTemplate.php(984); __( 'SkinTemplateSetupPageCss', __( &$out )
includes\SpecialBlockip.php(247); __( 'BlockIp', array(&$block, &$wgUser) {
includes\SpecialBlockip.php(255); __( 'BlockIpComplete', array($block, $wgUser);
includes\SpecialContributions.php(239); __( 'SpecialContributionsBeforeMainOutput', $id )
includes\SpecialEmailuser.php(136); __( 'EmailUser', __( &$to, &$from, &$subject, &$this->text )
includes\SpecialEmailuser.php(146); __( 'EmailUserComplete', __( $to, $from, $subject, $this->text )
includes\SpecialMovepage.php(219); __( 'SpecialMovepageAfterMove', __( &$this , &$ot , &$nt ) ;
includes\SpecialMovepage.php(231); __( 'SpecialMovepageAfterMove', __( &$this , &$ott , &$ntt ) ;
includes\SpecialPage.php(171); __( 'SpecialPage_initList', __( &self::$mList )
includes\SpecialPage.php(249); __( 'SpecialPageGetRedirect', __( &$redirects )
includes\SpecialPage.php(518); __( 'SpecialPageExecuteBeforeHeader', __( &$this, &$par, &$func )
includes\SpecialPage.php(520); __( 'SpecialPageExecuteBeforePage', __( &$this, &$par, &$func )
includes\SpecialPage.php(523); __( 'SpecialPageExecuteAfterPage', __( &$this, &$par, &$func )
includes\SpecialSearch.php(105); __( 'SpecialSearchNogomatch', __( &$t )
includes\SpecialUpload.php(354); __( 'UploadVerification', __( $this->mUploadSaveName, $this->mUploadTempName, &$error )
includes\SpecialUpload.php(438); __( 'UploadComplete', __( &$img )
includes\SpecialUserlogin.php(128); __( 'AddNewAccount', __( $u )
includes\SpecialUserlogin.php(171); __( 'AddNewAccount', __( $wgUser )
includes\SpecialUserlogin.php(187); __( 'AddNewAccount', __( $u )
includes\SpecialUserlogin.php(273); __( 'AbortNewAccount', __( $u, &$abortError )
includes\SpecialUserlogin.php(481); __( 'UserLoginComplete', array(&$wgUser);
includes\SpecialUserlogin.php(613); __( 'UserCreateForm', __( &$template )
includes\SpecialUserlogin.php(615); __( 'UserLoginForm', __( &$template )
includes\SpecialUserlogout.php(14); __( 'UserLogout', array(&$wgUser) {
includes\SpecialUserlogout.php(18); __( 'UserLogoutComplete', array(&$wgUser);
includes\SpecialUserrights.php(111); __( 'UserRights', __( &$u, $addgroup, $removegroup )
includes\SpecialVersion.php(98); __( 'SpecialVersionExtensionTypes', __( &$this, &$extensionTypes )
includes\SpecialWatchlist.php(95); __( 'UnwatchArticle', array(&$wgUser, new Article($t);
includes\StubObject.php(124); __( 'AutoAuthenticate', array($user);
includes\Title.php(810); __( 'GetFullURL', __( &$this, &$url, $query )
includes\Title.php(866); __( 'GetLocalURL', __( &$this, &$url, $query )
includes\Title.php(905); __( 'GetInternalURL', __( &$this, &$url, $query )
includes\Title.php(1019); __( 'userCan', __( &$this, &$wgUser, $action, &$result )
includes\Title.php(1131); __( 'userCan', __( &$this, &$wgUser, 'read', &$result )
includes\Title.php(1845); __( 'TitleMoveComplete', __( &$this, &$nt, &$wgUser, $pageid, $redirid )
includes\User.php(503); __( 'UserToggles', __( &$extraToggles )
includes\User.php(564); __( 'GetBlockedStatus', __( &$this )
includes\User.php(941); __( 'UserRetrieveNewTalks', array(&$this, &$talks)
includes\User.php(1422); __( 'UserClearNewTalkNotification', array(&$this )
includes\User.php(1730); __( 'PageRenderingHash', __( &$confstr )
includes\User.php(2017); __( 'EmailConfirmed', __( &$this, &$confirmed )
includes\Wiki.php(174); __( 'ArticleFromTitle', __( &$title, &$article )
includes\Wiki.php(410); __( 'UnknownAction', __( $action, $article )
languages\Language.php(1064); __( 'LanguageGetMagic', __( &$this->mMagicExtensions, $this->getCode() )
maintenance\parserTests.inc(261); __( 'ParserTestParser', __( &$parser )
skins\MonoBook.php(222); __( 'MonoBookTemplateToolboxEnd', __( &$this )
skins\disabled\MonoBookCBT.php(252); __( 'SkinTemplateSetupPageCss', __( &$out )
skins\disabled\MonoBookCBT.php(548); __( 'SkinTemplatePreventOtherActiveTabs', __( &$this , &$preventActiveTabs )
 
************************************************
 
includes\Article.php 266 'ArticlePageDataBefore' &$this , &$fields
includes\Article.php 271 'ArticlePageDataAfter' &$this , &$row
includes\Article.php 392 'ArticleAfterFetchContent' &$this, &$this->mContent
includes\Article.php 695 'ArticleViewRedirect' &$this
includes\Article.php 718 'ArticleViewHeader' &$this
includes\Article.php 769 'ArticleViewHeader' &$this
includes\Article.php 915 'ArticlePurge' &$this
includes\Article.php 1205 'ArticleSave' &$this, &$wgUser, &$text,
includes\Article.php 1349 'ArticleInsertComplete' &$this, &$wgUser, $text,
includes\Article.php 1358 'ArticleSaveComplete'
includes\Article.php 1412 'MarkPatrolled' &$rcid, &$wgUser, false
includes\Article.php 1414 'MarkPatrolledComplete' &$rcid, &$wgUser, false
includes\Article.php 1465 'WatchArticle' &$wgUser, &$this
includes\Article.php 1468 'WatchArticleComplete' &$wgUser, &$this
includes\Article.php 1512 'UnwatchArticle' &$wgUser, &$this
includes\Article.php 1515 'UnwatchArticleComplete' &$wgUser, &$this
includes\Article.php 1565 'ArticleProtect' &$this, &$wgUser, $limit, $reason
includes\Article.php 1588 'ArticleProtectComplete' &$this, &$wgUser, $limit, $reason
includes\Article.php 1837 'ArticleDelete' &$this, &$wgUser, &$reason
includes\Article.php 1849 'ArticleDeleteComplete' &$this, &$wgUser, $reason
includes\Article.php 2113 'ArticleEditUpdatesDeleteFromRecentchanges' &$this
includes\Article.php 2145 'ArticleEditUpdateNewTalk' &$this
includes\Article.php 2193 'DisplayOldSubtitle' &$this, &$oldid
includes\CategoryPage.php 17 'CategoryPageView' &$this
includes\ChangesList.php 52 'FetchChangesList' &$user, &$skin, &$list
includes\DifferenceEngine.php 112 'DiffViewHeader' $this, $this->mOldRev, $this->mNewRev
includes\EditPage.php 235 'AlternateEdit' &$this
includes\EditPage.php 376 'EditFormPreloadText' &$this->textbox1, &$this->mTitle
includes\EditPage.php 569 'EditFilter' $this, $this->textbox1, $this->section, &$this->hookError
includes\EditPage.php 826 'EditPage::showEditForm:initial' &$this
includes\GlobalFunctions.php 1446 'SiteNoticeBefore' &$siteNotice
includes\GlobalFunctions.php 1461 'SiteNoticeAfter' &$siteNotice
includes\ImageFunctions.php 193 'BadImage' $name, &$bad
includes\MagicWord.php 141 'MagicWordMagicWords' &$magicWords
includes\MagicWord.php 147 'MagicWordwgVariableIDs' &self::$mVariableIDs
includes\Math.php 121 'MathAfterTexvc' &$this, &$errmsg
includes\MessageCache.php 526 'MessagesPreLoad' $title,&$message
includes\MessageCache.php 633 'LoadAllMessages'
includes\OutputPage.php 319 'OutputPageParserOutput' &$this, $parserOutput
includes\OutputPage.php 325 'OutputPageBeforeHTML' &$this, &$text
includes\Parser.php 231 'ParserClearState' &$this
includes\Parser.php 294 'ParserBeforeStrip' &$this, &$text, &$x
includes\Parser.php 296 'ParserAfterStrip' &$this, &$text, &$x
includes\Parser.php 325 'ParserBeforeTidy' &$this, &$text
includes\Parser.php 359 'ParserAfterTidy' &$this, &$text
includes\Parser.php 385 'ParserBeforeStrip' &$this, &$text, &$x
includes\Parser.php 387 'ParserAfterStrip' &$this, &$text, &$x
includes\Parser.php 404 'ParserBeforeStrip' &$this, &$text, &$x
includes\Parser.php 406 'ParserAfterStrip' &$this, &$text, &$x
includes\Parser.php 938 'ParserBeforeInternalParse' &$this, &$text, &$x
includes\Parser.php 2329 'ParserGetVariableValueVarCache' &$this, &$varCache
includes\Parser.php 2334 'ParserGetVariableValueTs' &$this, &$ts
includes\Parser.php 2499 'ParserGetVariableValueSwitch' &$this, &$varCache, &$index, &$ret
includes\QueryPage.php 41 'wgQueryPages' &$wgQueryPages
includes\RecentChange.php 191 'RecentChange_save' &$this
includes\Setup.php 194 'LogPageValidTypes' &$wgLogTypes
includes\Setup.php 195 'LogPageLogName' &$wgLogNames
includes\Setup.php 196 'LogPageLogHeader' &$wgLogHeaders
includes\Setup.php 197 'LogPageActionText' &$wgLogActions
includes\SkinTemplate.php 148 'BeforePageDisplay' &$out
includes\SkinTemplate.php 549 'PersonalUrls' &$personal_urls, &$wgTitle
includes\SkinTemplate.php 620 'SkinTemplatePreventOtherActiveTabs' &$this , &$prevent_active_tabs
includes\SkinTemplate.php 738 'SkinTemplateTabs' &$this , &$content_actions
includes\SkinTemplate.php 748 'SkinTemplateBuildContentActionUrlsAfterSpecialPage' &$this, &$content_actions
includes\SkinTemplate.php 774 'SkinTemplateContentActions' &$content_actions
includes\SkinTemplate.php 841 'SkinTemplateBuildNavUrlsNav_urlsAfterPermalink' &$this, &$nav_urls, &$oldid, &$revid
includes\SkinTemplate.php 984 'SkinTemplateSetupPageCss' &$out
includes\SpecialBlockip.php 247 'BlockIp' &$block, &$wgUser
includes\SpecialBlockip.php 255 'BlockIpComplete' $block, $wgUser
includes\SpecialContributions.php 239 'SpecialContributionsBeforeMainOutput' $id
includes\SpecialEmailuser.php 136 'EmailUser' &$to, &$from, &$subject, &$this->text
includes\SpecialEmailuser.php 146 'EmailUserComplete' $to, $from, $subject, $this->text
includes\SpecialMovepage.php 219 'SpecialMovepageAfterMove' &$this , &$ot , &$nt
includes\SpecialMovepage.php 231 'SpecialMovepageAfterMove' &$this , &$ott , &$ntt
includes\SpecialPage.php 171 'SpecialPage_initList' &self::$mList
includes\SpecialPage.php 249 'SpecialPageGetRedirect' &$redirects
includes\SpecialPage.php 518 'SpecialPageExecuteBeforeHeader' &$this, &$par, &$func
includes\SpecialPage.php 520 'SpecialPageExecuteBeforePage' &$this, &$par, &$func
includes\SpecialPage.php 523 'SpecialPageExecuteAfterPage' &$this, &$par, &$func
includes\SpecialSearch.php 105 'SpecialSearchNogomatch' &$t
includes\SpecialUpload.php 354 'UploadVerification' $this->mUploadSaveName, $this->mUploadTempName, &$error
includes\SpecialUpload.php 438 'UploadComplete' &$img
includes\SpecialUserlogin.php 128 'AddNewAccount' $u
includes\SpecialUserlogin.php 171 'AddNewAccount' $wgUser
includes\SpecialUserlogin.php 187 'AddNewAccount' $u
includes\SpecialUserlogin.php 273 'AbortNewAccount' $u, &$abortError
includes\SpecialUserlogin.php 481 'UserLoginComplete' &$wgUser
includes\SpecialUserlogin.php 613 'UserCreateForm' &$template
includes\SpecialUserlogin.php 615 'UserLoginForm' &$template
includes\SpecialUserlogout.php 14 'UserLogout' &$wgUser
includes\SpecialUserlogout.php 18 'UserLogoutComplete' &$wgUser
includes\SpecialUserrights.php 111 'UserRights' &$u, $addgroup, $removegroup
includes\SpecialVersion.php 98 'SpecialVersionExtensionTypes' &$this, &$extensionTypes
includes\SpecialWatchlist.php 95 'UnwatchArticle' &$wgUser, new Article($t)
includes\StubObject.php 124 'AutoAuthenticate' $user
includes\Title.php 810 'GetFullURL' &$this, &$url, $query
includes\Title.php 866 'GetLocalURL' &$this, &$url, $query
includes\Title.php 905 'GetInternalURL' &$this, &$url, $query
includes\Title.php 1019 'userCan' &$this, &$wgUser, $action, &$result
includes\Title.php 1131 'userCan' &$this, &$wgUser, 'read' &$result
includes\Title.php 1845 'TitleMoveComplete' &$this, &$nt, &$wgUser, $pageid, $redirid
includes\User.php 503 'UserToggles' &$extraToggles
includes\User.php 564 'GetBlockedStatus' &$this
includes\User.php 941 'UserRetrieveNewTalks' &$this, &$talks
includes\User.php 1422 'UserClearNewTalkNotification' &$this
includes\User.php 1730 'PageRenderingHash' &$confstr
includes\User.php 2017 'EmailConfirmed' &$this, &$confirmed
includes\Wiki.php 174 'ArticleFromTitle' &$title, &$article
includes\Wiki.php 410 'UnknownAction' $action, $article
languages\Language.php 1064 'LanguageGetMagic' &$this->mMagicExtensions, $this->getCode()
maintenance\parserTests.inc 261 'ParserTestParser' &$parser
skins\MonoBook.php 222 'MonoBookTemplateToolboxEnd' &$this
skins\disabled\MonoBookCBT.php 252 'SkinTemplateSetupPageCss' &$out
skins\disabled\MonoBookCBT.php 548 'SkinTemplatePreventOtherActiveTabs' &$this, &$preventActiveTabs
 
*******************************************************
 
includes\Hooks.php 31 function wfRunHooks($event, $args = null)
 
includes\Article.php 266 ArticlePageDataBefore &$this, &$fields
includes\Article.php 271 ArticlePageDataAfter &$this, &$row
includes\Article.php 392 ArticleAfterFetchContent &$this, &$this->mContent
includes\Article.php 695 ArticleViewRedirect &$this
includes\Article.php 718 ArticleViewHeader &$this
includes\Article.php 769 ArticleViewHeader &$this
includes\Article.php 915 ArticlePurge &$this
includes\Article.php 1205 ArticleSave &$this, &$wgUser, &$text, &$summary, $flags & EDIT_MINOR, null, null, &$flags
includes\Article.php 1349 ArticleInsertComplete &$this, &$wgUser, $text, $summary, $flags & EDIT_MINOR, null, null, &$flags
includes\Article.php 1358 ArticleSaveComplete &$this, &$wgUser, $text, $summary, $flags & EDIT_MINOR, null, null, &$flags
includes\Article.php 1412 MarkPatrolled &$rcid, &$wgUser, false
includes\Article.php 1414 MarkPatrolledComplete &$rcid, &$wgUser, false
includes\Article.php 1465 WatchArticle &$wgUser, &$this
includes\Article.php 1468 WatchArticleComplete &$wgUser, &$this
includes\Article.php 1512 UnwatchArticle &$wgUser, &$this
includes\Article.php 1515 UnwatchArticleComplete &$wgUser, &$this
includes\Article.php 1565 ArticleProtect &$this, &$wgUser, $limit, $reason
includes\Article.php 1588 ArticleProtectComplete &$this, &$wgUser, $limit, $reason
includes\Article.php 1837 ArticleDelete &$this, &$wgUser, &$reason
includes\Article.php 1849 ArticleDeleteComplete &$this, &$wgUser, $reason
includes\Article.php 2113 ArticleEditUpdatesDeleteFromRecentchanges &$this
includes\Article.php 2145 ArticleEditUpdateNewTalk &$this
includes\Article.php 2193 DisplayOldSubtitle &$this, &$oldid
includes\CategoryPage.php 17 CategoryPageView &$thisreturn
includes\ChangesList.php 52 FetchChangesList &$user, &$skin, &$list
includes\DifferenceEngine.php 112 DiffViewHeader $this, $this->mOldRev, $this->mNewRev
includes\EditPage.php 235 AlternateEdit &$this
includes\EditPage.php 376 EditFormPreloadText &$this->textbox1, &$this->mTitle
includes\EditPage.php 569 EditFilter $this, $this->textbox1, $this->section, &$this->hookError
includes\EditPage.php 826 EditPage::showEditForm:initial &$this
includes\GlobalFunctions.php 1446 SiteNoticeBefore &$siteNotice
includes\GlobalFunctions.php 1461 SiteNoticeAfter &$siteNotice
includes\ImageFunctions.php 193 BadImage $name, &$bad
includes\MagicWord.php 141 MagicWordMagicWords &$magicWords
includes\MagicWord.php 147 MagicWordwgVariableIDs &self::$mVariableIDs
includes\Math.php 121 MathAfterTexvc &$this, &$errmsg
includes\MessageCache.php 526 MessagesPreLoad $title, &$message
includes\MessageCache.php 633 LoadAllMessages null
includes\OutputPage.php 319 OutputPageParserOutput &$this, $parserOutput
includes\OutputPage.php 325 OutputPageBeforeHTML &$this, &$text
includes\Parser.php 231 ParserClearState &$this
includes\Parser.php 294 ParserBeforeStrip &$this, &$text, &$x
includes\Parser.php 296 ParserAfterStrip &$this, &$text, &$x
includes\Parser.php 325 ParserBeforeTidy &$this, &$text
includes\Parser.php 359 ParserAfterTidy &$this, &$text
includes\Parser.php 385 ParserBeforeStrip &$this, &$text, &$x
includes\Parser.php 387 ParserAfterStrip &$this, &$text, &$x
includes\Parser.php 404 ParserBeforeStrip &$this, &$text, &$x
includes\Parser.php 406 ParserAfterStrip &$this, &$text, &$x
includes\Parser.php 938 ParserBeforeInternalParse &$this, &$text, &$x
includes\Parser.php 2329 ParserGetVariableValueVarCache &$this, &$varCache
includes\Parser.php 2334 ParserGetVariableValueTs &$this, &$ts
includes\Parser.php 2499 ParserGetVariableValueSwitch &$this, &$varCache, &$index, &$ret
includes\QueryPage.php 41 wgQueryPages &$wgQueryPages
includes\RecentChange.php 191 RecentChange_save &$this
includes\Setup.php 194 LogPageValidTypes &$wgLogTypes
includes\Setup.php 195 LogPageLogName &$wgLogNames
includes\Setup.php 196 LogPageLogHeader &$wgLogHeaders
includes\Setup.php 197 LogPageActionText &$wgLogActions
includes\SkinTemplate.php 148 BeforePageDisplay &$out
includes\SkinTemplate.php 549 PersonalUrls &$personal_urls, &$wgTitle
includes\SkinTemplate.php 620 SkinTemplatePreventOtherActiveTabs &$this, &$prevent_active_tabs
includes\SkinTemplate.php 738 SkinTemplateTabs &$this, &$content_actions
includes\SkinTemplate.php 748 SkinTemplateBuildContentActionUrlsAfterSpecialPage &$this, &$content_actions
includes\SkinTemplate.php 774 SkinTemplateContentActions &$content_actions
includes\SkinTemplate.php 841 SkinTemplateBuildNavUrlsNav_urlsAfterPermalink &$this, &$nav_urls, &$oldid, &$revid
includes\SkinTemplate.php 984 SkinTemplateSetupPageCss &$out
includes\SpecialBlockip.php 247 BlockIp &$block, &$wgUser
includes\SpecialBlockip.php 255 BlockIpComplete $block, $wgUser
includes\SpecialContributions.php 239 SpecialContributionsBeforeMainOutput $id
includes\SpecialEmailuser.php 136 EmailUser &$to, &$from, &$subject, &$this->text
includes\SpecialEmailuser.php 146 EmailUserComplete $to, $from, $subject, $this->text
includes\SpecialMovepage.php 219 SpecialMovepageAfterMove &$this, &$ot, &$nt
includes\SpecialMovepage.php 231 SpecialMovepageAfterMove &$this, &$ott, &$ntt
includes\SpecialPage.php 171 SpecialPage_initList &self::$mList
includes\SpecialPage.php 249 SpecialPageGetRedirect &$redirects
includes\SpecialPage.php 518 SpecialPageExecuteBeforeHeader &$this, &$par, &$func
includes\SpecialPage.php 520 SpecialPageExecuteBeforePage &$this, &$par, &$func
includes\SpecialPage.php 523 SpecialPageExecuteAfterPage &$this, &$par, &$func
includes\SpecialSearch.php 105 SpecialSearchNogomatch &$t
includes\SpecialUpload.php 354 UploadVerification $this->mUploadSaveName, $this->mUploadTempName, &$error
includes\SpecialUpload.php 438 UploadComplete &$img
includes\SpecialUserlogin.php 128 AddNewAccount $u
includes\SpecialUserlogin.php 171 AddNewAccount $wgUser
includes\SpecialUserlogin.php 187 AddNewAccount $u
includes\SpecialUserlogin.php 273 AbortNewAccount $u, &$abortError
includes\SpecialUserlogin.php 481 UserLoginComplete &$wgUser
includes\SpecialUserlogin.php 613 UserCreateForm &$template
includes\SpecialUserlogin.php 615 UserLoginForm &$template
includes\SpecialUserlogout.php 14 UserLogout &$wgUser
includes\SpecialUserlogout.php 18 UserLogoutComplete &$wgUser
includes\SpecialUserrights.php 111 UserRights &$u, $addgroup, $removegroup
includes\SpecialVersion.php 98 SpecialVersionExtensionTypes &$this, &$extensionTypes
includes\SpecialWatchlist.php 95 UnwatchArticle &$wgUser, newArticle($t
includes\StubObject.php 124 AutoAuthenticate $user
includes\Title.php 810 GetFullURL &$this, &$url, $query
includes\Title.php 866 GetLocalURL &$this, &$url, $query
includes\Title.php 905 GetInternalURL &$this, &$url, $query
includes\Title.php 1019 userCan &$this, &$wgUser, $action, &$result
includes\Title.php 1131 userCan &$this, &$wgUser, 'read', &$result
includes\Title.php 1845 TitleMoveComplete &$this, &$nt, &$wgUser, $pageid, $redirid
includes\User.php 503 UserToggles &$extraToggles
includes\User.php 564 GetBlockedStatus &$this
includes\User.php 941 UserRetrieveNewTalks &$this, &$talks
includes\User.php 1422 UserClearNewTalkNotification &$this
includes\User.php 1730 PageRenderingHash &$confstr
includes\User.php 2017 EmailConfirmed &$this, &$confirmed
includes\Wiki.php 174 ArticleFromTitle &$title, &$article
includes\Wiki.php 410 UnknownAction $action, $article
languages\Language.php 1064 LanguageGetMagic &$this->mMagicExtensions, $this->getCode()
maintenance\parserTests.inc 261 ParserTestParser &$parser
skins\MonoBook.php 222 MonoBookTemplateToolboxEnd &$this
skins\disabled\MonoBookCBT.php 252 SkinTemplateSetupPageCss &$out
skins\disabled\MonoBookCBT.php 548 SkinTemplatePreventOtherActiveTabs &$this, &$preventActiveTabs
 
 
*/

 
?>