includes/Hooks.php File Reference

Hooks.php -- a tool for running hook functions Copyright 2004, 2005 Evan Prodromou <evan@wikitravel.org>. More...

Go to the source code of this file.

Functions

 wfRunHooks ($event, $args=array())
 Because programmers assign to $wgHooks, we need to be very careful about its contents.


Detailed Description

Hooks.php -- a tool for running hook functions Copyright 2004, 2005 Evan Prodromou <evan@wikitravel.org>.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

Author:
Evan Prodromou <evan@wikitravel.org>
See also:
hooks.txt

Definition in file Hooks.php.


Function Documentation

wfRunHooks ( event,
args = array() 
)

Because programmers assign to $wgHooks, we need to be very careful about its contents.

So, there's a lot more error-checking in here than would normally be necessary.

Definition at line 31 of file Hooks.php.

References $args, $method, $wgHooks, $wgOut, like(), wfProfileIn(), and wfProfileOut().

Referenced by PreferencesForm::__construct(), DifferenceEngine::__construct(), OutputPage::addCategoryLinks(), LoginForm::addNewAccount(), LoginForm::addNewAccountInternal(), LoginForm::addNewAccountMailPassword(), OutputPage::addParserOutput(), OutputPage::addParserOutputNoText(), afterContentHook(), MediaWiki::articleFromTitle(), SpecialResetpass::attemptReset(), LoginForm::authenticateUserData(), bottomScripts(), SkinTemplate::buildContentActionUrls(), SkinTemplate::buildNavUrls(), SkinTemplate::buildPersonalUrls(), buildSidebar(), User::canSendEmail(), UserrightsPage::changeableGroups(), Autopromote::checkCondition(), OutputPage::checkLastModified(), User::clearNotification(), Parser::clearState(), Article::commitRollback(), User::comparePasswords(), SpecialContributions::contributionsSub(), User::crypt(), ApiDelete::delete(), do_all_updates(), Block::doAutoblock(), FileDeleteForm::doDelete(), Article::doDelete(), Article::doEdit(), Linker::doEditSectionLink(), SpecialRecentChanges::doMainQuery(), RecentChange::doMarkPatrolled(), MovePageForm::doSubmit(), EmailUserForm::doSubmit(), Article::doUnwatch(), SearchUpdate::doUpdate(), LinksUpdate::doUpdate(), HTMLCacheUpdate::doUpdate(), LinkHolderArray::doVariants(), Article::doWatch(), WikiExporter::dumpFrom(), EditPage::edit(), Article::editUpdates(), SpecialContributions::execute(), ApiUndelete::execute(), ApiQuery::execute(), ApiLogout::execute(), ApiLogin::execute(), ApiEditPage::execute(), ApiMain::executeAction(), ApiQuery::executeGeneratorModule(), SpecialVersion::extensionCredits(), extensionTabLinks(), Article::fetchContent(), Parser_LinkHooks::firstCallInit(), Parser::firstCallInit(), UsersPager::formatRow(), ContribsPager::formatRow(), User::getAllRights(), Autopromote::getAutopromoteGroups(), User::getBlockedStatus(), OutputPage::getCacheVaryCookies(), EditPage::getCheckboxes(), UsersPager::getDefaultQuery(), DifferenceEngine::getDiffBody(), EditPage::getEditButtons(), User::getEffectiveGroups(), User::getEmail(), User::getEmailAuthenticationTimestamp(), SpecialRecentChanges::getExtraOptions(), ApiBase::getFinalParamDescription(), ApiBase::getFinalParams(), Title::getFullURL(), LocalFile::getHistory(), User::getImplicitGroups(), Title::getInternalURL(), Title::getLocalURL(), Language::getMagic(), MessageCache::getMsgFromNamespace(), SearchEngine::getNearMatch(), User::getNewMessageLinks(), UsersPager::getPageHeader(), User::getPageRenderingHash(), ParserTest::getParser(), UsersPager::getQueryInfo(), ContribsPager::getQueryInfo(), PageHistoryPager::getQueryInfo(), User::getRights(), Language::getSpecialPageAliases(), WantedPagesPage::getSQL(), DeletedContributionsPage::getSubTitle(), User::getToggles(), ApiQueryRevisions::getTokenFunctions(), ApiQueryRecentChanges::getTokenFunctions(), ApiQueryInfo::getTokenFunctions(), Title::getUserPermissionsErrorsInternal(), MagicWord::getVariableIDs(), Parser::getVariableValue(), SpecialSearchOld::goResult(), SpecialSearch::goResult(), PageHistory::history(), PageHistory::historyLine(), ImageHistoryList::imageHistoryLine(), MediaWiki::initializeArticle(), SpecialPage::initList(), ChangesList::insertArticleLink(), Revision::insertOn(), EditPage::internalAttemptSave(), Parser::internalParse(), UploadForm::internalProcessUpload(), User::isBlockedGlobally(), User::isEmailConfirmed(), Article::isFileCacheable(), User::isUsableName(), User::isValidEmailAddr(), Title::isValidMoveOperation(), User::isValidPassword(), Linker::link(), LinksUpdate::LinksUpdate(), ChangeTags::listDefinedTags(), ParserTest::listTables(), User::load(), MessageCache::loadAllMessages(), User::loadDefaults(), ImagePage::loadFile(), User::loadFromDatabase(), User::loadFromSession(), LogEventsList::logLine(), User::logout(), LoginForm::mailPasswordInternal(), LoginForm::mainLoginForm(), PreferencesForm::mainPrefsForm(), UploadForm::mainUploadForm(), Linker::makeExternalImage(), Linker::makeExternalLink(), Parser::makeImage(), Linker::makeImageLink2(), MergehistoryForm::merge(), Title::moveOverExistingRedirect(), Title::moveTo(), Title::moveToNewTitle(), UserArray::newFromResult(), TitleArray::newFromResult(), ChangesList::newFromUser(), ImagePage::openShowImage(), OutputPage::output(), SkinTemplate::outputPage(), SkinMonoBookCBT::pagecss(), Article::pageData(), Parser::parse(), MediaWiki::performAction(), User::pingLimiter(), Article::purge(), Article::quickEdit(), OldChangesList::recentChangesLine(), LocalFile::recordUpload2(), MathRenderer::render(), DifferenceEngine::renderHtmlDiff(), Parser::renderImageGallery(), DifferenceEngine::renderNewRevision(), LinkHolderArray::replaceInternal(), Parser::replaceInternalLinks2(), ImportReporter::reportPage(), PreferencesForm::resetPrefs(), RecentChange::save(), PreferencesForm::savePreferences(), User::saveSettings(), UserrightsPage::saveUserGroups(), PrefixSearch::searchBackend(), SkinMonoBookCBT::selecttab(), User::setCookies(), User::setEmail(), User::setEmailAuthenticationTimestamp(), Article::setOldSubtitle(), SkinTemplate::setupPageCss(), DifferenceEngine::showDiffPage(), EditPage::showEditForm(), SpecialBookSources::showList(), EditPage::showPreview(), SpecialSearchOld::showResults(), SpecialSearch::showResults(), UndeleteForm::showRevision(), Parser::statelessFetchTemplate(), subPageSubtitle(), LoginForm::successfulCreation(), LoginForm::successfulLogin(), SkinTemplate::tabAction(), ImageGallery::toHTML(), MonoBookTemplate::toolbox(), ModernTemplate::toolbox(), UndeleteForm::undelete(), PageArchive::undeleteRevisions(), WatchlistEditor::unwatchTitles(), Article::updateArticle(), RevisionDeleter::updatePage(), Article::updateRestrictions(), Title::userCanRead(), RawPage::view(), CategoryPage::view(), Article::view(), wfGetSiteNotice(), wfIsBadImage(), wfIsTrustedProxy(), wfMsgGetKey(), wfSpecialUserlogout(), and wfSpecialWatchlist().


Generated on Sat Sep 5 02:08:07 2009 for MediaWiki by  doxygen 1.5.9