MediaWiki REL1_31
docs/design.txt File Reference

Functions

this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when and is meant to be subclassed with other skins that may override some of its functions The User object contains a reference to a and so rather than having a global skin object we just rely on the global User and get the skin with $wgUser getSkin (). See also skin.txt. Language Represents the language used for incidental text
 
this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when needed (most notably, OutputPage::addWikiText()). The StandardSkin object is a complete implementation
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling output () to send it all. It could be easily changed to send incrementally if that becomes useful
 
this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when and is meant to be subclassed with other skins that may override some of its functions The User object contains a reference to a skin (according to that user 's preference)
 
I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without by all means do so (and don 't be surprised if I reformat your code). - I have the code indented with tabs to save file size and so that users can set their tab stops to any depth they like. I use 4-space tab stops
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For and for historical it also represents a few features of articles that don t involve their such as access rights See also title txt Article Encapsulates access to the page table of the database The object represents a an and maintains state such as text (in Wikitext format)
 

Variables

this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when and is meant to be subclassed with other skins that may override some of its functions The User object contains a reference to a and so rather than having a global skin object we just rely on the global User and get the skin with $wgUser and also has some character encoding functions and other locale stuff The current user interface language is instantiated as and the local content language as $wgContLang
 
this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when and is meant to be subclassed with other skins that may override some of its functions The User object contains a reference to a and so rather than having a global skin object we just rely on the global User and get the skin with $wgUser and also has some character encoding functions and other locale stuff The current user interface language is instantiated as $wgLang
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an article
 
I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without bothering
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For convenience
 
be sure to use the *correct *language object depending upon the circumstances See also language txt Parser Class used to transform wikitext to html LinkCache Keeps information on existence of articles See linkcache txt Naming coding conventions
 
it sets a lot of them automatically from cookies
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the database
 
when a variable name is used in a it is silently declared as a new local masking the so you ll get weird error because you forgot the global declaration
 
be sure to use the *correct *language object depending upon the circumstances See also language txt Parser Class used to transform wikitext to html LinkCache Keeps information on existence of articles See linkcache txt Naming coding not dictatorial
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For and for historical it also represents a few features of articles that don t involve their such as access rights See also title txt Article Encapsulates access to the page table of the database The object represents a an and maintains state such as etc Revision Encapsulates individual page revision data and access to the revision text blobs storage system Higher level code should never touch text storage directly
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add etc
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For and for historical it also represents a few features of articles that don t involve their such as access rights See also title txt Article Encapsulates access to the page table of the database The object represents a an and maintains state such as flags
 
when a variable name is used in a function = array( 'ircNotify', 'brion' )
 
when a variable name is used in a it is silently declared as a new local masking the global
 
I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these guidelines
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add headers
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at https
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database key
 
I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without by all means do which work well I also use K &R brace matching style I know that s a religious issue for so if you want to use a style that puts opening braces on the next line
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at name
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any order
 
I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without by all means do which work well I also use K &R brace matching style I know that s a religious issue for so if you want to use a style that puts opening braces on the next that s OK but please don t use a style where closing braces don t align with either the opening brace on its own line or the statement that opened the block that s confusing as hell Certain functions and class members are marked with rather than being marked as such This is a hold over from PHP which didn t support proper visibilities You should not access things marked in this manner outside the class inheritance line as this code is subjected to be updated in a manner that enforces this at some time in the near future and things will break New code should use the standard method of setting visibilities as normal Globals are particularly evil in PHP
 
I won t presume to tell you how to program
 
I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the project
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For and for historical reasons
 
I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without by all means do which work well I also use K &R brace matching style I know that s a religious issue for some
 
it sets a lot of them automatically from query strings
 
it sets a lot of them automatically from query and such
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add text
 
I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without by all means do which work well I also use K &R brace matching style I know that s a religious issue for so if you want to use a style that puts opening braces on the next that s OK too
 
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain URL
 

Function Documentation

◆ getSkin()

this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when and is meant to be subclassed with other skins that may override some of its functions The User object contains a reference to a and so rather than having a global skin object we just rely on the global User and get the skin with $wgUser getSkin ( )

◆ needed()

this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when needed ( most notably,
OutputPage::addWikiText()  )

◆ output()

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling output ( )

Referenced by DumpBackup::__construct(), TextPassDumper::__construct(), OrderedStreamingForkController::__construct(), CheckLanguageCLI::__construct(), CheckExtensionsCLI::__construct(), BatchRowUpdate::__construct(), ListToggle::__construct(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget::__construct(), WebInstaller::__construct(), DatabaseUpdater::addField(), DatabaseUpdater::addIndex(), ImageBuilder::addMissingImage(), PostgresUpdater::addPgEnumValue(), PostgresUpdater::addPgExtIndex(), PostgresUpdater::addPgField(), PostgresUpdater::addPgIndex(), Benchmarker::addResult(), PostgresUpdater::addSequence(), DatabaseUpdater::addTable(), DatabaseUpdater::applyPatch(), SqliteMaintenance::backup(), ImageBuilder::buildTable(), PostgresUpdater::changeField(), PostgresUpdater::changeFieldPurgeTable(), PostgresUpdater::changeFkeyDeferrable(), PostgresUpdater::changeNullableField(), NamespaceConflictChecker::checkAll(), MysqlUpdater::checkBin(), ListToggle::checkboxLink(), FindOrphanedFiles::checkFiles(), PostgresUpdater::checkIndex(), CheckExtensionsCLI::checkLanguage(), NamespaceConflictChecker::checkLinkTable(), NamespaceConflictChecker::checkNamespace(), PostgresUpdater::checkOiDeleted(), PostgresUpdater::checkOiNameConstraint(), Orphans::checkOrphans(), PostgresUpdater::checkPageDeletedTrigger(), NamespaceConflictChecker::checkPrefix(), RenameUserCleanup::checkRenameLog(), PostgresUpdater::checkRevUserFkey(), Orphans::checkSeparation(), DatabaseUpdater::checkStats(), SqliteMaintenance::checkSyntax(), RenameUserCleanup::checkUserExistence(), Orphans::checkWidows(), CleanupUsersWithNoId::cleanup(), CleanupSpam::cleanupArticle(), Cleanup::cleanupArticle(), RebuildTextIndex::clearSearchIndex(), CompressOld::compressOldPages(), CompressOld::compressWithConcat(), CompareParsers::conclusions(), OrderedStreamingForkController::consume(), OrderedStreamingForkController::consumeNoFork(), PostgresUpdater::convertArchive2(), CopyFileBackend::copyFileBatch(), Maintenance::countDown(), RebuildTextIndex::createMysqlTextIndex(), ConvertLinks::createTempTable(), RunJobs::debugInternal(), ManageJobs::delete(), CleanupPreferences::deleteByWhere(), RefreshLinks::deleteLinksFromNonexistent(), CopyFileBackend::delFileBatch(), RefreshLinks::dfnCheckInterval(), DatabaseUpdater::disableContentHandlerUseDB(), DatabaseUpdater::doActiveUsersInit(), OracleUpdater::doAutoIncrementTriggers(), MysqlUpdater::doCategoryPopulation(), MysqlUpdater::doClFieldsUpdate(), DatabaseUpdater::doCollationUpdate(), FixDefaultJsonContentPages::doDBUpdates(), FixExtLinksProtocolRelative::doDBUpdates(), MigrateActors::doDBUpdates(), MigrateArchiveText::doDBUpdates(), MigrateComments::doDBUpdates(), PopulateArchiveRevId::doDBUpdates(), PopulateBacklinkNamespace::doDBUpdates(), PopulateFilearchiveSha1::doDBUpdates(), PopulateImageSha1::doDBUpdates(), PopulateIpChanges::doDBUpdates(), PopulateLogSearch::doDBUpdates(), PopulateLogUsertext::doDBUpdates(), PopulateParentId::doDBUpdates(), PopulatePPSortKey::doDBUpdates(), PopulateRecentChangesSource::doDBUpdates(), PopulateRevisionLength::doDBUpdates(), PopulateRevisionSha1::doDBUpdates(), DeleteOldRevisions::doDelete(), MysqlUpdater::doExtendCommentLengths(), MysqlUpdater::doFixAncientImagelinks(), MysqlUpdater::doIndexUpdate(), OracleUpdater::doInsertPage0(), MysqlUpdater::doInterwikiUpdate(), MysqlUpdater::doIwlinksIndexNonUnique(), MysqlUpdater::doLangLinksLengthUpdate(), PopulateRevisionLength::doLenUpdates(), DatabaseUpdater::doLogSearchPopulation(), DatabaseUpdater::doLogUsertextPopulation(), MysqlUpdater::doMaybeProfilingMemoryUpdate(), DatabaseUpdater::doMigrateUserOptions(), MysqlUpdater::doNamespaceSize(), MysqlUpdater::doNonUniquePlTlIl(), MysqlUpdater::doPagelinksUpdate(), MysqlUpdater::doPageRandomUpdate(), OracleUpdater::doPageRestrictionsPKUKFix(), TestFileOpPerformance::doPerfTest(), PopulateInterwiki::doPopulate(), MysqlUpdater::doPopulateParentId(), PurgeList::doPurge(), ReassignEdits::doReassignEdits(), RebuildLocalisationCache::doRebuild(), RefreshLinks::doRefreshLinks(), MysqlUpdater::doRestrictionsUpdate(), MysqlUpdater::doRevisionPageRevIndexNonUnique(), MysqlUpdater::doSchemaRestructuring(), PopulateRevisionSha1::doSha1LegacyUpdates(), PopulateRevisionSha1::doSha1Updates(), UpdateSpecialPages::doSpecialPageCacheUpdates(), DatabaseUpdater::doTable(), MysqlUpdater::doTemplatelinksUpdate(), MysqlUpdater::doUnsignedSyncronisation(), MysqlUpdater::doUpdateMimeMinorField(), UpdateSearchIndex::doUpdateSearchIndex(), DatabaseUpdater::doUpdateTranscacheField(), MysqlUpdater::doUserGroupsUpdate(), MysqlUpdater::doUserNewTalkTimestampNotNull(), MysqlUpdater::doUserUniqueUpdate(), MysqlUpdater::doWatchlistNull(), MysqlUpdater::doWatchlistUpdate(), RecountCategories::doWork(), DatabaseUpdater::dropField(), PostgresUpdater::dropFkey(), DatabaseUpdater::dropIndex(), RebuildTextIndex::dropMysqlTextIndex(), PostgresUpdater::dropPgField(), PostgresUpdater::dropPgIndex(), PostgresUpdater::dropSequence(), DatabaseUpdater::dropTable(), DatabaseUpdater::enableContentHandlerUseDB(), WebInstaller::endPageWrapper(), CountFancyCaptchas::execute(), DeleteOldFancyCaptchas::execute(), GenerateFancyCaptchas::execute(), Update::execute(), DisableOATHAuthForUser::execute(), UpdateScratchTokenFormat::execute(), CleanupArchiveUserText::execute(), RenameUserCleanup::execute(), Cleanup::execute(), UpdateCSS::execute(), BatchRowUpdate::execute(), UpdateLogging::execute(), AttachLatest::execute(), BenchmarkPurge::execute(), ChangePassword::execute(), CheckBadRedirects::execute(), CheckComposerLockUpToDate::execute(), CheckImages::execute(), CheckUsernames::execute(), CleanupAncientTables::execute(), CleanupBlocks::execute(), CapsCleanup::execute(), CleanupPreferences::execute(), CleanupRemovedModules::execute(), CleanupSpam::execute(), TableCleanup::execute(), UploadStashCleanup::execute(), WatchlistCleanup::execute(), ClearInterwikiCache::execute(), CompareParserCache::execute(), ConvertExtensionToRegistration::execute(), ConvertLinks::execute(), ConvertUserOptions::execute(), CopyFileBackend::execute(), CopyJobQueue::execute(), CreateAndPromote::execute(), GenerateCommonPassword::execute(), DeleteArchivedFiles::execute(), DeleteArchivedRevisions::execute(), DeleteAutoPatrolLogs::execute(), DeleteBatch::execute(), DeleteDefaultMessages::execute(), DeleteEqualMessages::execute(), DeleteOldRevisions::execute(), DeleteOrphanedRevisions::execute(), DeleteSelfExternals::execute(), DumpLinks::execute(), EditCLI::execute(), EraseArchivedFile::execute(), ExportSites::execute(), FetchText::execute(), FindHooks::execute(), FindMissingFiles::execute(), FindOrphanedFiles::execute(), FixDoubleRedirects::execute(), FixTimestamps::execute(), FixUserRegistration::execute(), GenerateJsonI18n::execute(), GetConfiguration::execute(), GetLagTimes::execute(), GetSlaveServer::execute(), GetTextMaint::execute(), BackupReader::execute(), ImportImages::execute(), ImportSites::execute(), ImportSiteScripts::execute(), ImportTextFiles::execute(), InitEditCount::execute(), InitSiteStats::execute(), InitUserPreference::execute(), InvalidateUserSesssions::execute(), JSParseHelper::execute(), DatabaseLag::execute(), AllTrans::execute(), CheckLanguageCLI::execute(), DateFormats::execute(), Digit2Html::execute(), DumpMessages::execute(), LangMemUsage::execute(), LoggedUpdateMaintenance::execute(), MakeTestEdits::execute(), McTest::execute(), MigrateFileRepoLayout::execute(), MigrateUserGroup::execute(), MoveBatch::execute(), MWDocGen::execute(), NamespaceConflictChecker::execute(), NukeNS::execute(), NukePage::execute(), AlterSharedConstraints::execute(), PageExists::execute(), PatchSql::execute(), PopulateCategory::execute(), PPFuzzTest::execute(), Protect::execute(), PruneFileCache::execute(), PurgeChangedPages::execute(), PurgeExpiredUserrights::execute(), PurgeList::execute(), PurgeModuleDeps::execute(), PurgeParserCache::execute(), ReassignEdits::execute(), RebuildAll::execute(), RebuildFileCache::execute(), RebuildLocalisationCache::execute(), RebuildMessages::execute(), RebuildRecentchanges::execute(), RebuildTextIndex::execute(), RecountCategories::execute(), RefreshFileHeaders::execute(), RefreshImageMetadata::execute(), RemoveInvalidEmails::execute(), RemoveUnusedAccounts::execute(), RenameDbPrefix::execute(), ResetUserTokens::execute(), RollbackEdits::execute(), BatchedQueryRunner::execute(), RunJobs::execute(), ShowJobs::execute(), ShowSiteStats::execute(), CompressOld::execute(), DumpRev::execute(), OrphanStats::execute(), SyncFileBackend::execute(), TidyUpBug37714::execute(), Undelete::execute(), UpdateMediaWiki::execute(), UpdateArticleCount::execute(), UpdateCollation::execute(), UpdateDoubleWidthSearch::execute(), UpdateExtensionJsonSchema::execute(), UpdateRestrictions::execute(), UpdateSpecialPages::execute(), ValidateRegistrationFile::execute(), ViewCLI::execute(), WrapOldPasswords::execute(), WebInstaller::execute(), DeleteEqualMessages::fetchMessageInfo(), ImportSiteScripts::fetchScriptList(), WebInstaller::finish(), OrderedStreamingForkController::forkWorkers(), GetConfiguration::formatVarDump(), ListToggle::getHTML(), DerivativeContext::getOutput(), RequestContext::getOutput(), PPFuzzTest::getReport(), ConvertExtensionToRegistration::handleExtensionMessagesFiles(), ConvertExtensionToRegistration::handleHooks(), DumpIterator::handleRevision(), DumpRenderer::handleRevision(), FixDefaultJsonContentPages::handleRow(), CheckLanguageCLI::help(), CheckExtensionsCLI::help(), MysqlUpdater::indexHasField(), MWDocGen::init(), SqliteMaintenance::integrityCheck(), ImageCleanup::killRow(), UserOptionsMaintenance::listAvailableOptions(), Update::logInfo(), GenerateSitemap::main(), Maintenance::maybeHelp(), MigrateComments::migrate(), MigrateActors::migrate(), DatabaseUpdater::migrateActors(), DatabaseUpdater::migrateArchiveText(), DatabaseUpdater::migrateComments(), MigrateActors::migrateLogSearch(), MigrateActors::migrateToTemp(), MigrateComments::migrateToTemp(), MinifyScript::minify(), DatabaseUpdater::modifyField(), DatabaseUpdater::modifyTable(), TitleCleanup::moveIllegalPage(), TitleCleanup::moveInconsistentPage(), CapsCleanup::movePage(), ImageBuilder::oldimageCallback(), BatchRowUpdate::output(), WebInstaller::outputCss(), UploadDumper::outputItem(), ImageCleanup::pokeFile(), DatabaseUpdater::populateArchiveRevId(), PopulateContentModel::populatePage(), PopulateContentModel::populateRevisionOrArchive(), RebuildTextIndex::populateSearchIndex(), FindHooks::printArray(), CompareParsers::processRevision(), SearchDump::processRevision(), ImageCleanup::processRow(), TitleCleanup::processRow(), WatchlistCleanup::processRow(), CapsCleanup::processRowToLowercase(), CapsCleanup::processRowToUppercase(), TableCleanup::progress(), ImageBuilder::progress(), PruneFileCache::prune_directory(), PurgePage::purge(), DatabaseUpdater::purgeCache(), OracleUpdater::purgeCache(), RebuildRecentchanges::purgeFeeds(), PurgeChangedFiles::purgeFromArchiveTable(), Maintenance::purgeRedundantText(), FixDoubleRedirects::queueJobs(), DatabaseUpdater::rebuildLocalisationCache(), RebuildRecentchanges::rebuildRecentChangesTablePass1(), RebuildRecentchanges::rebuildRecentChangesTablePass2(), RebuildRecentchanges::rebuildRecentChangesTablePass3(), RebuildRecentchanges::rebuildRecentChangesTablePass4(), RebuildRecentchanges::rebuildRecentChangesTablePass5(), PostgresUpdater::rebuildTextSearch(), OrderedStreamingForkController::receive(), RefreshLinks::refreshCategory(), WatchlistCleanup::removeWatch(), PostgresUpdater::renameIndex(), DatabaseUpdater::renameIndex(), PostgresUpdater::renameSequence(), PostgresUpdater::renameTable(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget::render(), UpdateSpecialPages::reopenAndWaitForReplicas(), Parser::replaceInternalLinks2(), ImportSites::reportException(), ManageJobs::repushAbandoned(), MigrateFileRepoLayout::runBatch(), TableCleanup::runTable(), EraseArchivedFile::scrubVersion(), PurgeList::sendPurgeRequest(), PostgresUpdater::setDefault(), DatabaseUpdater::setFileAccess(), BatchRowUpdate::setOutput(), DerivativeContext::setOutput(), RequestContext::setOutput(), PostgresUpdater::setSequenceOwner(), WebInstaller::showError(), WebInstaller::showHelpBox(), WebInstaller::showMessage(), PurgeParserCache::showProgressAndWait(), UpdateCollation::showSortKeySizeHistogram(), WebInstaller::showStatusBox(), showUsage(), UserOptionsMaintenance::showUsageStats(), SqliteUpdater::sqliteInitialIndexes(), SqliteUpdater::sqliteSetupSearchindex(), MwSql::sqlPrintResult(), Benchmarker::startBench(), WebInstaller::startPageWrapper(), SyncFileBackend::syncBackends(), SyncFileBackend::syncFileBatch(), GenerateJsonI18n::transformI18nFile(), UserOptionsMaintenance::updateOptions(), PopulateContentModel::updatePageRows(), PopulateContentModel::updateRevisionOrArchiveRows(), MssqlUpdater::updateSchema(), Maintenance::updateSearchIndex(), Maintenance::updateSearchIndexForPage(), RenameUserCleanup::updateTable(), ResetUserTokens::updateUser(), PopulateRevisionSha1::upgradeLegacyArchiveRow(), PopulateRevisionLength::upgradeRow(), PopulateRevisionSha1::upgradeRow(), SqliteMaintenance::vacuum(), PurgeChangedFiles::verbose(), Benchmarker::verboseRun(), UserOptionsMaintenance::warn(), and DumpStringOutput::write().

◆ skin()

this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when and is meant to be subclassed with other skins that may override some of its functions The User object contains a reference to a skin ( according to that user 's preference)

◆ so()

I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without by all means do so ( and don 't be surprised if I reformat your code)

◆ text()

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For and for historical it also represents a few features of articles that don t involve their such as access rights See also title txt Article Encapsulates access to the page table of the database The object represents a an and maintains state such as text ( in Wikitext format)

Variable Documentation

◆ $wgContLang

Language $wgContLang

Definition at line 57 of file design.txt.

Referenced by ApiMain::__construct(), CiteCSSFileModule::__construct(), AllMessagesTablePager::__construct(), CliInstaller::__construct(), LogPage::actionText(), ParserTestRunner::addArticles(), OutputPage::addCategoryLinks(), Action::addHelpLink(), SpecialPage::addHelpLink(), CategoryViewer::addImage(), ImageBuilder::addMissingImage(), CategoryViewer::addPage(), DatabaseOracle::addQuotes(), MagicWord::addToArray(), ApiQuerySiteinfo::appendGeneralInfo(), ApiQuerySiteinfo::appendMagicWords(), ApiQuerySiteinfo::appendNamespaceAliases(), ApiQuerySiteinfo::appendNamespaces(), ApiQuerySiteinfo::appendSpecialPageAliases(), BenchmarkTidy::benchmark(), OutputPage::buildExemptModules(), Parser::callParserFunction(), XmlDumpWriter::canonicalTitle(), Title::capitalize(), SearchHighlighter::caseCallback(), NamespaceConflictChecker::checkAll(), Orphans::checkOrphans(), PasswordPolicyChecks::checkPasswordCannotMatchUsername(), WikiPage::commitRollback(), SearchEngine::completionSearchWithVariants(), CategoryTree::createCountString(), NaiveForeignTitleFactory::createForeignTitle(), NaiveImportTitleFactory::createTitleFromForeignTitle(), Sanitizer::decodeCharReferencesAndNormalize(), CategoryTree::decodeNamespaces(), TextContent::diff(), LinkBatch::doGenderQuery(), MysqlUpdater::doPagelinksUpdate(), SpecialInterwiki::doSubmit(), LinkHolderArray::doVariants(), Xml::elementClean(), SearchOracle::escapeTerm(), SpecialRenameuser::execute(), SpecialPrefixindex::execute(), RandomPage::execute(), ApiQueryAllMessages::execute(), ConvertLinks::execute(), FormatMetadata::exifMsg(), Collation::factory(), ImageGalleryBase::factory(), HistoryAction::feedItem(), DeleteEqualMessages::fetchMessageInfo(), LocalRepo::findFiles(), FormatMetadata::flattenArrayContentLang(), WikiPage::formatExpiry(), Linker::formatLinksInComment(), ProtectLogFormatter::formatParametersForApi(), AncientPagesPage::formatResult(), FewestrevisionsPage::formatResult(), FileDuplicateSearchPage::formatResult(), MIMEsearchPage::formatResult(), MostlinkedCategoriesPage::formatResult(), UnwatchedpagesPage::formatResult(), WantedCategoriesPage::formatResult(), PageQueryPage::formatResult(), SpecialPageFactory::getAliasList(), MessageCache::getAllMessageKeys(), ApiQueryImageInfo::getAllowedParams(), ApiQueryLangLinks::getAllowedParams(), ApiQueryInfo::getAllVariants(), Skin::getCachedNotice(), User::getCanonicalName(), TimelessTemplate::getCategories(), LinksUpdate::getCategoryInsertions(), ResourceLoaderStartUpModule::getConfigSettings(), EditPage::getContentObject(), SpecialCiteThisPage::getContentText(), Title::getDefaultMessageText(), User::getDefaultOptions(), Preferences::getDefaultPreferencesFactory(), ParserOptions::getDefaults(), UploadForm::getDescriptionSection(), EditPage::getEditToolbar(), IdentityCollation::getFirstLetter(), ResourceLoaderModule::getFlip(), RevertAction::getFormFields(), WebRequest::getGPCVal(), MWGrants::getGrantsWikiText(), MagicWordArray::getHash(), ApiHelp::getHelp(), ApiCategoryTree::getHTML(), ApiQueryImageInfo::getInfo(), DateFormatter::getInstance(), Linker::getInvalidTitleDescription(), LogFormatter::getIRCActionText(), OutputPage::getJSVars(), RequestContext::getLanguage(), SpecialPageFactory::getLocalNameFor(), Title::getLocalURL(), MessageCache::getMessageForLang(), MessageCache::getMessageFromFallbackChain(), WebRequestUpload::getName(), FileRepo::getNameFromTitle(), Title::getNamespaceKey(), SearchEngine::getNearMatcher(), SpecialEditWatchlist::getNormalForm(), SearchUpdate::getNormalizedTitle(), ApiPageSet::getNormalizedTitlesAsResult(), BackupReader::getNsIndex(), RandomPage::getNsList(), ContentHandler::getPageLanguage(), SpecialExport::getPagesFromCategory(), SpecialExport::getPagesFromNamespace(), Title::getParentCategories(), TagHooksTest::getParserOptions(), WebRequest::getPathInfo(), Parser::getRevisionTimestamp(), InputBox::getSearchForm(), CategoryViewer::getSubcategorySortChar(), Title::getSubjectNsText(), Title::getTalkNsText(), TextPassDumper::getTextDb(), TextContent::getTextForSummary(), TextPassDumper::getTextSpawnedOnce(), Message::getTitle(), BaseBlacklist::getTypeFromTitle(), LanguageConverter::getUserVariant(), Parser::getVariableValue(), Title::hasSourceText(), OutputPage::headElement(), SearchHighlighter::highlightSimple(), SearchHighlighter::highlightText(), ExtParserFunctions::ifexistCommon(), ImageHistoryList::imageHistoryLine(), Message::inContentLanguage(), DatabaseOracle::insertOneRow(), User::isValidUserName(), CoreParserFunctions::lc(), CoreParserFunctions::lcfirst(), Cite::linkRef(), SearchHighlighter::linkReplace(), MagicWord::load(), HTMLFileCache::loadFromFileCache(), User::loadOptions(), GenerateSitemap::main(), PPFuzzTester::makeInputText(), Title::makeName(), MessageCacheTest::makePage(), RightsLogFormatter::makePageLink(), ContentHandler::makeParserOptions(), CommentStoreTest::makeStore(), MagicWordArray::matchStartToEnd(), XmlDumpWriter::namespaces(), Html::namespaceSelectorOptions(), SpecialReplaceText::namespaceTables(), ParserOptions::newFromAnon(), CommentStore::newKey(), CommentStoreComment::newUnsavedComment(), MessageCache::normalizeKey(), SearchEngine::normalizeText(), SearchMySQL::normalizeText(), WebRequest::normalizeUnicode(), CoreParserFunctions::ns(), SpecialLockdb::onSubmit(), XmlDumpWriter::openStream(), ParserOptions::optionsHash(), OutputPage::output(), SpecialPage::outputHeader(), SpecialListGroupRights::outputNamespaceProtectionInfo(), QueryPage::outputResults(), InfoAction::pageInfo(), CoreParserFunctions::pagesincategory(), SearchEngine::parseNamespacePrefixes(), SearchMssql::parseQuery(), SearchMySQL::parseQuery(), SearchOracle::parseQuery(), SearchSqlite::parseQuery(), MediaWiki::parseTitle(), MediaWiki\Widget\Search\SearchFormWidget::powerSearchBox(), Title::prefix(), WikiPage::prepareContentForEdit(), SkinTemplate::prepareQuickTemplate(), ImageCleanup::processRow(), TitleCleanup::processRow(), WatchlistCleanup::processRow(), CapsCleanup::processRowToLowercase(), CapsCleanup::processRowToUppercase(), ApiPageSet::processTitlesArray(), WikiPage::protectDescriptionLog(), Parser::pstPass2(), ForeignAPIFile::purgeDescriptionPage(), Cite::referencesFormatEntryNumericBacklinkLabel(), SearchMySQL::regexTerm(), SearchSqlite::regexTerm(), MediaWiki\Widget\Search\BasicSearchResultSetWidget::render(), MediaWiki\Widget\Search\BasicSearchResultSetWidget::renderResultSet(), MessageCache::replace(), LinkHolderArray::replaceInternal(), Parser::replaceInternalLinks2(), SpecialPageFactory::resolveAlias(), ApiQuerySearch::run(), SearchSqlite::searchInternal(), PrefixSearch::searchWithVariants(), EmailNotification::sendImpersonal(), EmailNotification::sendPersonalised(), MediaWiki\Auth\AuthManager::setDefaultUserOptions(), Parser::setFunctionHook(), WikiImporter::setTargetRootPage(), SpecialNewFiles::setTopText(), SpecialRecentChanges::setTopText(), ApiEditPageTest::setUp(), ContentHandlerTest::setUp(), EditPageTest::setUp(), PagePropsTest::setUp(), ParserPreloadTest::setUp(), PreprocessorTest::setUp(), RevisionDbTestBase::setUp(), TitleMethodsTest::setUp(), MediaWikiLangTestCase::setUp(), WebInstaller::setupLanguage(), EditPage::showDiff(), SpecialBookSources::showList(), SpecialGadgets::showMainForm(), SpecialPrefixindex::showPrefixChunk(), SpecialSearch::showResults(), PrefixSearch::specialSearch(), Linker::splitTrail(), MediaWiki\Widget\Search\SearchFormWidget::startsWithImage(), Parser::statelessFetchTemplate(), WebInstallerName::submit(), SkinTemplate::tabAction(), ApiEditPageTest::tearDown(), ContentHandlerTest::tearDown(), EditPageTest::tearDown(), PagePropsTest::tearDown(), RevisionDbTestBase::tearDown(), TitleMethodsTest::tearDown(), SpecialPageFactoryTest::testConflictResolution(), LanguageConverterTest::testGetPreferredVariantDefaultLanguageVsUrlVariant(), LanguageConverterTest::testGetPreferredVariantHeaderUserVsUrl(), LanguageConverterTest::testGetPreferredVariantUserOptionForForeignLanguage(), WikitextContentHandlerTest::testMakeRedirectContent(), ExportTest::testPageByTitle(), TitlePermissionTest::testPageRestrictions(), MediaWiki\Tests\Maintenance\BackupDumperLoggerTest::testPlain(), TextContentTest::testPreloadTransform(), TextContentTest::testPreSaveTransform(), TitlePermissionTest::testQuickPermissions(), MessageCacheTest::testReplaceMsg(), TimeAdjustTest::testUserAdjust(), MediaWiki\Tests\Maintenance\BackupDumperLoggerTest::testXmlDumpsBackupUseCaseLogging(), DifferenceEngine::textDiff(), CoreParserFunctions::uc(), CoreParserFunctions::ucfirst(), DatabaseOracle::update(), MessageCache::updateMessageOverride(), SearchUpdate::updateText(), HTMLTitleTextField::validate(), PrefixSearch::validateNamespaces(), ApiResult::validateValue(), wfGetLangObj(), and DatabaseOracle::wrapFieldForWhere().

◆ $wgLang

Language $wgLang

Definition at line 56 of file design.txt.

Referenced by ApiMain::__construct(), PermissionsError::__construct(), CliInstaller::__construct(), ParserOptions::__construct(), LogPage::actionText(), SpecialEditWatchlist::buildTools(), SpecialPageFactory::capturePath(), Title::checkActionPermissions(), UploadBase::checkUnwantedFileExtensions(), Installer::doGenerateKeys(), Installer::envCheckDB(), ChangesFeed::execute(), LocalFileRestoreBatch::execute(), WebInstallerLanguage::execute(), WebInstallerOptions::execute(), UpdateMediaWiki::execute(), SpecialReplaceText::extractContext(), StubUserLang::findVariantLink(), Linker::formatAutocomments(), FeedUtils::formatDiffRow(), Linker::formatSize(), SpecialVersion::getCopyrightAndAuthorList(), User::getDatePreference(), File::getDescriptionText(), ForeignDBFile::getDescriptionText(), WebInstallerOutput::getDir(), ReCaptchaNoCaptcha::getFormInformation(), MediaHandler::getGeneralShortDesc(), WebInstallerOutput::getLanguageCode(), ImageHandler::getLongDesc(), SvgHandler::getLongDesc(), GIFHandler::getLongDesc(), PNGHandler::getLongDesc(), Title::getPageLanguage(), ContentHandler::getPageLanguage(), Title::getPageViewLanguage(), EditPage::getPreviewLimitReport(), ImageHandler::getShortDesc(), ParserOutput::getText(), SpecialVersion::getVersionLinkedGit(), Status::languageFromParam(), WebInstallerOptions::makeScreenshotsLink(), Xml::monthSelector(), User::newFatalPermissionDeniedStatus(), SpecialReplaceText::pageListForm(), FileDeleteForm::prepareMessage(), XmlTest::provideMonthSelector(), User::sendConfirmationMail(), LoginSignupSpecialPage::setSessionUserForCurrentRequest(), UploadFromUrlTestSuite::setUp(), WebInstaller::setupLanguage(), LogFormatterTest::testLogParamsTypeNumber(), ApiMainTest::testUselang(), TitlePermissionTest::testUserBlock(), ForeignAPIFile::transform(), MWException::useMessageCache(), Linker::userToolLinks(), wfGetLangObj(), and wfInstallerMain().

◆ article

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For and for historical it also represents a few features of articles that don t involve their such as access rights See also title txt Article Encapsulates access to the page table of the database The object represents a an article

◆ bothering

I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without bothering

Definition at line 73 of file design.txt.

◆ convenience

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For convenience

Definition at line 27 of file design.txt.

◆ conventions

be sure to use the* correct* language object depending upon the circumstances See also language txt Parser Class used to transform wikitext to html LinkCache Keeps information on existence of articles See linkcache txt Naming coding conventions

Definition at line 67 of file design.txt.

◆ cookies

it sets a lot of them automatically from cookies

◆ database

bool $useTemporaryTables Use temporary tables for the temporary ParserTestRunner::database

Definition at line 13 of file design.txt.

◆ declaration

when a variable name is used in a it is silently declared as a new local masking the so you ll get weird error because you forgot the global declaration

Definition at line 96 of file design.txt.

◆ dictatorial

be sure to use the* correct* language object depending upon the circumstances See also language txt Parser Class used to transform wikitext to html LinkCache Keeps information on existence of articles See linkcache txt Naming coding not dictatorial

Definition at line 69 of file design.txt.

◆ directly

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For and for historical it also represents a few features of articles that don t involve their such as access rights See also title txt Article Encapsulates access to the page table of the database The object represents a an and maintains state such as etc Revision Encapsulates individual page revision data and access to the revision text blobs storage system Higher level code should never touch text storage directly

Definition at line 39 of file design.txt.

Referenced by BackupReader::__construct().

◆ etc

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add etc

Definition at line 19 of file design.txt.

◆ flags

◆ function

array $setupDone The status of each setup ParserTestRunner::function = array( 'ircNotify', 'brion' )

Definition at line 94 of file design.txt.

Referenced by LinkCache::addLinkObj(), ApiTestCase::apiExceptionHasCode(), PdfHandler::doTransform(), DjVuHandler::doTransform(), ApiRemoveAuthenticationData::execute(), ApiWatch::execute(), MediaWiki\Storage\SqlBlobStore::expandBlob(), MediaWiki\Storage\SqlBlobStore::getBlob(), WikiMap::getCanonicalServerInfoForAllWikis(), ChangesListSpecialPage::getChangeTagList(), WikiPage::getContentModel(), SpamBlacklist::getCurrentLinks(), PdfHandler::getDimensionInfo(), DjVuHandler::getDimensionInfo(), DateFormatter::getInstance(), JobQueueDB::getJobIterator(), MediaWiki\Storage\RevisionStore::getKnownCurrentRevision(), TransformationalImageHandler::getMagickVersion(), PdfHandler::getMetaArray(), Wikimedia\Rdbms\DatabaseMysqlBase::getServerId(), Wikimedia\Rdbms\DatabaseMysqlBase::getServerUUID(), SyntaxHighlight::highlight(), Block::isWhitelistedFromAutoblocks(), SiteStats::jobs(), ChangeTags::listExplicitlyDefinedTags(), ChangeTags::listSoftwareActivatedTags(), ChangeTags::listSoftwareDefinedTags(), MediaWiki\Interwiki\ClassicInterwikiLookup::load(), Title::loadRestrictions(), Wikimedia\Rdbms\LoadBalancer::masterRunningReadOnly(), MediaWiki\Auth\AuthenticationRequest::mergeFieldInfo(), SiteStats::numberingroup(), ChangesList::numberofWatchingusers(), InfoAction::pageCounts(), SiteStats::pagesInNs(), ResourceLoaderWikiModule::preloadTitleInfo(), ChangeTags::tagUsageStatistics(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_futureNotificationTimestampForced(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_futureNotificationTimestampNotForced(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_notWatchedPageForced(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_oldidSpecifiedLatestRevisionForced(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_oldidSpecifiedNotLatestRevisionForced(), and wfGenerateThumbnail().

◆ global

when a variable name is used in a it is silently declared as a new local masking the global

Definition at line 95 of file design.txt.

◆ guidelines

I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these guidelines

Definition at line 71 of file design.txt.

◆ headers

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add headers

Definition at line 18 of file design.txt.

◆ https

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at https

◆ key

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database key

Definition at line 26 of file design.txt.

Referenced by PoolCounter::__construct(), PoolCounterRedis::__construct(), Message::__construct(), ArchivedFile::__construct(), CleanupInvalidDbKeys::__construct(), HashRing::__construct(), HTMLReCaptchaField::__construct(), HTMLReCaptchaNoCaptchaField::__construct(), Wikimedia\Rdbms\ChronologyProtector::__construct(), Pingback::__construct(), IndexPager::__construct(), OATHUser::__construct(), Message::__toString(), PathRouterPatternReplacer::callback(), ArrayUtils::cartesianProduct(), Pingback::checkIfSent(), JobQueueMemory::doPop(), UpdateLogging::execute(), DeferredUpdates::execute(), Message::fetchMessage(), Message::formatListParam(), CommentStore::getComment(), CommentStore::getCommentLegacy(), PoolCounterRedis::getConnection(), HTMLReCaptchaField::getInputHTML(), HTMLReCaptchaNoCaptchaField::getInputHTML(), CommentStore::getKey(), HashRing::getLocations(), FixT22757::getRevTextMap(), ImportTest::getSiteInfoXML(), SqlBagOStuff::getTableByKey(), Message::getTitle(), UcdXmlReader::handleChar(), Message::inContentLanguage(), PoolCounterRedis::initAndPopPoolSlotList(), Wikimedia\Rdbms\ChronologyProtector::initPositions(), CommentStore::insert(), CommentStore::insertWithTempTable(), ReverseArrayIterator::key(), ArchivedFile::load(), ArchivedFile::loadFromRow(), Parser::makeImage(), Pingback::markSent(), BatchRowIterator::next(), SquidPurgeClient::nextRequest(), Wikimedia\Rdbms\LoadBalancer::openForeignConnection(), MagicWordArray::parseMatch(), ProcessCacheLRU::resize(), FormatMetadata::resolveMultivalueValue(), BatchRowIterator::rewind(), ApiQueryBacklinks::run(), ApiQueryAllDeletedRevisions::run(), ApiQueryBacklinksprop::run(), ApiQueryDeletedRevisions::run(), Wikimedia\Rdbms\DatabasePostgres::selectSQLText(), ProcessCacheLRU::set(), HashBagOStuff::set(), MapCacheLRU::set(), OATHUser::setKey(), ParserOptions::setupFakeRevision(), Wikimedia\Rdbms\ChronologyProtector::shutdown(), WebInstallerOptions::submit(), Wikimedia\Rdbms\Database::tableNamesWithIndexClauseOrJOIN(), Message::toString(), LocalisationCacheBulkLoad::trimCache(), LocalFile::unprefixRow(), Message::unserialize(), ReverseArrayIterator::valid(), and wfArrayDiff2_cmp().

◆ line

I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without by all means do which work well I also use K& R brace matching style I know that s a religious issue for so if you want to use a style that puts opening braces on the next line

◆ name

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at name

Definition at line 12 of file design.txt.

◆ order

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any order

◆ PHP

I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without by all means do which work well I also use K& R brace matching style I know that s a religious issue for so if you want to use a style that puts opening braces on the next that s OK but please don t use a style where closing braces don t align with either the opening brace on its own line or the statement that opened the block that s confusing as hell Certain functions and class members are marked with rather than being marked as such This is a hold over from PHP which didn t support proper visibilities You should not access things marked in this manner outside the class inheritance line as this code is subjected to be updated in a manner that enforces this at some time in the near future and things will break New code should use the standard method of setting visibilities as normal Globals are particularly evil in PHP

Definition at line 92 of file design.txt.

◆ program

they could even be mouse clicks or menu items whatever suits your program You should also get your if to sign a copyright disclaimer for the program

Definition at line 70 of file design.txt.

◆ project

I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the project

Definition at line 72 of file design.txt.

Referenced by CheckLanguageCLI::help().

◆ reasons

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For and for historical reasons

Definition at line 27 of file design.txt.

Referenced by Linker::normalizeSubpageLink().

◆ some

I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without by all means do which work well I also use K& R brace matching style I know that s a religious issue for some

◆ strings

it sets a lot of them automatically from query strings

Definition at line 93 of file design.txt.

Referenced by PrefixSearch::searchBackend().

◆ such

it sets a lot of them automatically from query and such

Definition at line 93 of file design.txt.

◆ text

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain database etc For and for historical it also represents a few features of articles that don t involve their text

Definition at line 18 of file design.txt.

Referenced by UploadChunkVerificationException::__construct(), MediaWiki\Widget\SizeFilterWidget::__construct(), UploadForm::__construct(), ReplaceTextHooks::addToAdminLinks(), JsonContent::arrayTable(), CommentStoreTest::assertComment(), ImageHistoryList::beginImageHistoryList(), Parser::braceSubstitution(), SpecialRevisionDelete::buildCheckBoxes(), SkinTemplate::buildContentNavigationUrls(), Xml::buildForm(), ProtectionForm::buildForm(), AllMessagesTablePager::buildForm(), SkinTemplate::buildNavUrls(), SpecialEditWatchlist::buildRemoveLine(), SpecialEditWatchlist::buildTools(), CleanupSpam::cleanupArticle(), EmailNotification::composeCommonMailtext(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::continueLinkAttempt(), Installer::createMainpage(), Xml::dateMenu(), CoreParserFunctions::displaytitle(), SpecialRecentChanges::doHeader(), SpecialWatchlist::doHeader(), ImagePage::doRenderLangOpt(), SpecialTags::doTagRow(), PdfHandler::doThumbError(), SvgHandler::doTransform(), MockDjVuHandler::doTransform(), SimpleCaptcha::editShowCaptcha(), WebInstallerPage::endForm(), SpecialRenameuser::execute(), SpecialListGrants::execute(), SpecialListGroupRights::execute(), SpecialPreferences::execute(), SpecialSearch::execute(), WebInstallerComplete::execute(), WebInstallerDBConnect::execute(), WebInstallerName::execute(), MonoBookTemplate::execute(), VectorTemplate::execute(), HistoryAction::feedEmpty(), ChangesList::flag(), Skin::footerLinkTitle(), SpecialNewpages::form(), FeedUtils::formatDiffRow(), BrokenRedirectsPage::formatResult(), DoubleRedirectsPage::formatResult(), ShortPagesPage::formatResult(), UnwatchedpagesPage::formatResult(), SpecialUndelete::formatRevisionRow(), SpecialNewpages::formatRow(), AllMessagesTablePager::formatValue(), ProtectedPagesPager::formatValue(), SpecialLog::getActionButtons(), ContentModelLogFormatter::getActionLinks(), DeleteLogFormatter::getActionLinks(), MergeLogFormatter::getActionLinks(), MoveLogFormatter::getActionLinks(), ProtectLogFormatter::getActionLinks(), LogEventsList::getActionSelector(), SpecialChangeCredentials::getAuthForm(), ContentHandler::getAutosummary(), User::getBlockedStatus(), HTMLForm::getButtons(), OOUIHTMLForm::getButtons(), VFormHTMLForm::getButtons(), PreferencesForm::getButtons(), WebInstallerOptions::getCCDoneBox(), WebInstaller::getCheckBox(), MssqlInstaller::getConnectForm(), MysqlInstaller::getConnectForm(), OracleInstaller::getConnectForm(), PostgresInstaller::getConnectForm(), HistoryAction::getDescription(), FeedUtils::getDiffLink(), SpecialVersion::getEntryPointInfo(), SpecialVersion::getExtensionCredits(), SpecialVersion::getExternalLibraries(), LogEventsList::getExtraInputs(), SpecialRecentChangesLinked::getExtraOptions(), ApiFeedRecentChanges::getFeedObject(), LoginSignupSpecialPage::getFieldDefinitions(), MediaWiki\Auth\ConfirmLinkAuthenticationRequest::getFieldInfo(), SpecialWhatLinksHere::getFilterPanel(), SpecialContributions::getForm(), FancyCaptcha::getFormInformation(), SpecialStatistics::getGroupStats(), OutputPage::getHeadLinksArray(), HTMLSizeFilterField::getInputHTML(), HTMLFormFieldCloner::getInputHTML(), HTMLFormFieldCloner::getInputHTMLForKey(), DatabaseInstaller::getInstallUserBox(), LogFormatter::getIRCActionText(), TimelessTemplate::getLogo(), SpecialImport::getMappingFormPart(), SpecialVersion::getMediaWikiCredits(), TablePager::getNavigationBar(), HistoryPager::getRevisionButton(), TimelessTemplate::getSearch(), MssqlInstaller::getSettingsForm(), MysqlInstaller::getSettingsForm(), TimelessTemplate::getSidebarChunk(), SpecialVersion::getSkinCredits(), HistoryPager::getStartBody(), LogEventsList::getTitleInput(), LogEventsList::getTitlePattern(), LogEventsList::getUserInput(), SpecialStatistics::getUserStats(), FormatMetadata::getVisibleFields(), DatabaseInstaller::getWebUserBox(), SpecialVersion::getWgHooks(), UserrightsPage::groupCheckboxes(), HistoryPager::historyLine(), WikiPage::insertProtectNullRevision(), SpecialVersion::listAuthors(), SpecialNuke::listForm(), LoginSignupSpecialPage::load(), TitleBlacklist::loadWhitelist(), Skin::makeI18nUrl(), BaseTemplate::makeLink(), IndexPager::makeLink(), WebInstallerOptions::makeScreenshotsLink(), BaseTemplate::makeSearchButton(), SpecialInterwiki::makeTable(), Linker::makeThumbLink2(), Parser::maybeMakeExternalImage(), QuickTemplate::msg(), SpecialRecentChanges::namespaceFilterForm(), SpecialPrefixindex::namespacePrefixForm(), Title::newMainPage(), WikiImporter::notice(), JsonContent::objectTable(), SpecialBotPasswords::onSuccess(), HistoryAction::onView(), InfoAction::onView(), SpecialVersion::openExtType(), ImagePage::openShowImage(), CreditsAction::othersLink(), MediaStatisticsPage::outputMediaType(), SpecialListGroupRights::outputNamespaceProtectionInfo(), SpecialGadgetUsage::outputResults(), MediaStatisticsPage::outputResults(), MediaStatisticsPage::outputTableEnd(), SpecialGadgetUsage::outputTableStart(), InfoAction::pageInfo(), SpecialReplaceText::pageListForm(), SpecialBlock::postText(), MediaWiki\Preferences\DefaultPreferencesFactory::profilePreferences(), ImageMap::render(), InputBox::render(), MWExceptionRenderer::reportHTML(), ImportReporter::reportNotice(), User::sendConfirmationMail(), EmailNotification::sendImpersonal(), User::sendMail(), User::setEmailWithConfirmation(), SpecialWatchlist::setTopText(), SpecialSearch::setupPage(), SpecialEditTags::showConvenienceLinks(), SpecialRevisionDelete::showConvenienceLinks(), SimpleCaptcha::showEditFormFields(), UserrightsPage::showEditUserGroupsForm(), SpecialGadgets::showExportForm(), OutputPage::showFileCopyError(), OutputPage::showFileDeleteError(), OutputPage::showFileNotFoundError(), OutputPage::showFileRenameError(), SpecialInterwiki::showForm(), MovePageForm::showForm(), SpecialReplaceText::showForm(), FileDeleteForm::showForm(), SpecialEditTags::showForm(), SpecialImport::showForm(), SpecialRevisionDelete::showForm(), QuestyCaptcha::showHelp(), SimpleCaptcha::showHelp(), SpecialMergeHistory::showHistory(), SpecialUndelete::showHistory(), SpecialBlockList::showList(), SpecialGadgets::showMainForm(), SpecialMergeHistory::showMergeForm(), SpecialProtectedtitles::showOptions(), SpecialProtectedpages::showOptions(), LogEventsList::showOptions(), OutputPage::showPermissionsErrorPage(), SpecialUndelete::showRevision(), SpecialUndelete::showSearchForm(), OutputPage::showUnexpectedValueError(), SpecialUploadStash::showUploads(), SpecialUpload::showUploadWarning(), SpecialVersion::softwareInformation(), Linker::specialLink(), WebInstaller::startPageWrapper(), WebInstallerOptions::submit(), SpecialEmailUser::submit(), EmailConfirmation::submitSend(), UserrightsPage::switchForm(), ContentHandlerTest::testGetAutosummary(), SpecialBlankPageTest::testHasWikiMsg(), MessageTest::testInLanguage(), MessageTest::testToStringKey(), MessageTest::testWfMessageParams(), Linker::titleAttrib(), ImagePage::uploadLinksBox(), SpecialEmailUser::userForm(), ImagePage::view(), and SpecialWhatLinksHere::whatlinkshereForm().

◆ too

I won t presume to tell you how to I m just describing the methods I chose to use for myself If you do choose to follow these it will probably be easier for you to collaborate with others on the but if you want to contribute without by all means do which work well I also use K& R brace matching style I know that s a religious issue for so if you want to use a style that puts opening braces on the next that s OK too

Definition at line 80 of file design.txt.

◆ URL

design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add in any and then calling but I prefer the flexibility This should also do the output encoding The system allocates a global one in $wgOut Title Represents the title of an and does all the work of translating among various forms such as plain URL

Definition at line 26 of file design.txt.

Referenced by MediaWikiTitleCodec::getTitleInvalidRegex().