MediaWiki
master
|
const ALF_NO_BLOCK_LOCK 8 |
Definition at line 152 of file Defines.php.
const ALF_NO_LINK_LOCK 4 |
Definition at line 151 of file Defines.php.
const ALF_PRELOAD_EXISTENCE 2 |
Definition at line 150 of file Defines.php.
const ALF_PRELOAD_LINKS 1 |
Anti-lock flags Was used by $wgAntiLockFlags, which was removed with 1.25 Constants kept to not have warnings when used in LocalSettings
Definition at line 149 of file Defines.php.
const APCOND_AGE 2 |
Definition at line 249 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_AGE_FROM_EDIT 7 |
Definition at line 254 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_BLOCKED 8 |
Definition at line 255 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_EDITCOUNT 1 |
Autopromote conditions (must be here and not in Autopromote.php, so that they're loaded for DefaultSettings.php before AutoLoader.php)
Definition at line 248 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_EMAILCONFIRMED 3 |
Definition at line 250 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_INGROUPS 4 |
Definition at line 251 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_IPINRANGE 6 |
Definition at line 253 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_ISBOT 9 |
Definition at line 256 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_ISIP 5 |
Definition at line 252 of file Defines.php.
Referenced by Autopromote\checkCondition().
const AV_NO_VIRUS 0 |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 138 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_SCAN_ABORTED -1 |
Definition at line 140 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_SCAN_FAILED false |
Definition at line 141 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_VIRUS_FOUND 1 |
Definition at line 139 of file Defines.php.
const CACHE_ACCEL 3 |
Definition at line 105 of file Defines.php.
Referenced by MediaWikiTestCase\makeTestConfig().
const CACHE_ANYTHING -1 |
Cache type
Definition at line 101 of file Defines.php.
Referenced by JobQueue\__construct(), ResourceLoaderFileModule\compileLessFile(), ResourceLoader\filter(), SpecialVersion\getCreditsForExtension(), IcuCollation\getFirstLetterData(), Installer\getInstallerConfig(), TemplateParser\getTemplate(), CacheHelper\initCaching(), ObjectCache\newAnything(), and CacheHelper\saveCache().
const CACHE_DB 1 |
Definition at line 103 of file Defines.php.
Referenced by Installer\getInstallerConfig(), MediaWikiTestCase\makeTestConfig(), ObjectCache\newAnything(), ParserTest\setUp(), and ParserTest\setupDatabase().
const CACHE_MEMCACHED 2 |
Definition at line 104 of file Defines.php.
Referenced by McTest\execute(), Installer\getInstallerConfig(), and MediaWikiTestCase\makeTestConfig().
const CACHE_NONE 0 |
Definition at line 102 of file Defines.php.
Referenced by SwiftFileBackend\__construct(), MessageCache\__construct(), Installer\__construct(), LanguageConverter\convertNamespace(), PHPUnitMaintClass\finalSetup(), Installer\getInstallerConfig(), ObjectCache\getLocalServerInstance(), TransformationalImageHandler\getMagickVersion(), MediaWikiTestCase\makeTestConfig(), ObjectCache\newAnything(), Installer\overrideConfig(), UploadFromUrlTestSuite\setUp(), NewParserTest\setUp(), and ParserTest\setUp().
const CONTENT_FORMAT_CSS 'text/css' |
Definition at line 297 of file Defines.php.
Referenced by CssContentHandler\__construct(), RevisionTest\dataGetContentFormat(), ResourceLoaderWikiModule\getContent(), and CssContentHandlerTest\testMakeRedirectContent().
const CONTENT_FORMAT_HTML 'text/html' |
Definition at line 301 of file Defines.php.
const CONTENT_FORMAT_JAVASCRIPT 'text/javascript' |
Definition at line 295 of file Defines.php.
Referenced by JavaScriptContentHandler\__construct(), ContentHandlerTest\dataMakeContent(), ResourceLoaderWikiModule\getContent(), RevisionStorageTest\testGetContentFormat(), and JavaScriptContentHandlerTest\testMakeRedirectContent().
const CONTENT_FORMAT_JSON 'application/json' |
Definition at line 305 of file Defines.php.
Referenced by JsonContentHandler\__construct().
const CONTENT_FORMAT_SERIALIZED 'application/vnd.php.serialized' |
Definition at line 303 of file Defines.php.
const CONTENT_FORMAT_TEXT 'text/plain' |
Definition at line 299 of file Defines.php.
Referenced by RevisionTestModifyableContentHandler\__construct().
Content formats, used by Content and ContentHandler. These should be MIME types, and will be exposed in the API and XML dumps.
Extensions are free to use the below formats, or define their own. It is recommended to stick with the conventions for MIME types.
Definition at line 293 of file Defines.php.
Referenced by WikitextContentHandler\__construct(), RevisionTest\dataGetContentFormat(), WikitextContentHandlerTest\dataIsSupportedFormat(), ContentHandlerTest\dataMakeContent(), WikitextContentHandlerTest\testSerializeContent(), and WikitextContentHandlerTest\testUnserializeContent().
const CONTENT_FORMAT_XML 'application/xml' |
Definition at line 307 of file Defines.php.
const CONTENT_MODEL_CSS 'css' |
Definition at line 280 of file Defines.php.
Referenced by RevisionTest\dataGetContentFormat(), TitleMethodsTest\dataGetContentModel(), RevisionTest\dataGetContentModel(), ContentHandlerTest\dataGetDefaultModelFor(), ContentHandlerTest\dataMakeContent(), EditPage\getPreviewText(), Title\isCssJsSubpage(), Title\isCssOrJsPage(), Title\isCssSubpage(), ContentHandlerTest\provideGetModelForID(), ContentHandlerTest\setUp(), TextContentTest\setUp(), CssContentTest\setUp(), EditPage\showIntro(), CssContentTest\testGetContentHandler(), and CssContentTest\testGetModel().
const CONTENT_MODEL_JAVASCRIPT 'javascript' |
Definition at line 279 of file Defines.php.
const CONTENT_MODEL_JSON 'json' |
const CONTENT_MODEL_TEXT 'text' |
Definition at line 281 of file Defines.php.
Referenced by TextContentTest\dataGetDeletionUpdates(), TextContentTest\dataGetParserOutput(), ContentHandlerTest\provideGetModelForID(), ContentHandlerTest\setUp(), TextContentTest\testGetContentHandler(), and TextContentTest\testGetModel().
const CONTENT_MODEL_WIKITEXT 'wikitext' |
Content model ids, used by Content and ContentHandler. These IDs will be exposed in the API and XML dumps.
Extensions that define their own content model IDs should take care to avoid conflicts. Using the extension name as a prefix is recommended, for example 'myextension-somecontent'.
Definition at line 278 of file Defines.php.
Referenced by WikitextContent\__construct(), MessageContent\__construct(), RevisionStorageTest\createPage(), TestPageProps\createPage(), TitleMethodsTest\dataGetContentModel(), RevisionTest\dataGetContentModel(), ContentHandlerTest\dataGetDefaultModelFor(), WikitextContentTest\dataGetDeletionUpdates(), WikitextContentTest\dataGetParserOutput(), WikitextContentTest\dataGetSecondaryDataUpdates(), RevisionTest\dataGetSha1(), RevisionTest\dataGetSize(), ContentHandlerTest\dataMakeContent(), ApiParse\execute(), ApiQueryRevisionsBase\extractRevisionInfo(), ApiQueryRevisionsBase\getAllowedParams(), ApiParse\getAllowedParams(), WikiPage\getAutosummary(), Revision\getContentModel(), MediaWikiTestCase\getDefaultWikitextNS(), TextPassDumper\getText(), TextContent\getWikitextForTransclusion(), FixDefaultJsonContentPages\handleRow(), MediaWikiTestCase\isWikitextNS(), Title\isWikitextPage(), LanguageConverter\parseCachedTable(), PreprocessDump\processRevision(), CompareParsers\processRevision(), ContentHandlerTest\provideGetModelForID(), WikiPageTest\provideGetParserOutput(), WikiPageTest\provideGetRedirectTarget(), WikiPageTest\provideIsCountable(), ContentHandlerTest\setUp(), TextContentTest\setUp(), WikitextContentHandlerTest\setUp(), TestPageProps\setUp(), RevisionStorageTest\setUp(), WikiPageTest\testDoDeleteArticle(), WikiPageTest\testDoDeleteUpdates(), WikiPageTest\testDoEditContent(), WikiPageTest\testDoQuickEditContent(), WikiPageTest\testExists(), RevisionStorageTest\testFetchRevision(), ContentHandlerTest\testGetAutosummary(), WikiPageTest\testGetContent(), WikiPageTestContentHandlerUseDB\testGetContentModel(), RevisionTest\testGetContentUncloned(), RevisionStorageTest\testGetNext(), RevisionStorageTest\testGetPrevious(), WikiPageTest\testGetRevision(), WikiPageTest\testGetText(), WikiPageTest\testHasViewableContent(), RevisionStorageTest\testIsCurrent(), RevisionStorageTest\testNewFromArchiveRow(), RevisionStorageTest\testNewNullRevision(), ContentHandlerTest\testSupportsCategories(), and RevisionStorageTest\testUserWasLastToEdit().
const DB_MASTER -2 |
Definition at line 47 of file Defines.php.
Referenced by SqlDataUpdate\__construct(), MergeHistory\__construct(), DbTestPreviewer\__construct(), SiteStatsInit\__construct(), Pingback\acquireLock(), BotPasswordTest\addDBData(), MediaWiki\Session\BotPasswordSessionProviderTest\addDBDataOnce(), User\addGroup(), LinkCache\addLinkObj(), LogPage\addRelations(), User\addToDatabase(), WatchedItemStore\addWatchBatchForUser(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider\beginPrimaryAuthentication(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\beginPrimaryAuthentication(), CheckStorage\check(), User\checkAndSetTouched(), Orphans\checkOrphans(), User\checkPassword(), Orphans\checkSeparation(), User\checkTemporaryPassword(), Orphans\checkWidows(), CleanupSpam\cleanupArticle(), DBSiteStore\clear(), User\clearAllNotifications(), User\clearSharedCache(), SpecialEditWatchlist\clearWatchlist(), CgzCopyTransaction\commit(), WikiPage\commitRollback(), CompressOld\compressOldPages(), CompressOld\compressPage(), CompressOld\compressWithConcat(), User\createNew(), ConvertLinks\createTempTable(), ChangeTags\defineTag(), BotPassword\delete(), SearchMySQL\delete(), Block\delete(), User\deleteNewtalk(), NukePage\deleteRevisions(), ChangeTags\deleteTagEverywhere(), Title\deleteTitleProtection(), RefreshLinks\dfnCheckInterval(), SiteStatsInit\doAllAndCommit(), WikiPage\doCreate(), PopulateRecentChangesSource\doDBUpdates(), PopulateRevisionLength\doDBUpdates(), PopulateRevisionSha1\doDBUpdates(), PopulateBacklinkNamespace\doDBUpdates(), PopulateFilearchiveSha1\doDBUpdates(), PopulateParentId\doDBUpdates(), FixExtLinksProtocolRelative\doDBUpdates(), PopulateLogUsertext\doDBUpdates(), PopulateLogSearch\doDBUpdates(), PopulateImageSha1\doDBUpdates(), DeleteOldRevisions\doDelete(), FileDeleteForm\doDelete(), WikiPage\doDeleteArticleReal(), PopulateRevisionLength\doLenUpdates(), WikiPage\doModify(), WikiPage\doQuickEditContent(), ReassignEdits\doReassignEdits(), PopulateRevisionSha1\doSha1LegacyUpdates(), PopulateRevisionSha1\doSha1Updates(), MovePageForm\doSubmit(), WikiPage\doUpdateRestrictions(), UpdateSearchIndex\doUpdateSearchIndex(), WatchedItemStore\duplicateEntry(), TidyUpBug37714\execute(), RemoveInvalidEmails\execute(), CleanupPreferences\execute(), BenchmarkDeleteTruncate\execute(), ApiSetNotificationTimestamp\execute(), DeleteRevision\execute(), DeleteSelfExternals\execute(), FixUserRegistration\execute(), PopulateContentModel\execute(), CleanupBlocks\execute(), CleanupAncientTables\execute(), DeleteDefaultMessages\execute(), MigrateUserGroup\execute(), UpdateLogging\execute(), ConvertUserOptions\execute(), InitEditCount\execute(), NukePage\execute(), RemoveUnusedAccounts\execute(), BatchedQueryRunner\execute(), UpdateRestrictions\execute(), UpdateSpecialPages\execute(), WrapOldPasswords\execute(), CleanupRemovedModules\execute(), DeleteArchivedFiles\execute(), DeleteOrphanedRevisions\execute(), InitSiteStats\execute(), AlterSharedConstraints\execute(), MwSql\execute(), UpdateArticleCount\execute(), DeleteArchivedRevisions\execute(), FixBug20757\execute(), AttachLatest\execute(), EraseArchivedFile\execute(), RenameDbPrefix\execute(), FixTimestamps\execute(), ApiStashEdit\execute(), PatchSql\execute(), DeleteBatch\execute(), RebuildFileCache\execute(), UpdateDoubleWidthSearch\execute(), RebuildTextIndex\execute(), NukeNS\execute(), SqliteMaintenance\execute(), MoveBatch\execute(), ImageBuilder\execute(), ConvertLinks\execute(), UpdateCollation\execute(), NamespaceConflictChecker\execute(), PopulateCategory\execute(), UpdateMediaWiki\execute(), RefreshImageMetadata\execute(), DeleteEqualMessages\execute(), LoggedUpdateMaintenance\execute(), UploadStash\fetchFileMetadata(), Parser\fetchScaryTemplateMaybeFromCache(), TrackBlobs\findOrphanBlobs(), RefreshLinks\fixRedirect(), DoubleRedirectJob\fixRedirects(), EditPageTest\forceRevisionDate(), ApiEditPageTest\forceRevisionDate(), FileBackendDBRepoWrapper\getBackendPaths(), EditPage\getBaseRevision(), Block\getBlocksForIPList(), DBLockManager\getConnection(), LoadBalancer\getConnection(), RevDelRevisionList\getCurrent(), SqlBagOStuff\getDB(), UserRightsProxy\getDB(), DBAccessObjectUtils\getDBOptions(), RecompressTracked\getExtDB(), UploadStash\getFile(), DoubleRedirectJob\getFinalDestination(), Title\getFirstRevision(), User\getFormerGroups(), Title\getLinksTo(), ExternalStoreDB\getMaster(), ForeignDBViaLBRepo\getMasterDB(), ForeignDBRepo\getMasterDB(), DBFileJournal\getMasterDB(), LocalRepo\getMasterDB(), JobQueueDB\getMasterDB(), Title\getNextRevisionID(), WikiPage\getOldestRevision(), Pingback\getOrCreatePingbackId(), Title\getPreviousRevisionID(), Revision\getTimestampFromId(), WatchedItemStore\getWatchedItemsForUser(), FixDefaultJsonContentPages\handleRow(), BackupReader\handleUpload(), User\idForName(), WikiRevision\importLogItem(), WikiRevision\importOldRevision(), CheckStorage\importRevision(), User\incEditCount(), User\incEditCountImmediate(), User\initEditCount(), TrackBlobs\initTrackingTable(), Block\insert(), ManualLogEntry\insert(), WikiPage\insertProtectNullRevision(), WikiPage\insertRedirectEntry(), EditPage\internalAttemptSave(), BotPassword\invalidateAllPasswordsForCentralId(), Title\invalidateCache(), HTMLCacheUpdateJob\invalidateTitles(), RemoveUnusedAccounts\isInactiveAccount(), User\isPasswordReminderThrottled(), Title\isSingleRevRedirect(), ImageCleanup\killRow(), SiteStats\loadAndLazyInit(), MessageCache\loadFromDB(), User\loadGroups(), User\loadOptions(), Revision\loadText(), WikiPage\lockAndGetLatest(), ProfilerOutputDb\log(), ChangeTags\logTagManagementAction(), LocalIdLookup\lookupCentralIds(), LocalIdLookup\lookupUserNames(), RevisionStorageTest\makeRevision(), Pingback\markSent(), LoadBalancer\masterRunningReadOnly(), EditPage\mergeChangesIntoContent(), MovePage\move(), TitleCleanup\moveIllegalPage(), TitleCleanup\moveInconsistentPage(), RecompressTracked\moveTextRow(), moveToExternal(), MovePage\moveToInternal(), Revision\newFromConds(), User\newFromConfirmationCode(), WikiPage\newFromID(), Title\newFromID(), Revision\newFromPageId(), Revision\newFromTitle(), Block\newLoad(), User\newSystemUser(), CategoryMembershipChangeJob\notifyUpdatesForRevision(), SpecialPageLanguage\onSubmit(), ImageCleanup\pokeFile(), ClassicInterwikiLookupTest\populateDB(), InterwikiTest\populateDB(), WikiPage\prepareContentForEdit(), WatchedItemStoreUnitTest\provideDbTypes(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider\providerAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\providerAllowsAuthenticationDataChange(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider\providerChangeAuthenticationData(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\providerChangeAuthenticationData(), Block\purgeExpired(), Title\purgeExpiredRestrictions(), RecentChangesUpdateJob\purgeExpiredRows(), Maintenance\purgeRedundantText(), RecentChange\reallyMarkPatrolled(), LoadBalancer\reallyOpenConnection(), RebuildRecentchanges\rebuildRecentChangesTablePass1(), RebuildRecentchanges\rebuildRecentChangesTablePass2(), RebuildRecentchanges\rebuildRecentChangesTablePass3(), RebuildRecentchanges\rebuildRecentChangesTablePass4(), RebuildRecentchanges\rebuildRecentChangesTablePass5(), QueryPage\recache(), SiteStatsInit\refresh(), Category\refreshCounts(), ChangeTagsList\reloadFromMaster(), RevDelList\reloadFromMaster(), BotPassword\removeAllPasswordsForCentralId(), User\removeGroup(), WatchlistCleanup\removeWatch(), WatchedItemStore\removeWatch(), WikiPage\replaceSectionContent(), ImportReporter\reportPage(), SpecialChangePasswordPreAuthManager\resetPasswordExpiration(), resolveStub(), CheckStorage\restoreText(), DeleteLinksJob\run(), CategoryMembershipChangeJob\run(), MediaWikiTestCase\run(), RefreshLinksJob\runForTitle(), LoadBalancer\safeWaitForMasterPos(), BotPassword\save(), RecentChange\save(), LogPage\saveContent(), ResourceLoaderModule\saveFileDependencies(), User\saveOptions(), User\saveSettings(), DBSiteStore\saveSites(), EraseArchivedFile\scrubAllVersions(), RevDelArchivedRevisionItem\setBits(), RevDelArchiveItem\setBits(), RevDelLogItem\setBits(), RevDelArchivedFileItem\setBits(), RevDelRevisionItem\setBits(), RevDelFileItem\setBits(), User\setNewpassword(), WatchedItemStore\setNotificationTimestampsForUser(), TestUser\setPasswordForUser(), User\setPasswordInternal(), TestPageProps\setProperties(), WikiPageTestContentHandlerUseDB\setUp(), RevisionTestContentHandlerUseDB\setUp(), DatabaseTest\setUp(), LinksUpdateTest\setUp(), ParserTest\setupDatabase(), RevisionDeleteUser\setUsernameBitfields(), RevDelList\setVisibility(), LogEventsList\showLogExtract(), LCStoreDB\startWrite(), RecompressTracked\syncDBs(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest\testAccountCreation(), MediaWiki\Auth\AuthManagerTest\testAccountCreation(), MediaWiki\Auth\AuthManagerTest\testAccountCreationLogging(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest\testAuthentication(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest\testAuthentication(), MediaWiki\Auth\AuthManagerTest\testAutoAccountCreation(), ApiLoginTest\testBotPassword(), EditPageTest\testCreatePageTrx(), WikiPageTest\testDoDeleteUpdates(), BotPasswordTest\testGetPassword(), LBFactoryTest\testLBFactoryMulti(), LBFactoryTest\testLBFactorySimpleServer(), LBFactoryTest\testLBFactorySimpleServers(), MediaWiki\Session\UserInfoTest\testNewFromId(), RevisionStorageTest\testNewNullRevision(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest\testProviderChangeAuthenticationData(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest\testProviderChangeAuthenticationData(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest\testProviderChangeAuthenticationDataEmail(), MultiWriteBagOStuffTest\testSetDelayed(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest\testSetPasswordResetFlag(), DatabaseTest\testStoredFunctions(), MultiWriteBagOStuffTest\testSyncMerge(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest\testTestUserCanAuthenticate(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest\testTestUserCanAuthenticate(), EditPageTest\testUpdatePageTrx(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider\testUserCanAuthenticate(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider\testUserCanAuthenticate(), RevisionStorageTest\testUserWasLastToEdit(), TrackBlobs\trackOrphanText(), TrackBlobs\trackRevisions(), SiteStatsUpdate\tryDBUpdateInternal(), ChangeTags\undefineTag(), PageArchive\undeleteRevisions(), SearchOracle\update(), SearchSqlite\update(), SearchMySQL\update(), Block\update(), RecentChangesUpdateJob\updateActiveUsers(), WikiPage\updateCategoryCounts(), User\updateNewtalk(), WatchedItemStore\updateNotificationTimestamp(), ChangeTags\updateTags(), ChangeTags\updateTagSummaryRow(), ChangeTags\updateTagsWithChecks(), Block\updateTimestamp(), SearchOracle\updateTitle(), SearchSqlite\updateTitle(), SearchMySQL\updateTitle(), ActivityUpdateJob\updateWatchlistNotification(), PopulateRevisionSha1\upgradeLegacyArchiveRow(), PopulateRevisionLength\upgradeRow(), and PopulateRevisionSha1\upgradeRow().
const DB_SLAVE -1 |
Valid database indexes Operation-based indexes
Definition at line 46 of file Defines.php.
Referenced by SpecialRandomrootpage\__construct(), MergeHistoryPager\__construct(), DeletedContribsPager\__construct(), SearchDatabase\__construct(), ImageListPager\__construct(), LogPager\__construct(), Block\__construct(), IndexPager\__construct(), SiteStatsInit\__construct(), OutputPage\addCategoryLinks(), LinkCache\addLinkObj(), MediaWikiTestCase\assertSelect(), BackupDumper\backupDb(), ImageListPager\buildQueryConds(), ImageBuilder\buildTable(), SiteStatsUpdate\cacheUpdate(), UserOptions\CHANGER(), CheckStorage\check(), Pingback\checkIfSent(), TrackBlobs\checkIntegrity(), User\checkNewtalk(), User\checkPassword(), RevisionDeleter\checkRevisionExistence(), User\checkTemporaryPassword(), RecompressTracked\checkTrackingTable(), LoginFormPreAuthManager\checkUserPasswordExpired(), CompressOld\compressWithConcat(), Title\countRevisionsBetween(), WatchedItemStore\countUnreadNotifications(), WatchedItemStore\countVisitingWatchers(), WatchedItemStore\countVisitingWatchersMultiple(), WatchedItemStore\countWatchedItems(), WatchedItemStore\countWatchers(), WatchedItemStore\countWatchersMultiple(), SearchEngineFactory\create(), Block\defaultRetroactiveAutoblock(), PrefixSearch\defaultSearchBackend(), Article\delete(), DifferenceEngine\deletedLink(), RefreshLinks\deleteLinksFromNonexistent(), RefreshLinks\dfnCheckInterval(), SpecialUndelete\diffHeader(), SpecialRedirect\dispatchLog(), RecompressTracked\doAllOrphans(), RecompressTracked\doAllPages(), UsersPager\doBatchLookups(), CategoryViewer\doCategoryQuery(), FixDefaultJsonContentPages\doDBUpdates(), SpecialExport\doExport(), PopulateRevisionLength\doLenUpdates(), SpecialRecentChangesLinked\doMainQuery(), RecompressTracked\doOrphanList(), RecompressTracked\doPage(), UserCache\doQuery(), GenderCache\doQuery(), LinkBatch\doQuery(), RefreshLinks\doRefreshLinks(), LinkHolderArray\doVariants(), Title\estimateRevisionCount(), TidyUpBug37714\execute(), RemoveInvalidEmails\execute(), StorageTypeStats\execute(), CompareParserCache\execute(), CheckBadRedirects\execute(), DumpRev\execute(), CheckImages\execute(), ClearInterwikiCache\execute(), GetSlaveServer\execute(), DeleteDefaultMessages\execute(), InitEditCount\execute(), RemoveUnusedAccounts\execute(), CheckUsernames\execute(), RebuildAll\execute(), UpdateArticleCount\execute(), MwSql\execute(), FixBug20757\execute(), ApiQueryContributions\execute(), CleanupSpam\execute(), FixDoubleRedirects\execute(), RefreshFileHeaders\execute(), OrphanStats\execute(), SpecialActiveUsers\execute(), ShowSiteStats\execute(), DumpLinks\execute(), PurgeChangedPages\execute(), RebuildFileCache\execute(), FetchText\execute(), ResetUserTokens\execute(), UpdateCollation\execute(), PurgeChangedFiles\execute(), GenerateSitemap\execute(), QueryPage\fetchFromCache(), UploadDumper\fetchLocal(), Revision\fetchRevision(), HistoryAction\fetchRevisions(), Parser\fetchScaryTemplateMaybeFromCache(), UploadDumper\fetchUsed(), TitleCleanup\fileExists(), TrackBlobs\findOrphanBlobs(), User\findUsersByGroup(), RecompressTracked\finishIncompleteMoves(), Language\formatExpiry(), DoubleRedirectsPage\formatResult(), LCStoreDB\get(), MediaWiki\Interwiki\ClassicInterwikiLookup\getAllPrefixesDB(), PageProps\getAllProperties(), Title\getAuthorsBetween(), FileBackendDBRepoWrapper\getBackendPaths(), SpecialBlockList\getBlockListPager(), Block\getBlocksForIPList(), Title\getBrokenLinksFrom(), QueryPage\getCachedTimestamp(), Title\getCascadeProtectionSources(), WikiPage\getCategories(), WatchedItemQueryService\getConnection(), LoadBalancer\getConnection(), WikiPage\getContributors(), AllMessagesTablePager\getCustomisedStatuses(), Block\getDatabaseArray(), OrphanStats\getDB(), SqlBagOStuff\getDB(), ResourceLoaderWikiModule\getDB(), BacklinkCache\getDB(), SpecialRecentChanges\getDB(), SpecialWatchlist\getDB(), ChangesListSpecialPage\getDB(), ApiBase\getDB(), DBAccessObjectUtils\getDBOptions(), User\getEditCount(), ResourceLoaderModule\getFileDependencies(), User\getFirstEditTimestamp(), Title\getFirstRevision(), User\getFormerGroups(), SpecialBotPasswords\getFormFields(), WikiPage\getHiddenCategories(), LoadBalancer\getLaggedSlaveMode(), EditPage\getLastDelete(), PageArchive\getLastRevisionText(), SpecialExport\getLinks(), Title\getLinksFrom(), Title\getLinksTo(), DifferenceEngine\getMarkPatrolledLinkInfo(), Category\getMembers(), SpecialRandomInCategory\getMinAndMaxForCat(), WatchedItemQueryServiceUnitTest\getMockLoadBalancer(), User\getNewMessageLinks(), Title\getNextRevisionID(), WatchedItemStore\getNotificationTimestampsBatch(), WikiPage\getOldestRevision(), Pingback\getOrCreatePingbackId(), SpecialExport\getPagesFromCategory(), SpecialExport\getPagesFromNamespace(), Title\getParentCategories(), PageArchive\getPreviousRevision(), Title\getPreviousRevisionID(), PageProps\getProperties(), NewFilesPager\getQueryInfo(), BrokenRedirectsPage\getQueryInfo(), MediaStatisticsPage\getQueryInfo(), WithoutInterwikiPage\getQueryInfo(), UsersPager\getQueryInfo(), LinkSearchPage\getQueryInfo(), SpecialRandomInCategory\getQueryInfo(), ImageListPager\getQueryInfoReal(), Block\getRangeCond(), QueryPage\getRecacheDB(), Revision\getRecentChange(), Title\getRedirectsHere(), WikiPage\getRedirectTarget(), BenchmarkParse\getRevIdForTime(), PageArchive\getRevision(), FixBug20757\getRevTextMap(), Linker\getRollbackEditCount(), RollbackEdits\getRollbackTitles(), ExternalStoreDB\getSlave(), ForeignDBViaLBRepo\getSlaveDB(), LocalRepo\getSlaveDB(), JobQueueDB\getSlaveDB(), Title\getSubpages(), HistoryBlobStub\getText(), HistoryBlobCurStub\getText(), TrackBlobs\getTextClause(), PageArchive\getTextFromRow(), Revision\getTimestampFromId(), Revision\getTitle(), Title\getTitleProtection(), Title\getTouched(), PasswordReset\getUsersByEmail(), WatchedItemStore\getWatchedItemsForUser(), User\idForName(), CheckStorage\importRevision(), User\incEditCountImmediate(), User\initEditCount(), Block\initFromRow(), Category\initialize(), BackupDumper\initProgress(), Title\isBigDeletion(), WikiPage\isCountable(), PageArchive\isDeleted(), Title\isDeleted(), Title\isDeletedQuick(), RemoveUnusedAccounts\isInactiveAccount(), Title\isNewPage(), User\isPasswordReminderThrottled(), ApiStashEdit\lastEditTime(), PageArchive\listAllPages(), ChangeTags\listExplicitlyDefinedTags(), ChangeTags\listExtensionActivatedTags(), ChangeTags\listExtensionDefinedTags(), PageArchive\listFiles(), PageArchive\listPagesByPrefix(), PageArchive\listRevisions(), SiteStats\load(), ArchivedFile\load(), MediaWiki\Interwiki\ClassicInterwikiLookup\load(), SiteStats\loadAndLazyInit(), User\loadFromCache(), MessageCache\loadFromDB(), User\loadGroups(), User\loadOptions(), WikiPage\loadPageData(), Title\loadRestrictions(), Title\loadRestrictionsFromRows(), DifferenceEngine\loadRevisionData(), DBSiteStore\loadSites(), Revision\loadText(), WatchedItemStore\loadWatchedItem(), LocalIdLookup\lookupCentralIds(), LocalIdLookup\lookupUserNames(), LinkFilter\makeLikeArray(), SearchMySQL\minSearchLength(), ChangeTags\modifyDisplayQuery(), moveToExternal(), LinkSearchPage\mungeQuery(), Title\nameOf(), Revision\newFromConds(), User\newFromConfirmationCode(), WikiPage\newFromID(), Block\newFromID(), Title\newFromID(), UserArray\newFromIDs(), Title\newFromIDs(), UserArray\newFromNames(), Revision\newFromPageId(), Revision\newFromTitle(), Block\newLoad(), SiteStats\numberingroup(), SpecialPasswordResetPreAuthManager\onSubmit(), InfoAction\pageCounts(), SiteStats\pagesInNs(), ResourceLoader\preloadModuleInfo(), WatchedItemStoreUnitTest\provideDbTypes(), PurgeChangedFiles\purgeFromLogType(), PurgeList\purgeNamespace(), SpecialPagesWithProp\queryExistingProps(), ImagePage\queryImageLinks(), DoubleRedirectsPage\reallyGetQueryInfo(), MessageBlobStore\recacheMessageBlob(), LinkHolderArray\replaceInternal(), WikiPage\replaceSectionContent(), RevisionListBase\reset(), resolveStub(), resolveStubs(), CheckStorage\restoreText(), TextPassDumper\rotateDb(), CategoryMembershipChangeJob\run(), ApiQueryWatchlist\run(), CategoryFinder\run(), TableCleanup\runTable(), UserNamePrefixSearch\search(), RandomPage\selectRandomPageFromDB(), SpecialRandomInCategory\selectRandomPageFromDB(), SpecialAllPages\showChunk(), MovePageForm\showForm(), SpecialWhatLinksHere\showIndirectLinks(), Article\showPatrolFooter(), SpecialPrefixindex\showPrefixChunk(), SpecialVersion\softwareInformation(), RevDelLogList\suggestTarget(), RecompressTracked\syncDBs(), ChangeTags\tagUsageStatistics(), RevisionStorageTest\testConstructFromRow(), WikiPageTest\testDoDeleteArticle(), WikiPageTest\testDoDeleteUpdates(), WikiPageTest\testDoEdit(), WikiPageTest\testDoEditContent(), LBFactoryTest\testLBFactoryMulti(), LBFactoryTest\testLBFactorySimpleServer(), LBFactoryTest\testLBFactorySimpleServers(), RevisionStorageTest\testNewFromArchiveRow(), RevisionStorageTest\testNewFromRow(), TrackBlobs\trackOrphanText(), TrackBlobs\trackRevisions(), ResourceLoader\tryRespondFromFileCache(), UserOptions\USAGER(), and ApiTag\validateLogId().
const DBO_COMPRESS 512 |
Definition at line 39 of file Defines.php.
Referenced by DatabaseMysql\mysqlConnect(), DatabaseMysqli\mysqlConnect(), and LBFactorySimple\newMainLB().
const DBO_DDLMODE 128 |
Definition at line 37 of file Defines.php.
Referenced by DatabaseUpdater\__construct(), DatabaseOracle\addIdentifierQuotes(), OracleInstaller\createTables(), DatabaseOracle\doQuery(), DatabaseUpdater\insertUpdateRow(), DatabaseUpdater\setAppliedUpdates(), OracleInstaller\setupUser(), and DatabaseInstaller\stepApplySourceFile().
const DBO_DEBUG 1 |
Database related constants
Definition at line 30 of file Defines.php.
Referenced by DatabaseBase\debug(), and LBFactorySimple\newMainLB().
const DBO_DEFAULT 16 |
Definition at line 34 of file Defines.php.
Referenced by DatabaseBase\__construct(), LBFactorySimple\newMainLB(), DatabaseOracle\open(), and LBFactoryTest\testLBFactoryMulti().
const DBO_IGNORE 4 |
Definition at line 32 of file Defines.php.
Referenced by DatabaseBase\ignoreErrors().
const DBO_NOBUFFER 2 |
Definition at line 31 of file Defines.php.
Referenced by DatabaseBase\bufferResults().
const DBO_PERSISTENT 32 |
Definition at line 35 of file Defines.php.
Referenced by DatabaseMysql\mysqlConnect(), DatabaseMysqli\mysqlConnect(), DatabaseOracle\open(), and DatabaseSqlite\openFile().
const DBO_SSL 256 |
Definition at line 38 of file Defines.php.
Referenced by DatabaseMysql\mysqlConnect(), DatabaseMysqli\mysqlConnect(), and LBFactorySimple\newMainLB().
const DBO_SYSDBA 64 |
Definition at line 36 of file Defines.php.
Referenced by DatabaseOracle\open(), OracleInstaller\openSYSDBAConnection(), and OracleInstaller\setupUser().
const DBO_TRX 8 |
Definition at line 33 of file Defines.php.
Referenced by DatabaseBase\__construct(), CgzCopyTransaction\commit(), JobQueueDB\doAck(), JobQueueDB\doPop(), AutoCommitUpdate\doUpdate(), DBLockManager\getConnection(), DatabaseInstaller\getConnection(), SqlBagOStuff\getDB(), ExternalStoreDB\getMaster(), DBFileJournal\getMasterDB(), PostgresInstaller\getPgConnection(), ExternalStoreDB\getSlave(), DatabaseBase\query(), DatabaseBase\runOnTransactionIdleCallbacks(), DatabaseBase\startAtomic(), LBFactoryTest\testLBFactorySimpleServers(), DatabaseTest\testTransactionIdle(), and DatabaseTest\testTransactionResolution().
const EDIT_AUTOSUMMARY 64 |
Definition at line 185 of file Defines.php.
Referenced by WikiPage\doEditContent(), EditCLI\execute(), and EditPage\internalAttemptSave().
const EDIT_DEFER_UPDATES 32 |
Definition at line 184 of file Defines.php.
const EDIT_FORCE_BOT 16 |
Definition at line 183 of file Defines.php.
Referenced by WikiPage\commitRollback(), ApiQueryWatchlistIntegrationTest\doBotPageEdit(), WikiPage\doEditContent(), EditCLI\execute(), EditPage\internalAttemptSave(), and SpecialChangeContentModel\onSubmit().
const EDIT_INTERNAL 128 |
Definition at line 186 of file Defines.php.
Referenced by WikiPage\commitRollback(), WikiPage\doEditContent(), SpecialChangeContentModel\onSubmit(), and DoubleRedirectJob\run().
const EDIT_MINOR 4 |
Definition at line 181 of file Defines.php.
Referenced by WikiPage\commitRollback(), WikiPage\doCreate(), WikiPage\doEditContent(), ApiQueryWatchlistIntegrationTest\doMinorPageEdit(), WikiPage\doModify(), EditCLI\execute(), and EditPage\internalAttemptSave().
const EDIT_NEW 1 |
Article edit flags
Definition at line 179 of file Defines.php.
Referenced by ParserTest\addArticle(), MediaWikiTestCase\addCoreDBData(), SpecialMyLanguageTest\addDBDataOnce(), WikiPage\checkFlags(), Installer\createMainpage(), WikiPageTest\createPage(), RevisionStorageTest\createPage(), TestPageProps\createPage(), WikitextContentHandlerTest\dataGetAutosummary(), EditPage\internalAttemptSave(), SpecialChangeContentModel\onSubmit(), LocalFile\recordUpload2(), ApiEditPageTest\testEdit_redirect(), ApiEditPageTest\testEdit_redirectText(), ApiEditPageTest\testEditConflict(), ApiEditPageTest\testEditConflict_bug41990(), and ApiEditPageTest\testEditConflict_newSection().
const EDIT_SUPPRESS_RC 8 |
Definition at line 182 of file Defines.php.
Referenced by WikiPage\doCreate(), WikiPage\doModify(), EditCLI\execute(), LocalFile\recordUpload2(), and DoubleRedirectJob\run().
const EDIT_TOKEN_SUFFIX Token::SUFFIX |
String Some punctuation to prevent editing from broken text-mangling proxies.
const EDIT_UPDATE 2 |
Definition at line 180 of file Defines.php.
Referenced by WikiPage\checkFlags(), CleanupSpam\cleanupArticle(), WikiPage\commitRollback(), WikiPage\doEditContent(), EditPage\internalAttemptSave(), SpecialChangeContentModel\onSubmit(), DoubleRedirectJob\run(), ApiEditPageTest\testEdit_redirect(), ApiEditPageTest\testEdit_redirectText(), ApiEditPageTest\testEditConflict(), ApiEditPageTest\testEditConflict_bug41990(), ApiEditPageTest\testEditConflict_newSection(), and ArticleTablesTest\testTemplatelinksUsesContentLanguage().
const LIST_AND 1 |
Definition at line 194 of file Defines.php.
Referenced by LinksDeletionUpdate\batchDeleteByPK(), FindOrphanedFiles\checkFiles(), DatabaseBase\conditional(), DatabaseBase\delete(), DatabaseMysqlBase\deleteJoin(), DatabaseBase\deleteJoin(), LocalRepo\findFiles(), WatchedItemQueryService\getFromUntilTargetConds(), DatabaseMysqlBase\getHeartbeatData(), WatchedItemQueryServiceUnitTest\getMockDb(), Block\getRangeCond(), WatchedItemQueryService\getStartFromConds(), WatchedItemStore\getVisitingWatchersCondition(), DatabaseBase\insertSelect(), DatabaseBase\makeGroupByWithHaving(), DatabaseBase\makeList(), DatabaseBase\makeWhereFrom2d(), DatabaseSQLTest\provideMakeList(), ApiQueryAllDeletedRevisions\run(), ApiQueryAllImages\run(), DatabaseBase\selectSQLText(), WatchedItemStoreUnitTest\testCountVisitingWatchersMultiple(), WatchedItemStoreUnitTest\testCountVisitingWatchersMultiple_withMissingTargets(), WatchedItemQueryServiceUnitTest\testGetWatchedItemsForUser_fromUntilStartFromOptions(), DatabaseMssql\update(), DatabaseOracle\update(), DatabaseBase\update(), and DatabaseBase\upsert().
const LIST_COMMA 0 |
Flags for Database::makeList() These are also available as Database class constants
Definition at line 193 of file Defines.php.
Referenced by DatabaseSQLTest\provideMakeList().
const LIST_NAMES 3 |
Definition at line 196 of file Defines.php.
Referenced by DatabaseMssql\makeList(), DatabaseBase\makeList(), and DatabaseSQLTest\provideMakeList().
const LIST_OR 4 |
Definition at line 197 of file Defines.php.
Referenced by LinksDeletionUpdate\batchDeleteByPK(), FindOrphanedFiles\checkFiles(), SpecialWatchlist\doMainQuery(), ApiQueryAllUsers\execute(), LocalRepo\findFiles(), SpecialBlockList\getBlockListPager(), Block\getBlocksForIPList(), BacklinkCache\getConditions(), WatchedItemQueryService\getExtraDeletedPageLogEntryRelatedCond(), WatchedItemQueryService\getFromUntilTargetConds(), WatchedItemQueryService\getStartFromConds(), WatchedItemStore\getVisitingWatchersCondition(), WatchedItemQueryService\getWatchedItemsWithRCInfoQueryConds(), DatabaseBase\makeList(), DatabaseBase\makeWhereFrom2d(), Block\newLoad(), DatabaseSQLTest\provideMakeList(), ApiQueryAllDeletedRevisions\run(), ApiQueryAllImages\run(), ApiQueryBacklinksprop\run(), ApiQueryRecentChanges\run(), ApiQueryBacklinks\runSecondQuery(), and DatabaseBase\upsert().
const LIST_SET 2 |
Definition at line 195 of file Defines.php.
Referenced by DatabaseBase\makeList(), DatabaseSQLTest\provideMakeList(), DatabaseMssql\update(), DatabaseBase\update(), and DatabaseMysqlBase\upsert().
const MEDIATYPE_ARCHIVE 'ARCHIVE' |
Definition at line 132 of file Defines.php.
Referenced by MIMEsearchPage\getQueryInfo().
const MEDIATYPE_AUDIO 'AUDIO' |
Definition at line 119 of file Defines.php.
Referenced by NewParserTest\addDBDataOnce(), MimeMagic\getMediaType(), MIMEsearchPage\getQueryInfo(), PackedImageGallery\getThumbParams(), ParserTest\setupDatabase(), and MimeMagicTest\testOggRecognize().
const MEDIATYPE_BITMAP 'BITMAP' |
Definition at line 115 of file Defines.php.
Referenced by NewParserTest\addDBDataOnce(), MIMEsearchPage\getQueryInfo(), and ParserTest\setupDatabase().
const MEDIATYPE_DRAWING 'DRAWING' |
Definition at line 117 of file Defines.php.
Referenced by NewParserTest\addDBDataOnce(), MIMEsearchPage\getQueryInfo(), and ParserTest\setupDatabase().
const MEDIATYPE_EXECUTABLE 'EXECUTABLE' |
Definition at line 130 of file Defines.php.
Referenced by MIMEsearchPage\getQueryInfo().
const MEDIATYPE_MULTIMEDIA 'MULTIMEDIA' |
Definition at line 124 of file Defines.php.
Referenced by MimeMagic\getMediaType(), and MIMEsearchPage\getQueryInfo().
const MEDIATYPE_OFFICE 'OFFICE' |
Definition at line 126 of file Defines.php.
Referenced by MIMEsearchPage\getQueryInfo().
const MEDIATYPE_TEXT 'TEXT' |
Definition at line 128 of file Defines.php.
Referenced by MIMEsearchPage\getQueryInfo(), and MimeMagic\improveTypeFromExtension().
const MEDIATYPE_UNKNOWN 'UNKNOWN' |
Media types. This defines constants for the value returned by File::getMediaType()
Definition at line 113 of file Defines.php.
Referenced by MimeMagic\__construct(), MimeMagic\findMediaType(), File\getIsSafeFileUncached(), File\getMediaType(), MimeMagic\getMediaType(), MIMEsearchPage\getQueryInfo(), and FSFile\placeholderProps().
const MEDIATYPE_VIDEO 'VIDEO' |
Definition at line 122 of file Defines.php.
Referenced by NewParserTest\addDBDataOnce(), MimeMagic\getMediaType(), MIMEsearchPage\getQueryInfo(), and ParserTest\setupDatabase().
const MW_DATE_DEFAULT 'default' |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 159 of file Defines.php.
const MW_DATE_DMY 'dmy' |
Definition at line 161 of file Defines.php.
const MW_DATE_ISO 'ISO 8601' |
Definition at line 163 of file Defines.php.
const MW_DATE_MDY 'mdy' |
Definition at line 160 of file Defines.php.
const MW_DATE_YMD 'ymd' |
Definition at line 162 of file Defines.php.
const MW_EDITFILTERMERGED_SUPPORTS_API 1 |
Definition at line 211 of file Defines.php.
const MW_SUPPORTS_CONTENTHANDLER 1 |
Definition at line 210 of file Defines.php.
const MW_SUPPORTS_LOCALISATIONCACHE 1 |
Definition at line 209 of file Defines.php.
const MW_SUPPORTS_PARSERFIRSTCALLINIT 1 |
Unicode and normalisation related.
Hook support constants
Definition at line 208 of file Defines.php.
const NS_CATEGORY 14 |
Definition at line 83 of file Defines.php.
Referenced by UncategorizedCategoriesPage\__construct(), CategoryPager\__construct(), DumpNamespaceFilter\__construct(), OutputPage\addCategoryLinks(), ParserOutput\addTrackingCategory(), LinksUpdateTest\assertRecentChangeByCategorization(), Title\checkQuickPermissions(), CategoryViewer\doCategoryQuery(), Parser\doDoubleUnderscore(), SpecialRecentChangesLinked\doMainQuery(), LinksDeletionUpdate\doUpdate(), LinkHolderArray\doVariants(), ApiQueryCategoryInfo\execute(), UpdateCollation\execute(), WikiPage\factory(), ApiParse\formatCategoryLinks(), UncategorizedCategoriesPage\formatResult(), UnusedCategoriesPage\formatResult(), MostlinkedCategoriesPage\formatResult(), CategoryPager\formatRow(), TitleValueTest\fragmentTitleProvider(), CategoryPager\getBody(), Skin\getCategories(), WikiPage\getCategories(), LinksUpdate\getCategoryInsertions(), Skin\getCategoryLinks(), MediaWikiTestCase\getDefaultWikitextNS(), WikiFilePage\getForeignCategories(), SpecialRandomInCategory\getFormFields(), WikiPage\getHiddenCategories(), WantedFilesPage\getPageHeader(), Title\getParentCategories(), WantedCategoriesPage\getQueryInfo(), UnusedCategoriesPage\getQueryInfo(), MostlinkedCategoriesPage\getQueryInfo(), Category\getTitle(), LinksUpdate\invalidateCategories(), SearchHighlighter\linkReplace(), WikitextContentHandler\makeRedirectContent(), MovePage\move(), MovePage\moveToInternal(), Category\newFromName(), Article\newFromTitle(), CategoryMembershipChangeJob\notifyUpdatesForRevision(), WikiPage\onArticleCreate(), SpecialRandomInCategory\onSubmit(), InfoAction\pageInfo(), CoreParserFunctions\pagesincategory(), SpecialTrackingCategories\prepareTrackingCategoriesData(), MostlinkedCategoriesPage\preprocessResults(), TitleTest\provideCreateFragmentTitle(), MediaWikiTitleCodecTest\provideParseTitle(), ApiQueryTest\provideTestTitlePartToKey(), Category\refreshCounts(), Parser\replaceInternalLinks2(), ApiQueryCategories\run(), ApiQueryAllCategories\run(), ApiQueryCategoryMembers\run(), CategoryFinder\scanNextLayer(), CategoryFinder\seed(), GenerateSitemap\setNamespacePriorities(), MovePageForm\showForm(), SpecialSearch\showHit(), EditPage\showPreview(), ApiQueryWatchlistIntegrationTest\testCategorizeTypeParameter(), CategoryMembershipChangeTest\testChangeAddedNoRev(), CategoryMembershipChangeTest\testChangeAddedWithRev(), CategoryMembershipChangeTest\testChangeRemovedNoRev(), CategoryMembershipChangeTest\testChangeRemovedWithRev(), MWNamespaceTest\testGetContentNamespaces(), WikiCategoryPageTest\testHiddenCategory_PropertyIsSet(), WikiCategoryPageTest\testHiddenCategory_PropertyNotSet(), RecentChangeTest\testHiddenCategoryChange(), MWNamespaceTest\testIsContent(), ApiQueryAllPagesTest\testPrefixNormalizationSearchBug(), ExtraParserTest\testTrackingCategory(), Title\touchLinks(), WikiPage\updateCategoryCounts(), and CategoryPage\view().
const NS_CATEGORY_TALK 15 |
Definition at line 84 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), GenerateSitemap\setNamespacePriorities(), and EditPage\showConflict().
const NS_FILE 6 |
Definition at line 75 of file Defines.php.
Referenced by FakeDimensionFile\__construct(), ApiQueryAllLinks\__construct(), DumpNamespaceFilter\__construct(), FileRepo\__construct(), NewParserTest\addDBDataOnce(), ParserOutput\addLink(), UploadForm\addUploadJS(), SkinTemplate\buildContentNavigationUrls(), ImageCleanup\buildSafeTitle(), RevertAction\checkCanExecute(), FindOrphanedFiles\checkFiles(), Title\checkQuickPermissions(), LocalRepo\checkRedirect(), UploadBase\checkWarnings(), UploadFromUrlTest\deleteFile(), ApiTestCaseUpload\deleteFileByFileName(), ApiTestCaseUpload\deleteFileByTitle(), SpecialRedirect\dispatchFile(), CategoryViewer\doCategoryQuery(), WikiPage\doDeleteUpdates(), SpecialRecentChangesLinked\doMainQuery(), MovePageForm\doSubmit(), ApiMove\execute(), FindMissingFiles\execute(), ApiQueryFilearchive\execute(), ApiDelete\execute(), ApiQueryImageInfo\execute(), DeleteBatch\execute(), UpdateCollation\execute(), FileDuplicateSearchPage\execute(), SpecialUndelete\execute(), WikiPage\factory(), ForeignAPIRepo\findBySha1(), FileRepo\findFile(), LocalRepo\findFiles(), WikiFilePage\followRedirect(), Linker\formatLinksInComment(), NewFilesPager\formatRow(), ImageListPager\formatValue(), BacklinkCache\getCascadeProtectedLinks(), Title\getCascadeProtectionSources(), LinksUpdate\getCategoryInsertions(), ApiUpload\getChunkResult(), MediaWikiTestCase\getDefaultWikitextNS(), ForeignDBFile\getDescriptionShortUrl(), ForeignDBFile\getDescriptionText(), EditPage\getEditToolbar(), SpecialWhatLinksHere\getFilterPanel(), ImagePageTest\getImagePage(), ImagePage404Test\getImagePage(), FileRepo\getNameFromTitle(), SearchNearMatcher\getNearMatchInternal(), SearchUpdate\getNormalizedTitle(), ApiImageRotate\getPageSet(), ApiQueryInfo\getProtectionInfo(), MostimagesPage\getQueryInfo(), UnusedimagesPage\getQueryInfo(), UncategorizedImagesPage\getQueryInfo(), NewFilesPager\getQueryInfo(), MIMEsearchPage\getQueryInfo(), ListDuplicatedFilesPage\getQueryInfo(), WantedFilesPage\getQueryInfo(), File\getRedirectedTitle(), WikiFilePage\getRedirectTarget(), Title\getRestrictionTypes(), SpecialSearch\getSearchProfiles(), UploadBase\getTitle(), SpecialUpload\getUploadForm(), SpecialUpload\getWatchCheck(), SearchHighlighter\highlightText(), ImagePage\imageLinks(), SearchResult\initFromTitle(), EditPage\internalAttemptSave(), LinksUpdate\invalidateImageDescriptions(), Title\isAlwaysKnown(), MWNamespace\isCapitalized(), Title\isDeleted(), Title\isDeletedQuick(), MWNamespace\isMovable(), MovePage\isValidFileMove(), MovePage\isValidMove(), MovePage\isValidMoveTarget(), Title\isValidMoveTarget(), SearchHighlighter\linkReplace(), PageArchive\listFiles(), ArchivedFile\load(), ArchivedFile\loadFromRow(), Linker\makeThumbLink2(), MovePage\move(), ForeignDBFile\newFromRow(), OldLocalFile\newFromRow(), LocalFile\newFromRow(), ArchivedFile\newFromRow(), Article\newFromTitle(), SearchEngine\normalizeNamespaces(), File\normalizeTitle(), WikiPage\onArticleDelete(), ImageQueryPage\outputResults(), ImageCleanup\pageExists(), InfoAction\pageInfo(), MediaWiki\parseTitle(), ApiUpload\performUpload(), ImageCleanup\pokeFile(), FileDuplicateSearchPage\prefixSearchSubpages(), TitleCleanup\processRow(), ImageCleanup\processRow(), LanguageTest\provideGetNamespaceAliases(), UploadLogFormatterTest\provideOverwriteLogDatabaseRows(), MediaWikiTitleCodecTest\provideParseTitle(), UploadLogFormatterTest\provideRevertLogDatabaseRows(), TestSample\provideTitles(), UploadLogFormatterTest\provideUploadLogDatabaseRows(), PurgeChangedFiles\purgeFromLogType(), LinksUpdate\queueRecursiveJobs(), Category\refreshCounts(), Parser\renderImageGallery(), Parser\replaceInternalLinks2(), ApiQueryImages\run(), ApiQueryDuplicateFiles\run(), ApiQueryAllImages\run(), ApiQueryBacklinks\run(), ApiQueryBacklinks\runSecondQuery(), PrefixSearch\searchBackend(), GenerateSitemap\setNamespacePriorities(), UploadFromUrlTestSuite\setUp(), NewParserTest\setUp(), ParserTest\setUp(), ParserTest\setupDatabase(), SpecialSearch\showHit(), SpecialWhatLinksHere\showIndirectLinks(), EditPage\showIntro(), Article\showPatrolFooter(), SpecialSearch\showResults(), SpecialUpload\showUploadWarning(), SpecialUpload\showViewDeletedLinks(), SpecialSearch\startsWithImage(), MWNamespaceTest\testIsCapitalizedHardcodedAssertions(), TitlePermissionTest\testQuickPermissions(), TraditionalImageGallery\toHTML(), PageArchive\undelete(), SpecialUndelete\undelete(), PageArchive\undeleteRevisions(), WikiPage\updateCategoryCounts(), WikiPage\updateRedirectOn(), CoreParserFunctions\urlFunction(), ApiFileRevert\validateParameters(), ImagePage\view(), wfStreamThumb(), SkinTemplate\wrapHTML(), and XmlDumpWriter\writeUploads().
const NS_FILE_TALK 7 |
Definition at line 76 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWikiTitleCodecTest\provideParseTitle(), GenerateSitemap\setNamespacePriorities(), UploadFromUrlTestSuite\setUp(), NewParserTest\setUp(), and ParserTest\setUp().
const NS_HELP 12 |
Definition at line 81 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWikiTestCase\getDefaultWikitextNS(), GenerateSitemap\setNamespacePriorities(), TitlePermissionTest\testActionPermissions(), and TitlePermissionTest\testUserBlock().
const NS_HELP_TALK 13 |
Definition at line 82 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), and GenerateSitemap\setNamespacePriorities().
const NS_IMAGE NS_FILE |
NS_IMAGE and NS_IMAGE_TALK are the pre-v1.14 names for NS_FILE and NS_FILE_TALK respectively, and are kept for compatibility.
When writing code that should be compatible with older MediaWiki versions, either stick to the old names or define the new constants yourself, if they're not defined already.
Definition at line 94 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct().
const NS_IMAGE_TALK NS_FILE_TALK |
Definition at line 95 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct().
const NS_MAIN 0 |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see bug #696 which talked about that.
Definition at line 69 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), BackupDumperLoggerTest\addDBData(), PrefixSearchTest\addDBDataOnce(), SearchEnginePrefixTest\addDBDataOnce(), SearchEngineTest\addDBDataOnce(), TitleValueTest\badConstructorProvider(), buildCommonApiParams(), Title\canExist(), MWNamespace\canTalk(), TextPassDumperDatabaseTest\checkpointHelper(), Title\checkReadPermissions(), Title\checkSpecialsAndNSPermissions(), LanguageConverter\convertNamespace(), LanguageConverter\convertTitle(), ApiPageSetTest\createPageSetWithRedirect(), PrefixSearch\defaultSearchBackend(), SpecialLog\execute(), WithoutInterwikiPage\execute(), SpecialExport\execute(), LogFormatterTestCase\expandDatabaseRow(), SearchEngineTest\fetchIds(), LanguageConverter\findVariantLink(), TitleValueTest\fragmentTitleProvider(), ParserTest\fuzzTest(), ApiQueryAllPages\getAllowedParams(), ApiQueryDeletedrevs\getAllowedParams(), MWNamespace\getCanonicalNamespaces(), MWNamespace\getContentNamespaces(), MediaWikiTestCase\getDefaultWikitextNS(), Linker\getInvalidTitleDescription(), EditWatchlistNormalHTMLForm\getLegend(), SpecialEditWatchlist\getNormalForm(), RandomPage\getNsList(), WantedFilesPage\getPageHeader(), MWNamespace\getSubject(), NamespaceConflictChecker\getTargetList(), User\getTokenUrl(), Languages\getUntranslatedNamespaces(), Title\isAlwaysKnown(), MWNamespace\isContent(), MWNamespace\isMethodValidFor(), MWNamespace\isMovable(), MWNamespace\isTalk(), MWNamespace\isWatchable(), MediaWiki\main(), Html\namespaceSelectorOptions(), Title\newFromTextThrow(), SearchEngine\normalizeNamespaces(), SpecialListGroupRights\outputNamespaceProtectionInfo(), TitleTest\provideCreateFragmentTitle(), DeleteLogFormatterTest\provideDeleteLogDatabaseRows(), DeleteLogFormatterTest\provideEventLogDatabaseRows(), MediaWikiTitleCodecTest\provideFormat(), MediaWikiTitleCodecTest\provideGetFullText(), MediaWikiTitleCodecTest\provideGetNamespaceName(), MediaWikiTitleCodecTest\provideGetPrefixedDBkey(), MediaWikiTitleCodecTest\provideGetPrefixedText(), TitleTest\provideGetPrefixedText(), MediaWikiTitleCodecTest\provideGetText(), TitleMethodsTest\provideHasSubjectNamespace(), TitleMethodsTest\provideInNamespace(), ImportLogFormatterTest\provideInterwikiLogDatabaseRows(), WikitextContentHandlerTest\provideMakeRedirectContent(), MergeLogFormatterTest\provideMergeLogDatabaseRows(), ProtectLogFormatterTest\provideModifyLogDatabaseRows(), MoveLogFormatterTest\provideMoveLogDatabaseRows(), ProtectLogFormatterTest\provideMoveProtLogDatabaseRows(), MoveLogFormatterTest\provideMoveRedirLogDatabaseRows(), SpecialRecentchangesTest\provideNamespacesAssociations(), TitleTest\provideNewFromTitleValue(), PageLangLogFormatterTest\providePageLangLogDatabaseRows(), MediaWikiTitleCodecTest\provideParseTitle(), PatrolLogFormatterTest\providePatrolLogDatabaseRows(), ProtectLogFormatterTest\provideProtectLogDatabaseRows(), DeleteLogFormatterTest\provideRestoreLogDatabaseRows(), DeleteLogFormatterTest\provideRevisionLogDatabaseRows(), DeleteLogFormatterTest\provideSuppressDeleteLogDatabaseRows(), DeleteLogFormatterTest\provideSuppressEventLogDatabaseRows(), DeleteLogFormatterTest\provideSuppressRevisionLogDatabaseRows(), ApiQueryTest\provideTestTitlePartToKey(), ProtectLogFormatterTest\provideUnprotectLogDatabaseRows(), ImportLogFormatterTest\provideUploadLogDatabaseRows(), GlobalWithDBTest\provideWfIsBadImageList(), SearchExactMatchRescorer\rescore(), PrefixSearch\search(), SearchEngineConfig\searchableNamespaces(), Title\secureAndSplit(), RandomPage\setNamespace(), GenerateSitemap\setNamespacePriorities(), WikiImporter\setTargetRootPage(), ArticleTest\setUp(), MWNamespaceTest\setUp(), TitlePermissionTest\setUp(), PrefixSearchTest\setUp(), SearchEnginePrefixTest\setUp(), NewParserTest\setupGlobals(), SpecialAllPages\showChunk(), EditPage\showConflict(), SpecialPrefixindex\showPrefixChunk(), MediaWikiTitleCodec\splitTitleString(), TitlePermissionTest\testActionPermissions(), MWNamespaceTest\testCanTalk(), TitlePermissionTest\testCascadingSourcesRestrictions(), MWNamespaceTest\testEquals(), SpecialMyLanguageTest\testFindTitle(), MediaWikiTitleCodecTest\testFormat(), NewParserTest\testFuzzTests(), MWNamespaceTest\testGetAssociated(), MWNamespaceTest\testGetContentNamespaces(), LinkRendererTest\testGetLinkClasses(), LinkerTest\testGetLinkColour(), MWNamespaceTest\testGetSubject(), MWNamespaceTest\testGetSubjectNamespaces(), MWNamespaceTest\testGetTalk(), MWNamespaceTest\testGetTalkNamespaces(), TitleValueTest\testGetText(), MWNamespaceTest\testHasGenderDistinction(), MWNamespaceTest\testHasSubpages(), TitleMethodsTest\testInNamespaces(), TitleTest\testIsAlwaysKnownOnInterwiki(), MWNamespaceTest\testIsContent(), MWNamespaceTest\testIsContentAdvanced(), MWNamespaceTest\testIsSubject(), MWNamespaceTest\testIsTalk(), MWNamespaceTest\testIsWatchable(), LinkRendererTest\testMakeBrokenLink(), LinkRendererTest\testMakeKnownLink(), TitlePermissionTest\testPageRestrictions(), NewParserTest\testParserTest(), MediaWikiTitleCodecTest\testParseTitle(), MediaWikiTitleCodecTest\testParseTitle_invalid(), TextPassDumperDatabaseTest\testPlain(), TextPassDumperDatabaseTest\testPrefetchPlain(), TitlePermissionTest\testQuickPermissions(), SpecialRecentchangesTest\testRcNsFilter(), SpecialRecentchangesTest\testRcNsFilterInversion(), TitlePermissionTest\testSpecialsAndNSPermissions(), MWNamespaceTest\testSubjectEquals(), LinksUpdateTest\testUpdate_iwlinks(), LinksUpdateTest\testUpdate_pagelinks(), PrefixSearch\validateNamespaces(), and SpecialEditWatchlist\watchTitles().
const NS_MEDIA -2 |
Virtual namespaces; don't appear in the page database
Definition at line 57 of file Defines.php.
Referenced by ParserOutput\addLink(), WikiPage\factory(), Linker\formatLinksInComment(), EditPage\getEditToolbar(), SearchNearMatcher\getNearMatchInternal(), MediaStatisticsPage\getQueryInfo(), Title\isAlwaysKnown(), MWNamespace\isCapitalized(), Article\newFromTitle(), SearchEngine\normalizeNamespaces(), File\normalizeTitle(), ApiQuery\outputGeneralPageInfo(), MediaWiki\parseTitle(), TitleTest\provideGetPrefixedText(), TestSample\provideTitles(), PrefixSearch\searchBackend(), TitlePermissionTest\testActionPermissions(), MWNamespaceTest\testCanTalk(), MWNamespaceTest\testGetAssociatedExceptionsForNsMedia(), MWNamespaceTest\testGetSubject(), MWNamespaceTest\testGetSubjectNamespaces(), MWNamespaceTest\testGetTalkExceptionsForNsMedia(), MWNamespaceTest\testGetTalkNamespaces(), MWNamespaceTest\testHasGenderDistinction(), MWNamespaceTest\testHasSubpages(), MWNamespaceTest\testIsCapitalizedHardcodedAssertions(), MWNamespaceTest\testIsContent(), MWNamespaceTest\testIsSubject(), MWNamespaceTest\testIsTalk(), MWNamespaceTest\testIsWatchable(), MWNamespaceTest\testSpecialAndMediaAreDifferentSubjects(), TestSample\testTitleObjectStringConversion(), and CoreParserFunctions\urlFunction().
const NS_MEDIAWIKI 8 |
Definition at line 77 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), AllMessagesTablePager\__construct(), ApiFormatXml\addXslt(), SkinTemplate\buildContentNavigationUrls(), ChangeTags\canCreateTag(), Title\checkSpecialsAndNSPermissions(), FixDefaultJsonContentPages\doDBUpdates(), WikiPage\doEditUpdates(), WikiPage\doPurge(), ApiEditPage\execute(), DeleteDefaultMessages\execute(), ImportSiteScripts\execute(), UpdateRestrictions\execute(), NukeNS\execute(), DeleteEqualMessages\execute(), AllMessagesTablePager\formatValue(), Article\getContentObject(), EditPage\getContentObject(), AllMessagesTablePager\getCustomisedStatuses(), Title\getDefaultMessageText(), MediaWikiTestCase\getDefaultWikitextNS(), MessageCache\getMsgFromNamespace(), SearchNearMatcher\getNearMatchInternal(), UnwatchedpagesPage\getQueryInfo(), WantedPagesPage\getQueryInfo(), RawAction\getRawText(), Message\getTitle(), Title\hasSourceText(), EditPage\internalAttemptSave(), Title\isAlwaysKnown(), Title\isConversionTable(), Title\isCssOrJsPage(), MessageCache\loadFromDB(), MessageCacheTest\makePage(), WikiPage\onArticleDelete(), LanguageConverter\parseCachedTable(), SpecialTrackingCategories\prepareTrackingCategoriesData(), EditPage\setHeaders(), GenerateSitemap\setNamespacePriorities(), UploadFromUrlTestSuite\setUp(), TitlePermissionTest\setUp(), NewParserTest\setUp(), ParserTest\setUp(), ParserTest\setupGlobals(), EditPage\showDiff(), EditPage\showIntro(), Article\showMissingArticle(), Parser\statelessFetchTemplate(), MWNamespaceTest\testIsCapitalizedHardcodedAssertions(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinkOverrides(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinks(), TitlePermissionTest\testSpecialsAndNSPermissions(), and LanguageConverter\updateConversionTable().
const NS_MEDIAWIKI_TALK 9 |
Definition at line 78 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), DeleteEqualMessages\execute(), AllMessagesTablePager\formatValue(), AllMessagesTablePager\getCustomisedStatuses(), and GenerateSitemap\setNamespacePriorities().
const NS_PROJECT 4 |
Definition at line 73 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), SpecialListGroupRights\execute(), MediaWikiTestCase\getDefaultWikitextNS(), SpecialStatistics\getGroupStats(), Language\getNamespaces(), LogFormatterTest\provideApiParamFormatting(), GenerateSitemap\setNamespacePriorities(), SpecialBookSources\showList(), WebInstallerName\submit(), MWNamespaceTest\testEquals(), TitleTest\testExists(), TitleMethodsTest\testInNamespaces(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinkOverrides(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinks(), TitlePermissionTest\testPageRestrictions(), TitlePermissionTest\testQuickPermissions(), MWNamespaceTest\testSubjectEquals(), and wfInstallerMain().
const NS_PROJECT_TALK 5 |
Definition at line 74 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), Language\getNamespaceAliases(), Language\getNamespaces(), Languages\getProblematicProjectTalks(), GenerateSitemap\setNamespacePriorities(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinkOverrides(), and MWNamespaceTest\testIsCapitalizedWithWgCapitalLinks().
const NS_SPECIAL -1 |
Definition at line 58 of file Defines.php.
Referenced by JobSpecification\__construct(), ParserOutput\addLink(), LinkCache\addLinkObj(), ParserOutput\addTrackingCategory(), RCCacheEntryFactory\buildCLink(), Title\checkSpecialsAndNSPermissions(), SearchEngine\completionSearchBackend(), PrefixSearch\defaultSearchBackend(), CdnCacheUpdate\doUpdate(), LinkHolderArray\doVariants(), TidyUpBug37714\execute(), Title\fixSpecialName(), OldChangesList\formatChangeLine(), RCCacheEntryFactoryTest\getContext(), ApiErrorFormatter\getDummyTitle(), OutputPage\getJSVars(), IRCColourfulRCFeedFormatter\getLine(), ApiDocumentationTest\getMain(), SpecialPage\getSafeTitleFor(), TestRecentChangesHelper\getTestContext(), SpecialPage\getTitleFor(), SpecialPageTest\getTitleForWithWarningProvider(), Title\isAlwaysKnown(), Title\isSpecialPage(), MediaWiki\main(), MediaWiki\Linker\LinkRenderer\makeBrokenLink(), EnqueueJob\newFromJobsByWiki(), Linker\normaliseSpecialPage(), MessageCache\parse(), MediaWiki\performRequest(), LinkHolderArray\replaceInternal(), PrefixSearch\searchBackend(), Title\secureAndSplit(), SpecialMIMESearchTest\setUp(), CoreParserFunctions\special(), PrefixSearch\specialSearch(), MediaWikiTitleCodec\splitTitleString(), MWNamespaceTest\testCanTalk(), MWNamespaceTest\testEquals(), MWNamespaceTest\testGetAssociatedExceptionsForNsSpecial(), MWNamespaceTest\testGetSubject(), MWNamespaceTest\testGetSubjectNamespaces(), MWNamespaceTest\testGetTalkExceptionsForNsSpecial(), MWNamespaceTest\testGetTalkNamespaces(), SpecialPageTest\testGetTitleFor(), SpecialPageFactoryTest\testGetTitleForAlias(), MWNamespaceTest\testHasGenderDistinction(), MWNamespaceTest\testHasSubpages(), SpecialPageTest\testInvalidGetTitleFor(), MWNamespaceTest\testIsCapitalizedHardcodedAssertions(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinkOverrides(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinks(), MWNamespaceTest\testIsContent(), MWNamespaceTest\testIsMovable(), MWNamespaceTest\testIsSubject(), MWNamespaceTest\testIsTalk(), MWNamespaceTest\testIsWatchable(), LinkRendererTest\testMakeBrokenLink(), LinkRendererTest\testMakeLink(), LinkRendererTest\testMergeAttribs(), SpecialSearchTest\testRewriteQueryWithSuggestion(), MWNamespaceTest\testSpecialAndMediaAreDifferentSubjects(), TitlePermissionTest\testSpecialsAndNSPermissions(), MWNamespaceTest\testSubjectEquals(), and SkinTemplate\wrapHTML().
const NS_TALK 1 |
Definition at line 70 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), BackupDumperPageTest\addDBData(), TextPassDumperDatabaseTest\addDBData(), BackupDumperLoggerTest\addDBData(), TextPassDumperDatabaseTest\checkpointHelper(), TitleValueTest\fragmentTitleProvider(), NamespaceConflictChecker\getDestinationTitle(), NamespaceConflictChecker\getTargetList(), TitleTest\provideCreateFragmentTitle(), TitleMethodsTest\provideHasSubjectNamespace(), TitleMethodsTest\provideInNamespace(), SpecialRecentchangesTest\provideNamespacesAssociations(), MediaWikiTitleCodecTest\provideParseTitle(), GenerateSitemap\setNamespacePriorities(), MWNamespaceTest\setUp(), MediaWikiTitleCodec\splitTitleString(), MWNamespaceTest\testCanTalk(), MWNamespaceTest\testEquals(), MWNamespaceTest\testGetAssociated(), MWNamespaceTest\testGetSubject(), MWNamespaceTest\testGetSubjectNamespaces(), MWNamespaceTest\testGetTalk(), MWNamespaceTest\testGetTalkNamespaces(), MWNamespaceTest\testHasGenderDistinction(), MWNamespaceTest\testHasSubpages(), MWNamespaceTest\testIsContent(), MWNamespaceTest\testIsSubject(), MWNamespaceTest\testIsTalk(), MWNamespaceTest\testIsWatchable(), TextPassDumperDatabaseTest\testPlain(), BackupDumperLoggerTest\testPlain(), TextPassDumperDatabaseTest\testPrefetchPlain(), TitlePermissionTest\testQuickPermissions(), MWNamespaceTest\testSubjectEquals(), LinksUpdateTest\testUpdate_pagelinks(), and BackupDumperLoggerTest\testXmlDumpsBackupUseCaseLogging().
const NS_TEMPLATE 10 |
Definition at line 79 of file Defines.php.
Referenced by UncategorizedTemplatesPage\__construct(), ApiQueryAllLinks\__construct(), DumpNamespaceFilter\__construct(), ApiQueryBasicTest\addDBDataOnce(), Parser\braceSubstitution(), MysqlUpdater\doTemplatelinksUpdate(), UnusedtemplatesPage\formatResult(), WantedTemplatesPage\getQueryInfo(), UnusedtemplatesPage\getQueryInfo(), TitleMethodsTest\provideHasSubjectNamespace(), TitleMethodsTest\provideInNamespace(), GenerateSitemap\setNamespacePriorities(), MWNamespaceTest\testEquals(), TitleMethodsTest\testInNamespaces(), MWNamespaceTest\testIsNonincludable(), MWNamespaceTest\testSubjectEquals(), and LinksUpdateTest\testUpdate_templatelinks().
const NS_TEMPLATE_TALK 11 |
Definition at line 80 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), and GenerateSitemap\setNamespacePriorities().
const NS_USER 2 |
Definition at line 71 of file Defines.php.
const NS_USER_TALK 3 |
Definition at line 72 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), EmailNotification\actuallyNotifyOnPageChange(), EmailNotification\canSendUserTalkEmail(), User\clearNotification(), FileDuplicateSearchPage\doBatchLookups(), UsersPager\doBatchLookups(), ContribsPager\doBatchLookups(), HistoryPager\doBatchLookups(), WikiPage\doEditUpdates(), UserCache\doQuery(), ChangesListSpecialPage\execute(), SrConverter\findVariantLink(), ShiConverter\findVariantLink(), IuConverter\findVariantLink(), KuConverter\findVariantLink(), KkConverter\findVariantLink(), ImageHistoryPseudoPager\getBody(), NewUsersLogFormatter\getPreloadTitles(), WantedPagesPage\getQueryInfo(), SpecialMytalk\getRedirect(), Article\getRobotPolicy(), MergeHistoryPager\getStartBody(), NewPagesPager\getStartBody(), LogPager\getStartBody(), MWNamespace\hasGenderDistinction(), EditPage\importFormData(), User\isBlockedFrom(), Language\needsGenderDistinction(), EmailNotification\notifyOnPageChange(), WikiPage\onArticleDelete(), BlockListPager\preprocessResults(), ProtectedPagesPager\preprocessResults(), MediaWikiTitleCodecTest\provideFormat(), MediaWikiTitleCodecTest\provideGetFullText(), MediaWikiTitleCodecTest\provideGetPrefixedDBkey(), MediaWikiTitleCodecTest\provideGetPrefixedText(), TitleMethodsTest\provideHasSubjectNamespace(), TitleMethodsTest\provideInNamespace(), GenerateSitemap\setNamespacePriorities(), MWNamespaceTest\setUp(), SpecialUndelete\showHistory(), EditPage\showIntro(), Article\showMissingArticle(), Article\showViewFooter(), MediaWikiTitleCodec\splitTitleString(), MWNamespaceTest\testCanTalk(), MWNamespaceTest\testEquals(), MWNamespaceTest\testGetSubject(), MWNamespaceTest\testGetTalk(), MWNamespaceTest\testHasGenderDistinction(), MWNamespaceTest\testHasSubpages(), MWNamespaceTest\testIsSubject(), MWNamespaceTest\testIsTalk(), MWNamespaceTest\testSubjectEquals(), and Linker\userTalkLink().
const OT_HTML 1 |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse(). Use of Parser consts is preferred:
Definition at line 227 of file Defines.php.
Referenced by Parser\parse(), and Parser\setOutputType().
const OT_MSG 3 |
Definition at line 230 of file Defines.php.
const OT_PLAIN 4 |
Definition at line 231 of file Defines.php.
Referenced by Parser\extractSections(), Parser\getPreloadText(), and Parser\setOutputType().
const OT_PREPROCESS 3 |
Definition at line 229 of file Defines.php.
Referenced by Parser\cleanSig(), Parser\preprocess(), Parser\setOutputType(), and Parser\testPreprocess().
const OT_WIKI 2 |
Definition at line 228 of file Defines.php.
Referenced by Parser\formatHeadings(), Parser\preSaveTransform(), and Parser\setOutputType().
const PROTO_CANONICAL 1 |
Definition at line 266 of file Defines.php.
Referenced by ApiQueryExternalLinks\execute(), ApiQueryInfo\extractPageInfo(), File\getCanonicalUrl(), Title\getCanonicalURL(), OutputPage\getHeadLinksArray(), SpecialUploadStash\outputRemoteScaledThumb(), WfExpandUrlTest\provideExpandableUrls(), ApiQueryExtLinksUsage\run(), UserMailer\sendInternal(), File\transform(), and wfExpandUrl().
const PROTO_CURRENT null |
Definition at line 265 of file Defines.php.
Referenced by ApiQuerySiteinfo\appendGeneralInfo(), ApiQuerySiteinfo\appendInterwikiMap(), ApiQuerySiteinfo\appendRightsInfo(), SpecialUserLogin\beforeExecute(), SpecialRedirect\dispatchUser(), SpecialApiHelp\execute(), ApiQueryLangLinks\execute(), ApiQueryIWLinks\execute(), ApiQueryInfo\extractPageInfo(), ApiParse\formatIWLinks(), ApiParse\formatLangLinks(), RevertAction\getFormFields(), WebRequest\getFullRequestURL(), ApiQueryImageInfo\getInfo(), ApiPageSet\getInterwikiTitlesAsResult(), ApiRsd\getRsdApiList(), FeedItem\getUniqueId(), RevertAction\onSuccess(), RSSFeed\outHeader(), RSSFeed\outItem(), OutputPage\output(), FileDeleteForm\prepareMessage(), WfExpandUrlTest\provideExpandableUrls(), ApiOpenSearch\search(), SearchSuggestion\setSuggestedTitle(), MediaWiki\tryNormaliseRedirect(), wfExpandUrl(), and wfStreamThumb().
const PROTO_HTTP 'http://' |
Protocol constants for wfExpandUrl()
Definition at line 262 of file Defines.php.
Referenced by MWHttpRequest\__construct(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), LoginFormPreAuthManager\executeReturnTo(), Title\getInternalURL(), MediaWiki\Linker\LinkRenderer\getLegacyOptions(), ForeignAPIRepo\httpGet(), LinkRendererFactoryTest\provideCreateFromLegacyOptions(), WfExpandUrlTest\provideExpandableUrls(), LoginHelper\showReturnToPage(), and wfExpandUrl().
const PROTO_HTTPS 'https://' |
Definition at line 263 of file Defines.php.
Referenced by SpecialPage\checkLoginSecurityLevel(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), SpecialLinkAccounts\execute(), LoginSignupSpecialPage\execute(), LoginFormPreAuthManager\execute(), LoginFormPreAuthManager\executeReturnTo(), MediaWiki\Linker\LinkRenderer\getLegacyOptions(), AuthManagerSpecialPage\handleReauthBeforeExecute(), AuthManagerSpecialPage\handleReturnBeforeExecute(), MediaWiki\main(), AuthManagerSpecialPage\performAuthenticationStep(), LinkRendererFactoryTest\provideCreateFromLegacyOptions(), WfExpandUrlTest\provideExpandableUrls(), LoginHelper\showReturnToPage(), LinkRendererTest\testMakeKnownLink(), and wfExpandUrl().
const PROTO_INTERNAL 2 |
Definition at line 267 of file Defines.php.
Referenced by CdnCacheUpdate\expand(), MediaWiki\performAction(), and wfExpandUrl().
const PROTO_RELATIVE '//' |
Definition at line 264 of file Defines.php.
Referenced by ApiQuerySiteinfo\appendGeneralInfo(), LoginFormPreAuthManager\executeReturnTo(), CoreParserFunctions\filepath(), SpecialVersion\getEntryPointInfo(), File\getFullUrl(), OutputPage\getHeadLinksArray(), CssContentHandler\makeRedirectContent(), JavaScriptContentHandler\makeRedirectContent(), WfExpandUrlTest\provideExpandableUrls(), CSSMin\remapOne(), and LoginHelper\showReturnToPage().
const RC_CATEGORIZE 6 |
Definition at line 173 of file Defines.php.
Referenced by LinksUpdateTest\assertRecentChangeByCategorization(), RCCacheEntryFactory\buildDiffLink(), ChangesListSpecialPage\buildMainQueryConds(), CategoryMembershipChangeJobTest\getCategorizeRecentChangeForRevId(), EnhancedChangesList\getDiffHistLinks(), IRCColourfulRCFeedFormatter\getLine(), EnhancedChangesList\getLogText(), ActiveUsersPager\getQueryInfo(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), ChangesList\insertDiffHist(), ChangesList\isCategorizationWithoutRevision(), TestRecentChangesHelper\makeCategorizationRecentChange(), RecentChange\newForCategorization(), SpecialRecentChanges\outputChangesList(), SpecialWatchlist\outputChangesList(), RecentChangeTest\provideRCTypes(), EnhancedChangesList\recentChangesBlockLine(), and RecentChange\save().
const RC_EDIT 0 |
RecentChange type identifiers
Definition at line 169 of file Defines.php.
Referenced by ChangesFeed\buildItems(), PopulateRecentChangesSource\buildUpdateCondition(), RecentChange\diffLinkTrail(), MachineReadableRCFeedFormatter\getLine(), ApiQueryRecentChanges\getPatrolToken(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), WatchedItemQueryServiceUnitTest\getWatchedItemsWithRecentChangeInfoInvalidOptionsProvider(), WatchedItemQueryServiceUnitTest\getWatchedItemsWithRecentChangeInfoOptionsProvider(), ChangesList\insertRollback(), RecentChange\notifyEdit(), RecentChangeTest\provideRCTypes(), RebuildRecentchanges\rebuildRecentChangesTablePass1(), and RebuildRecentchanges\rebuildRecentChangesTablePass2().
const RC_EXTERNAL 5 |
Definition at line 172 of file Defines.php.
Referenced by ChangesFeed\buildItems(), PopulateRecentChangesSource\buildUpdateCondition(), ApiQueryAllUsers\execute(), ApiQueryWatchlistIntegrationTest\getExternalRC(), ActiveUsersPager\getQueryInfo(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), RecentChange\notifyRCFeeds(), RecentChangeTest\provideRCTypes(), and RecentChangesUpdateJob\updateActiveUsers().
const RC_LOG 3 |
Definition at line 171 of file Defines.php.
Referenced by RCCacheEntryFactory\buildCLink(), RCCacheEntryFactory\buildCurLink(), RCCacheEntryFactory\buildDiffLink(), RCCacheEntryFactory\buildLastLink(), PopulateRecentChangesSource\buildUpdateCondition(), SpecialWatchlist\doMainQuery(), RecentChange\doMarkPatrolled(), LinksDeletionUpdate\doUpdate(), UpdateSearchIndex\doUpdateSearchIndex(), ApiQueryWatchlist\extractOutputData(), ApiQueryRecentChanges\extractRowInfo(), OldChangesList\formatChangeLine(), FeedUtils\formatDiff(), WatchedItemQueryService\getExtraDeletedPageLogEntryRelatedCond(), IRCColourfulRCFeedFormatter\getLine(), MachineReadableRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), NewFilesPager\getQueryInfo(), WatchedItemQueryService\getWatchedItemsWithRCInfoQueryConds(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), ChangesList\insertDiffHist(), EnhancedChangesList\makeCacheGroupingKey(), RCCacheEntryFactory\newFromRecentChange(), RecentChange\newLogEntry(), RecentChangeTest\provideRCTypes(), RebuildRecentchanges\rebuildRecentChangesTablePass3(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), ApiQueryRecentChanges\run(), Article\showPatrolFooter(), ChangesList\userCan(), and WatchedItemQueryServiceUnitTest\userPermissionRelatedExtraChecksProvider().
const RC_NEW 1 |
Definition at line 170 of file Defines.php.
Referenced by RCCacheEntryFactory\buildCLink(), RCCacheEntryFactory\buildDiffLink(), PopulateRecentChangesSource\buildUpdateCondition(), RecentChange\doMarkPatrolled(), ApiQueryWatchlist\extractOutputData(), ApiQueryRecentChanges\extractRowInfo(), OldChangesList\formatChangeLine(), IRCColourfulRCFeedFormatter\getLine(), MachineReadableRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), ApiQueryRecentChanges\getPatrolToken(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), WatchedItemQueryServiceUnitTest\getWatchedItemsWithRecentChangeInfoOptionsProvider(), ChangesList\insertDiffHist(), ChangesList\isUnpatrolled(), RecentChange\notifyNew(), MarkpatrolledAction\onView(), RecentChangeTest\provideRCTypes(), RebuildRecentchanges\rebuildRecentChangesTablePass1(), RebuildRecentchanges\rebuildRecentChangesTablePass2(), EnhancedChangesList\recentChangesBlockLine(), ApiQueryRecentChanges\run(), and WatchedItemQueryServiceUnitTest\testGetWatchedItemsWithRecentChangeInfo().
const SFH_NO_HASH 1 |
Flags for Parser::setFunctionHook Use of Parser consts is preferred:
Definition at line 240 of file Defines.php.
Referenced by Parser\setFunctionHook().
const SFH_OBJECT_ARGS 2 |
Definition at line 241 of file Defines.php.
Referenced by Parser\callParserFunction().
const SHELL_MAX_ARG_STRLEN '100000' |
Max string length for shell invocations; based on binfmts.h
Definition at line 313 of file Defines.php.
Referenced by wfShellExec().