MediaWiki
1.33.0
|
const ALF_NO_BLOCK_LOCK 8 |
Definition at line 125 of file Defines.php.
const ALF_NO_LINK_LOCK 4 |
Definition at line 124 of file Defines.php.
const ALF_PRELOAD_EXISTENCE 2 |
Definition at line 123 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 122 of file Defines.php.
const APCOND_AGE 2 |
Definition at line 206 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_AGE_FROM_EDIT 7 |
Definition at line 211 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_BLOCKED 8 |
Definition at line 212 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 205 of file Defines.php.
Referenced by Autopromote\checkCondition(), and AutopromoteTest\testEditCountLookupIsSkippedIfRequirementIsZero().
const APCOND_EMAILCONFIRMED 3 |
Definition at line 207 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_INGROUPS 4 |
Definition at line 208 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_IPINRANGE 6 |
Definition at line 210 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_ISBOT 9 |
Definition at line 213 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_ISIP 5 |
Definition at line 209 of file Defines.php.
Referenced by Autopromote\checkCondition().
const AV_NO_VIRUS 0 |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 111 of file Defines.php.
const AV_SCAN_ABORTED -1 |
Definition at line 113 of file Defines.php.
const AV_SCAN_FAILED false |
Definition at line 114 of file Defines.php.
const AV_VIRUS_FOUND 1 |
Definition at line 112 of file Defines.php.
const CACHE_ACCEL 3 |
Definition at line 105 of file Defines.php.
Referenced by MediaWikiTestCase\makeTestConfig(), ObjectCacheTest\setCacheConfig(), ObjectCacheTest\testNewAnythingAccel(), ObjectCacheTest\testNewAnythingNoAccel(), and ObjectCacheTest\testNewAnythingNoAccelNoDb().
const CACHE_ANYTHING -1 |
Cache type
Definition at line 101 of file Defines.php.
Referenced by ResourceLoaderFileModule\compileLessFile(), SpecialVersion\getCreditsForExtension(), IcuCollation\getFirstLetterData(), Installer\getInstallerConfig(), CacheHelper\initCaching(), ObjectCache\newAnything(), CacheHelper\saveCache(), and ObjectCacheTest\setCacheConfig().
const CACHE_DB 1 |
Definition at line 103 of file Defines.php.
Referenced by Installer\getInstallerConfig(), MediaWikiTestCase\makeTestConfig(), ObjectCache\newAnything(), ManageJobs\repushAbandoned(), and ObjectCacheTest\setCacheConfig().
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 Installer\__construct(), TestSetup\applyInitialConfig(), ObjectCache\detectLocalServerCache(), Installer\getInstallerConfig(), ObjectCache\getLocalServerInstance(), MediaWikiTestCase\makeTestConfig(), ObjectCache\newAnything(), ObjectCache\newFromId(), Installer\overrideConfig(), ObjectCacheTest\setCacheConfig(), ObjectCacheTest\setUp(), and UploadFromUrlTestSuite\setUp().
const CONTENT_FORMAT_CSS 'text/css' |
Definition at line 254 of file Defines.php.
Referenced by CssContentHandler\__construct(), ResourceLoaderWikiModule\getContent(), ResourceLoaderWikiModule\invalidateModuleCache(), RevisionDbTestBase\provideGetContentFormat(), and CssContentHandlerTest\testMakeRedirectContent().
const CONTENT_FORMAT_HTML 'text/html' |
Definition at line 258 of file Defines.php.
const CONTENT_FORMAT_JAVASCRIPT 'text/javascript' |
Definition at line 252 of file Defines.php.
Referenced by JavaScriptContentHandler\__construct(), ContentHandlerTest\dataMakeContent(), ResourceLoaderWikiModule\getContent(), ResourceLoaderWikiModule\invalidateModuleCache(), and JavaScriptContentHandlerTest\testMakeRedirectContent().
const CONTENT_FORMAT_JSON 'application/json' |
Definition at line 262 of file Defines.php.
Referenced by JsonContentHandler\__construct().
const CONTENT_FORMAT_SERIALIZED 'application/vnd.php.serialized' |
Definition at line 260 of file Defines.php.
Definition at line 256 of file Defines.php.
Referenced by RevisionTestModifyableContentHandler\__construct(), and MediaWiki\Tests\Revision\RevisionStoreTest\makeRow().
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 250 of file Defines.php.
Referenced by WikitextContentHandler\__construct(), WikitextContentHandlerTest\dataIsSupportedFormat(), ContentHandlerTest\dataMakeContent(), MediaWiki\Tests\Revision\SlotRecordTest\makeRow(), RevisionDbTestBase\provideGetContentFormat(), MediaWiki\Tests\Revision\SlotRecordTest\testCompleteConstruction(), MediaWiki\Tests\Revision\SlotRecordTest\testConstructionDeferred(), WikiPageDbTestBase\testDoEditUpdates(), MediaWiki\Tests\Maintenance\BackupDumperPageTest\testFullTextPlain(), WikitextContentHandlerTest\testSerializeContent(), and WikitextContentHandlerTest\testUnserializeContent().
const CONTENT_FORMAT_XML 'application/xml' |
Definition at line 264 of file Defines.php.
const CONTENT_MODEL_CSS 'css' |
Definition at line 237 of file Defines.php.
Referenced by TitleMethodsTest\dataGetContentModel(), ContentHandlerTest\dataGetDefaultModelFor(), ContentHandlerTest\dataMakeContent(), Revision\MainSlotRoleHandler\getDefaultModel(), CodeEditorHooks\getPageLanguage(), EditPage\getPreviewText(), Title\isSiteCssConfigPage(), Title\isUserCssConfigPage(), RevisionDbTestBase\provideGetContentFormat(), RevisionDbTestBase\provideGetContentModel(), ContentHandlerTest\provideGetModelForID(), ContentHandlerTest\setUp(), CssContentTest\setUp(), TextContentTest\setUp(), EditPage\showIntro(), CssContentTest\testGetContentHandler(), and CssContentTest\testGetModel().
const CONTENT_MODEL_JAVASCRIPT 'javascript' |
Definition at line 236 of file Defines.php.
Referenced by TitleMethodsTest\dataGetContentModel(), ContentHandlerTest\dataGetDefaultModelFor(), ContentHandlerTest\dataGetLocalizedName(), ContentHandlerTest\dataGetPageLanguage(), ContentHandlerTest\dataMakeContent(), Revision\MainSlotRoleHandler\getDefaultModel(), CodeEditorHooks\getPageLanguage(), EditPage\getPreviewText(), Title\isSiteJsConfigPage(), Title\isUserJsConfigPage(), RevisionTest\provideConstructFromArray(), ContentHandlerTest\provideGetModelForID(), ContentHandlerTest\setUp(), TextContentTest\setUp(), TitleMethodsTest\setUp(), EditPage\showIntro(), RevisionTest\testConstructFromArray(), ContentHandlerTest\testGetChangeTag(), WikiPagePreMcrDbTest\testGetContentHandler(), JavaScriptContentTest\testGetContentHandler(), WikiPagePreMcrDbTest\testGetContentModel(), and JavaScriptContentTest\testGetModel().
const CONTENT_MODEL_JSON 'json' |
Definition at line 239 of file Defines.php.
Referenced by ContentHandlerTest\dataGetDefaultModelFor(), Revision\MainSlotRoleHandler\getDefaultModel(), CodeEditorHooks\getPageLanguage(), EditPage\getPreviewText(), FixDefaultJsonContentPages\handleRow(), Title\isSiteJsonConfigPage(), Title\isUserJsonConfigPage(), CiteHooks\onContentHandlerDefaultModelFor(), ContentHandlerTest\provideGetModelForID(), ContentHandlerTest\setUp(), EditPage\showIntro(), and ContentHandlerTest\testSupportsDirectEditing().
const CONTENT_MODEL_TEXT 'text' |
Definition at line 238 of file Defines.php.
Referenced by Revision\FallbackSlotRoleHandler\__construct(), ApiComparePagesTest\addDBDataOnce(), TextContentTest\dataGetDeletionUpdates(), TextContentTest\dataGetParserOutput(), TextSlotDiffRenderer\diff(), DifferenceEngine\generateTextDiffBody(), Revision\MainSlotRoleHandler\getDefaultModel(), MediaWiki\Tests\Revision\RevisionStoreTest\makeRow(), ApiComparePagesTest\provideDiff(), DifferenceEngineTest\provideGenerateContentDiffBody(), DifferenceEngineTest\provideGetDiffBody(), ContentHandlerTest\provideGetModelForID(), ContentHandlerTest\setUp(), MediaWiki\Tests\Revision\FallbackSlotRoleHandlerTest\testConstruction(), MediaWiki\Tests\Revision\MainSlotRoleHandlerTest\testFetDefaultModel(), MediaWiki\Tests\Revision\SlotRoleRegistryTest\testGetAllowedRoles(), MediaWiki\Tests\Revision\testGetContent(), TextContentTest\testGetContentHandler(), DifferenceEngineSlotDiffRendererTest\testGetDiff(), MediaWiki\Tests\Revision\SlotRoleRegistryTest\testGetKnownRoles(), TextContentTest\testGetModel(), MediaWiki\Tests\Revision\MainSlotRoleHandlerTest\testIsAllowedModel(), DifferenceEngineTest\testSetContent(), DifferenceEngineTest\testSetRevisions(), and DifferenceEngine\textDiff().
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 235 of file Defines.php.
Referenced by DifferenceEngineSlotDiffRenderer\__construct(), MessageContent\__construct(), WikitextContent\__construct(), Revision\MainSlotRoleHandler\__construct(), RevisionDbTestBase\createPage(), PagePropsTest\createPage(), TitleMethodsTest\dataGetContentModel(), ContentHandlerTest\dataGetDefaultModelFor(), WikitextContentTest\dataGetDeletionUpdates(), WikitextContentTest\dataGetParserOutput(), WikitextContentTest\dataGetSecondaryDataUpdates(), ContentHandlerTest\dataMakeContent(), WikiEditorHooks\editPageShowEditFormFields(), WikiEditorHooks\editPageShowEditFormInitial(), ApiParse\execute(), ApiQueryRevisionsBase\extractDeprecatedContent(), ApiQueryRevisionsBase\getAllowedParams(), ApiParse\getAllowedParams(), Revision\MainSlotRoleHandler\getDefaultModel(), MediaWikiTestCase\getDefaultWikitextNS(), ApiComparePages\getDiffRevision(), MediaWiki\Tests\Revision\RevisionRendererTest\getMockTitle(), MediaWiki\Tests\Revision\RenderedRevisionTest\getMockTitle(), TextPassDumper\getText(), TextContent\getWikitextForTransclusion(), FixDefaultJsonContentPages\handleRow(), MediaWikiTestCase\isWikitextNS(), Title\isWikitextPage(), RevisionDbTestBase\makeRevisionWithProps(), MediaWiki\Tests\Revision\SlotRecordTest\makeRow(), MediaWiki\Tests\Revision\RevisionRendererTest\newRevisionRenderer(), PreprocessDump\processRevision(), CompareParsers\processRevision(), RevisionDbTestBase\provideGetContentModel(), ContentHandlerTest\provideGetModelForID(), WikiPageDbTestBase\provideGetParserOutput(), WikiPageDbTestBase\provideGetRedirectTarget(), RevisionDbTestBase\provideGetSha1(), RevisionDbTestBase\provideGetSize(), RevisionMcrReadNewDbTest\provideGetTextId(), RevisionMcrDbTest\provideGetTextId(), RevisionDbTestBase\provideGetTextId(), WikiPageDbTestBase\provideIsCountable(), ReplaceTextJob\run(), ContentHandlerTest\setUp(), TextContentTest\setUp(), WikitextContentHandlerTest\setUp(), MediaWiki\Tests\Storage\PageUpdaterTest\setUp(), PagePropsTest\setUp(), PageArchiveTestBase\setUp(), SimpleCaptcha\shouldCheck(), MediaWiki\Tests\Revision\SlotRecordTest\testCompleteConstruction(), MediaWiki\Tests\Revision\SlotRecordTest\testConstructionDeferred(), WikiPageDbTestBase\testDoDeleteArticle(), WikiPageDbTestBase\testDoDeleteArticleReal_suppress(), WikiPageDbTestBase\testDoDeleteArticleReal_user0(), WikiPageDbTestBase\testDoDeleteArticleReal_userSysop(), WikiPageDbTestBase\testDoDeleteUpdates(), WikiPageDbTestBase\testDoEditContent(), WikiPageDbTestBase\testDoEditUpdates(), MediaWiki\Tests\Storage\DerivedPageDataUpdaterTest\testDoParserCacheUpdate(), MediaWiki\Tests\Storage\DerivedPageDataUpdaterTest\testDoUpdates(), WikiPageDbTestBase\testExists(), MediaWiki\Tests\Revision\MainSlotRoleHandlerTest\testFetDefaultModel(), MediaWiki\Tests\Maintenance\BackupDumperPageTest\testFullTextPlain(), ContentHandlerTest\testGetAutosummary(), ContentHandlerTest\testGetChangeTag(), WikiPageDbTestBase\testGetContent(), RevisionDbTestBase\testGetContentUncloned(), ContentHandlerTest\testGetFieldsForSearchIndex(), PageArchiveTestBase\testGetPreviousRevision(), WikiPageDbTestBase\testGetRevision(), ContentHandlerTest\testGetSlotDiffRenderer_default(), WikiPageDbTestBase\testHasViewableContent(), MediaWiki\Tests\Revision\MainSlotRoleHandlerTest\testIsAllowedModel(), RevisionDbTestBase\testNewFromArchiveRow(), RevisionDbTestBase\testNewFromArchiveRowOverrides(), MediaWiki\Tests\Revision\SlotRecordTest\testNewUnsaved(), MediaWiki\Tests\Storage\DerivedPageDataUpdaterTest\testPrepareContent(), WikiPageDbTestBase\testPrepareContentForEdit(), RefreshLinksJobTest\testRunForSinglePage(), ContentHandlerTest\testSupportsCategories(), and RevisionDbTestBase\testUserWasLastToEdit().
const EDIT_AUTOSUMMARY 64 |
Definition at line 158 of file Defines.php.
Referenced by EditCLI\execute(), EditPage\internalAttemptSave(), MediaWiki\Storage\PageUpdater\makeAutoSummary(), McrUndoAction\onSubmit(), and MediaWiki\Tests\Storage\PageUpdaterTest\testSetUseAutomaticEditSummaries().
const EDIT_DEFER_UPDATES 32 |
Definition at line 157 of file Defines.php.
const EDIT_FORCE_BOT 16 |
Definition at line 156 of file Defines.php.
Referenced by CleanupSpam\cleanupArticle(), WikiPage\commitRollback(), ApiQueryRecentChangesIntegrationTest\doBotPageEdit(), ApiQueryWatchlistIntegrationTest\doBotPageEdit(), MediaWiki\Storage\PageUpdater\doCreate(), MediaWiki\Storage\PageUpdater\doModify(), EditCLI\execute(), EditPage\internalAttemptSave(), SpecialChangeContentModel\onSubmit(), ReplaceTextJob\run(), and MediaWiki\Storage\PageUpdater\saveRevision().
const EDIT_INTERNAL 128 |
Definition at line 159 of file Defines.php.
Referenced by WikiPage\commitRollback(), SpecialChangeContentModel\onSubmit(), DoubleRedirectJob\run(), and MediaWiki\Storage\PageUpdater\saveRevision().
const EDIT_MINOR 4 |
Definition at line 154 of file Defines.php.
Referenced by WikiPage\commitRollback(), WikiPage\doEditContent(), ApiQueryRecentChangesIntegrationTest\doMinorPageEdit(), ApiQueryWatchlistIntegrationTest\doMinorPageEdit(), EditCLI\execute(), MediaWiki\Storage\PageUpdater\getAtomicSectionUpdate(), EditPage\internalAttemptSave(), MediaWiki\Storage\PageUpdater\makeNewRevision(), ReplaceTextJob\run(), MediaWiki\Storage\PageUpdater\saveRevision(), and RevisionDbTestBase\testIsMinor_true().
const EDIT_NEW 1 |
Article edit flags
Definition at line 152 of file Defines.php.
Referenced by MediaWikiTestCase\addCoreDBData(), SpecialMyLanguageTest\addDBDataOnce(), MediaWiki\Storage\PageUpdater\checkFlags(), WikiPage\checkFlags(), Installer\createMainpage(), RevisionDbTestBase\createPage(), PagePropsTest\createPage(), MediaWiki\Tests\Revision\RevisionStoreDbTestBase\createRevisionStoreCacheRecord(), WikitextContentHandlerTest\dataGetAutosummary(), WikitextContentHandlerTest\dataGetChangeTag(), SearchEngineTest\editSearchResultPage(), ContentHandler\getChangeType(), MediaWikiTestCase\getExistingTestPage(), MediaWiki\Tests\Revision\RevisionStoreDbTestBase\getTestPage(), EditPage\internalAttemptSave(), PopulateArchiveRevId\makeDummyRevisionRow(), SpecialChangeContentModel\onSubmit(), LocalFile\recordUpload2(), PageArchiveTestBase\setUp(), WikiPageDbTestBase\testDoEditContent(), ApiEditPageTest\testEdit_redirect(), ApiEditPageTest\testEdit_redirectText(), ApiEditPageTest\testEditConflict(), ApiEditPageTest\testEditConflict_newSection(), ApiEditPageTest\testEditConflict_T43990(), MediaWiki\Tests\Storage\PageUpdaterTest\testFailureOnEditFlags(), PageArchiveTestBase\testGetPreviousRevision(), MediaWiki\Tests\Storage\PageUpdaterTest\testInheritSlot(), MediaWiki\Tests\Revision\RevisionStoreDbTestBase\testNewNullRevision(), and MediaWiki\Tests\Storage\PageUpdaterTest\testSetUsePageCreationLog().
const EDIT_SUPPRESS_RC 8 |
Definition at line 155 of file Defines.php.
Referenced by MediaWikiTestCase\addCoreDBData(), MediaWiki\Storage\PageUpdater\doCreate(), MediaWiki\Storage\PageUpdater\doModify(), SearchEngineTest\editSearchResultPage(), EditCLI\execute(), MediaWikiTestCase\getExistingTestPage(), MediaWiki\Tests\Revision\RevisionStoreDbTestBase\getTestPage(), PopulateArchiveRevId\makeDummyRevisionRow(), LocalFile\recordUpload2(), ReplaceTextJob\run(), and DoubleRedirectJob\run().
const EDIT_UPDATE 2 |
Definition at line 153 of file Defines.php.
Referenced by MediaWiki\Storage\PageUpdater\checkFlags(), WikiPage\checkFlags(), CleanupSpam\cleanupArticle(), WikiPage\commitRollback(), EditPage\internalAttemptSave(), SpecialChangeContentModel\onSubmit(), McrUndoAction\onSubmit(), DoubleRedirectJob\run(), MediaWiki\Storage\PageUpdater\saveRevision(), WikiPageDbTestBase\testDoEditContent(), ApiEditPageTest\testEdit_redirect(), ApiEditPageTest\testEdit_redirectText(), ApiEditPageTest\testEditConflict(), ApiEditPageTest\testEditConflict_newSection(), ApiEditPageTest\testEditConflict_T43990(), MediaWiki\Tests\Storage\PageUpdaterTest\testFailureOnBadContentModel(), MediaWiki\Tests\Storage\PageUpdaterTest\testFailureOnEditFlags(), ContentHandlerTest\testGetChangeTag(), MediaWiki\Tests\Storage\PageUpdaterTest\testInheritSlot(), MediaWiki\Tests\Storage\PageUpdaterTest\testMagicWords(), and ArticleTablesTest\testTemplatelinksUsesContentLanguage().
const LIST_AND IDatabase::LIST_AND |
Definition at line 43 of file Defines.php.
Referenced by SpecialRecentChanges\__construct(), FindOrphanedFiles\checkFiles(), Wikimedia\Rdbms\Database\conditional(), PrefixSearch\defaultSearchBackend(), Wikimedia\Rdbms\Database\delete(), Wikimedia\Rdbms\DatabaseMysqlBase\deleteJoin(), Wikimedia\Rdbms\Database\deleteJoin(), PopulateRevisionLength\doLenUpdates(), DeleteSelfExternals\execute(), PurgeModuleDeps\execute(), CleanupRemovedModules\execute(), RunBatchedQuery\execute(), ChangesListSpecialPage\filterOnUserExperienceLevel(), LocalRepo\findFiles(), WatchedItemQueryService\getFromUntilTargetConds(), Wikimedia\Rdbms\DatabaseMysqlBase\getHeartbeatData(), WatchedItemQueryServiceUnitTest\getMockDb(), Block\getRangeCond(), WatchedItemQueryService\getStartFromConds(), WatchedItemStore\getVisitingWatchersCondition(), ActorMigration\getWhere(), MigrateComments\loadCommentIDs(), Wikimedia\Rdbms\Database\makeGroupByWithHaving(), Wikimedia\Rdbms\Database\makeList(), Wikimedia\Rdbms\Database\makeWhereFrom2d(), ChangesListSpecialPageTest\normalizeCondition(), DatabaseSQLTest\provideMakeList(), UserGroupMembership\purgeExpired(), SpecialWatchlist\registerFilters(), Wikimedia\Rdbms\Database\replace(), ApiQueryAllDeletedRevisions\run(), ApiQueryAllImages\run(), Wikimedia\Rdbms\Database\selectSQLText(), Wikimedia\Rdbms\Database\tableNamesWithIndexClauseOrJOIN(), WatchedItemStoreUnitTest\testCountVisitingWatchersMultiple(), WatchedItemStoreUnitTest\testCountVisitingWatchersMultiple_withMissingTargets(), WatchedItemQueryServiceUnitTest\testGetWatchedItemsForUser_fromUntilStartFromOptions(), Wikimedia\Rdbms\DatabaseMssql\update(), DatabaseOracle\update(), Wikimedia\Rdbms\Database\update(), and Wikimedia\Rdbms\Database\upsert().
const LIST_COMMA IDatabase::LIST_COMMA |
Obsolete IDatabase::makeList() constants These are also available as Database class constants
Definition at line 42 of file Defines.php.
Referenced by DatabaseSQLTest\provideMakeList().
const LIST_NAMES IDatabase::LIST_NAMES |
Definition at line 45 of file Defines.php.
Referenced by Wikimedia\Rdbms\DatabaseMssql\makeList(), Wikimedia\Rdbms\Database\makeList(), and DatabaseSQLTest\provideMakeList().
const LIST_OR IDatabase::LIST_OR |
Definition at line 46 of file Defines.php.
Referenced by SpecialRecentChanges\__construct(), ChangesListSpecialPage\__construct(), FindOrphanedFiles\checkFiles(), CleanupInvalidDbKeys\cleanupTable(), PrefixSearch\defaultSearchBackend(), PopulateRevisionLength\doLenUpdates(), SpecialWatchlist\doMainQuery(), MysqlUpdater\doSchemaRestructuring(), SpecialRenameuser\execute(), ApiQueryExternalLinks\execute(), PurgeModuleDeps\execute(), ApiQueryAllUsers\execute(), CleanupRemovedModules\execute(), ChangesListSpecialPage\filterOnUserExperienceLevel(), LocalRepo\findFiles(), SpecialBlockList\getBlockListPager(), Block\getBlocksForIPList(), BacklinkCache\getConditions(), WatchedItemQueryService\getExtraDeletedPageLogEntryRelatedCond(), WatchedItemQueryService\getFromUntilTargetConds(), WatchedItemQueryService\getStartFromConds(), WANCacheReapUpdate\getTitleChangeEvents(), WatchedItemStore\getVisitingWatchersCondition(), WatchedItemQueryService\getWatchedItemsWithRCInfoQueryConds(), ActorMigration\getWhere(), PageArchive\listPagesBySearch(), MigrateComments\loadCommentIDs(), Wikimedia\Rdbms\Database\makeList(), Wikimedia\Rdbms\Database\makeWhereFrom2d(), Block\newLoad(), DatabaseSQLTest\provideMakeList(), UserGroupMembership\purgeExpired(), SpecialWatchlist\registerFilters(), Wikimedia\Rdbms\Database\replace(), ApiQueryAllDeletedRevisions\run(), ApiQueryExtLinksUsage\run(), ApiQueryAllImages\run(), ApiQueryBacklinksprop\run(), ApiQueryRecentChanges\run(), ApiQueryBacklinks\runSecondQuery(), and Wikimedia\Rdbms\Database\upsert().
const LIST_SET IDatabase::LIST_SET |
Definition at line 44 of file Defines.php.
Referenced by Wikimedia\Rdbms\Database\makeList(), DatabaseSQLTest\provideMakeList(), Wikimedia\Rdbms\DatabaseMssql\update(), Wikimedia\Rdbms\Database\update(), and Wikimedia\Rdbms\DatabaseMysqlBase\upsert().
const MIGRATION_NEW 0x30000000 | SCHEMA_COMPAT_NEW |
Definition at line 318 of file Defines.php.
Referenced by RenameuserSQL\actorMigrationWriteOld(), CommentStore\getCommentInternal(), CommentStore\getFields(), CommentStore\getJoin(), CommentStore\insert(), CommentStore\insertInternal(), CommentStore\newKey(), CommentStoreTest\provideGetFields(), CommentStoreTest\provideGetJoin(), CommentStoreTest\provideStages(), MediaWiki\Tests\Revision\RevisionStoreFactoryTest\provideWikiIds(), CommentStoreTest\testGetCommentErrors(), CommentStoreTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip_withKeyConstruction(), and CommentStoreTest\testInsertWithTempTableDeprecated().
const MIGRATION_OLD 0x00000000 | SCHEMA_COMPAT_OLD |
Schema change migration flags.
Used as values of a feature flag for an orderly transition from an old schema to a new schema. The numeric values of these constants are compatible with the SCHEMA_COMPAT_XXX bitfield semantics. High bits are used to ensure that the numeric ordering follows the order in which the migration stages should be used.
Definition at line 315 of file Defines.php.
Referenced by RenameuserSQL\actorMigrationWriteNew(), CommentStore\createComment(), CommentStore\getCommentInternal(), CommentStore\getFields(), CommentStore\getJoin(), RevisionTest\getRevisionStore(), CommentStoreTest\makeStore(), CommentStoreTest\makeStoreWithKey(), CommentStoreTest\provideGetFields(), CommentStoreTest\provideGetJoin(), CommentStoreTest\provideStages(), MediaWiki\Tests\Revision\RevisionStoreFactoryTest\provideWikiIds(), CommentStoreTest\testGetCommentErrors(), CommentStoreTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip_withKeyConstruction(), and MediaWiki\Tests\Revision\RevisionStoreFactoryTest\testValidConstruction_doesntCauseErrors().
const MIGRATION_WRITE_BOTH 0x10000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_BOTH |
Definition at line 316 of file Defines.php.
Referenced by CommentStore\insertInternal(), CommentStoreTest\provideGetFields(), CommentStoreTest\provideGetJoin(), CommentStoreTest\provideStages(), CommentStoreTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip_withKeyConstruction(), CommentStoreTest\testInsertTooMuchData(), and CommentStoreTest\testInsertTruncation().
const MIGRATION_WRITE_NEW 0x20000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_NEW |
Definition at line 317 of file Defines.php.
Referenced by CommentStore\insert(), CommentStoreTest\provideGetFields(), CommentStoreTest\provideGetJoin(), CommentStoreTest\provideStages(), CommentStoreTest\testInsertRoundTrip(), and CommentStoreTest\testInsertRoundTrip_withKeyConstruction().
const MW_DATE_DEFAULT 'default' |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 132 of file Defines.php.
const MW_DATE_DMY 'dmy' |
Definition at line 134 of file Defines.php.
const MW_DATE_ISO 'ISO 8601' |
Definition at line 136 of file Defines.php.
const MW_DATE_MDY 'mdy' |
Definition at line 133 of file Defines.php.
const MW_DATE_YMD 'ymd' |
Definition at line 135 of file Defines.php.
const MW_EDITFILTERMERGED_SUPPORTS_API 1 |
Definition at line 168 of file Defines.php.
const MW_SUPPORTS_CONTENTHANDLER 1 |
Definition at line 167 of file Defines.php.
const MW_SUPPORTS_LOCALISATIONCACHE 1 |
Definition at line 166 of file Defines.php.
const MW_SUPPORTS_PARSERFIRSTCALLINIT 1 |
Hook support constants
Definition at line 165 of file Defines.php.
const NS_CATEGORY 14 |
Definition at line 78 of file Defines.php.
Referenced by CategoryTree\__construct(), UncategorizedCategoriesPage\__construct(), CategoryPager\__construct(), DumpNamespaceFilter\__construct(), SearchEngineTest\addDBDataOnce(), ParserOutput\addTrackingCategory(), CategoryTreeHooks\articleFromTitle(), LinksUpdateTest\assertRecentChangeByCategorization(), SkinTemplate\buildNavUrls(), MediaWiki\Permissions\PermissionManager\checkQuickPermissions(), BenchmarkTitleValue\constructTitle(), BenchmarkTitleValue\constructTitleSafe(), BenchmarkTitleValue\constructTitleValue(), CategoryViewer\doCategoryQuery(), LinksDeletionUpdate\doIncrementalUpdate(), SpecialRecentChangesLinked\doMainQuery(), SpecialReplaceText\doSpecialReplaceText(), LinkHolderArray\doVariants(), ApiQueryCategoryInfo\execute(), RefreshLinks\execute(), CategoryTreePage\executeInputForm(), WikiPage\factory(), ApiParse\formatCategoryLinks(), MostlinkedCategoriesPage\formatResult(), UnusedCategoriesPage\formatResult(), UncategorizedCategoriesPage\formatResult(), CategoryPager\formatRow(), TitleValueTest\fragmentTitleProvider(), MediaWiki\Widget\Search\FullSearchResultWidget\generateSizeHtml(), CategoryPager\getBody(), Skin\getCategories(), TimelessTemplate\getCategories(), WikiPage\getCategories(), LinksUpdate\getCategoryInsertions(), DumpCategoriesAsRdf\getCategoryIterator(), Skin\getCategoryLinks(), MWNamespace\getCategoryLinkType(), CategoryChangesAsRdf\getChangedCatsIterator(), ApiCategoryTree\getConditionalRequestData(), MediaWikiTestCase\getDefaultWikitextNS(), CategoryChangesAsRdf\getDeletedCatsIterator(), UncategorizedCategoriesPage\getExceptionList(), WikiFilePage\getForeignCategories(), SpecialRandomInCategory\getFormFields(), WikiPage\getHiddenCategories(), CategoryChangesAsRdf\getMovedCatsIterator(), CategoryChangesAsRdf\getNewCatsIterator(), WantedFilesPage\getPageHeader(), Title\getParentCategories(), UnusedCategoriesPage\getQueryInfo(), WantedCategoriesPage\getQueryInfo(), MostlinkedCategoriesPage\getQueryInfo(), CategoryChangesAsRdf\getRestoredCatsIterator(), CategoryPager\getStartForm(), Category\getTitle(), TrackingCategories\getTrackingCategories(), CategoryChangesAsRdf\handleCategorization(), CategoryChangesAsRdf\handleMoves(), LinksUpdate\invalidateCategories(), LinkCache\isCacheable(), CategoriesRdf\labelToUrl(), SearchHighlighter\linkReplace(), WikitextContentHandler\makeRedirectContent(), CategoryTree\makeTitle(), MovePage\moveToInternal(), Category\newFromName(), Article\newFromTitle(), CategoryMembershipChangeJob\notifyUpdatesForRevision(), WikiPage\onArticleCreate(), SpecialRandomInCategory\onSubmit(), InfoAction\pageInfo(), CoreParserFunctions\pagesincategory(), CategoryTreePage\prefixSearchSubpages(), CategoryChangesAsRdfTest\provideCategoryData(), SearchEngineTest\provideCompletionSearchMustRespectCapitalLinkOverrides(), TitleTest\provideCreateFragmentTitle(), MWNamespaceTest\provideGetCategoryLinkType(), MediaWikiTitleCodecTest\provideParseTitle(), ApiQueryTest\provideTestTitlePartToKey(), Category\refreshCounts(), CategoryTree\renderChildren(), CategoryTree\renderNode(), CategoryTree\renderNodeInfo(), CategoryTree\renderParents(), ApiQueryCategories\run(), ApiQueryAllCategories\run(), ApiQueryCategoryMembers\run(), CategoryFinder\scanNextLayer(), CategoryFinder\seed(), SearchEngineTest\setUp(), MovePageForm\showForm(), ApiQueryRecentChangesIntegrationTest\testCategorizeTypeParameter(), ApiQueryWatchlistIntegrationTest\testCategorizeTypeParameter(), CategoryMembershipChangeTest\testChangeAddedNoRev(), CategoryMembershipChangeTest\testChangeAddedWithRev(), CategoryMembershipChangeTest\testChangeRemovedNoRev(), CategoryMembershipChangeTest\testChangeRemovedWithRev(), WikiCategoryPageTest\testExpectUnusedCategory_PropertyIsSet(), WikiCategoryPageTest\testExpectUnusedCategory_PropertyNotSet(), MWNamespaceTest\testGetContentNamespaces(), WikiCategoryPageTest\testHiddenCategory_PropertyIsSet(), WikiCategoryPageTest\testHiddenCategory_PropertyNotSet(), RecentChangeTest\testHiddenCategoryChange(), MWNamespaceTest\testIsContent(), CategoryTest\testNewFromRow_notFoundWithTitle(), ApiQueryAllPagesTest\testPrefixNormalizationSearchBug(), ExtraParserTest\testTrackingCategory(), Title\touchLinks(), CategoryPage\view(), CategoriesRdf\writeCategoryData(), and CategoriesRdf\writeCategoryLinkData().
const NS_CATEGORY_TALK 15 |
Definition at line 79 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\EditPage\TextConflictHelper\incrementConflictStats(), MediaWiki\EditPage\TextConflictHelper\incrementResolvedStats(), and MWNamespaceTest\provideGetCategoryLinkType().
const NS_FILE 6 |
Definition at line 70 of file Defines.php.
Referenced by FakeDimensionFile\__construct(), CategoryTree\__construct(), ApiQueryAllLinks\__construct(), DumpNamespaceFilter\__construct(), FileRepo\__construct(), ParserOutput\addLink(), UploadForm\addUploadJS(), CleanupImages\buildSafeTitle(), RevertAction\checkCanExecute(), FindOrphanedFiles\checkFiles(), MediaWiki\Permissions\PermissionManager\checkQuickPermissions(), LocalRepo\checkRedirect(), UploadFromUrlTest\deleteFile(), ApiUploadTestCase\deleteFileByFileName(), ApiUploadTestCase\deleteFileByTitle(), SpecialRedirect\dispatchFile(), CategoryViewer\doCategoryQuery(), SpecialNuke\doDelete(), WikiPage\doDeleteUpdates(), SpecialRecentChangesLinked\doMainQuery(), MovePageForm\doSubmit(), ApiMove\execute(), FindMissingFiles\execute(), ApiDelete\execute(), ApiQueryFilearchive\execute(), ApiQueryImageInfo\execute(), DeleteBatch\execute(), FileDuplicateSearchPage\execute(), ImportImages\execute(), SpecialUndelete\execute(), WikiPage\factory(), ForeignAPIRepo\findBySha1(), FileRepo\findFile(), LocalRepo\findFiles(), WikiFilePage\followRedirect(), Linker\formatLinksInComment(), NewFilesPager\formatRow(), ImageListPager\formatValue(), MediaWiki\Widget\Search\FullSearchResultWidget\generateFileHtml(), BacklinkCache\getCascadeProtectedLinks(), Title\getCascadeProtectionSources(), MWNamespace\getCategoryLinkType(), ApiUpload\getChunkResult(), FileContentHandler\getDataForSearchIndex(), WikitextContentHandler\getDataForSearchIndex(), MediaWikiTestCase\getDefaultWikitextNS(), ForeignDBFile\getDescriptionShortUrl(), ForeignDBFile\getDescriptionText(), WANCacheReapUpdate\getEventAffectedKeys(), SpecialWhatLinksHere\getFilterPanel(), ImagePageTest\getImagePage(), ImagePage404Test\getImagePage(), MultimediaViewerHooks\getModulesForArticle(), FileRepo\getNameFromTitle(), SearchNearMatcher\getNearMatchInternal(), ApiImageRotate\getPageSet(), ApiQueryInfo\getProtectionInfo(), MostimagesPage\getQueryInfo(), UnusedimagesPage\getQueryInfo(), UncategorizedImagesPage\getQueryInfo(), MIMEsearchPage\getQueryInfo(), ListDuplicatedFilesPage\getQueryInfo(), NewFilesPager\getQueryInfo(), WantedFilesPage\getQueryInfo(), File\getRedirectedTitle(), WikiFilePage\getRedirectTarget(), WikiPage\getRedirectTarget(), Title\getRestrictionTypes(), SpecialSearch\getSearchProfiles(), SpecialUpload\getUploadForm(), SpecialUpload\getWatchCheck(), SearchHighlighter\highlightText(), ImagePage\imageLinks(), SearchResult\initFromTitle(), EditPage\internalAttemptSave(), LinksUpdate\invalidateImageDescriptions(), Title\isAlwaysKnown(), LinkCache\isCacheable(), MWNamespace\isCapitalized(), Title\isDeleted(), Title\isDeletedQuick(), MWNamespace\isMovable(), MovePage\isValidFileMove(), MovePage\isValidMove(), MovePage\isValidMoveTarget(), Title\isValidMoveTarget(), SearchHighlighter\linkReplace(), PageArchive\listFiles(), SpecialNuke\listForm(), ArchivedFile\load(), ArchivedFile\loadFromRow(), Linker\makeThumbLink2(), MovePage\move(), ForeignDBFile\newFromRow(), OldLocalFile\newFromRow(), LocalFile\newFromRow(), ArchivedFile\newFromRow(), Article\newFromTitle(), File\normalizeTitle(), WikiPage\onArticleDelete(), ImageQueryPage\outputResults(), CleanupImages\pageExists(), InfoAction\pageInfo(), MediaWiki\parseTitle(), ApiUpload\performUpload(), CleanupImages\pokeFile(), FileDuplicateSearchPage\prefixSearchSubpages(), TitleCleanup\processRow(), CleanupImages\processRow(), MWNamespaceTest\provideGetCategoryLinkType(), LanguageTest\provideGetNamespaceAliases(), SpecialShortpagesTest\provideGetQueryInfoRespectsContentNs(), ParserOutputTest\provideMergeTrackingMetaDataFrom(), UploadLogFormatterTest\provideOverwriteLogDatabaseRows(), MediaWikiTitleCodecTest\provideParseTitle(), UploadLogFormatterTest\provideRevertLogDatabaseRows(), SampleTest\provideTitles(), UploadLogFormatterTest\provideUploadLogDatabaseRows(), PurgeChangedFiles\purgeFromLogType(), LinksUpdate\queueRecursiveJobs(), LocalFile\recordUpload2(), Category\refreshCounts(), ImageMap\render(), ApiQueryImages\run(), ApiQueryDuplicateFiles\run(), ApiQueryAllImages\run(), ApiQueryBacklinks\run(), ApiQueryBacklinks\runSecondQuery(), PrefixSearch\searchBackend(), UploadFromUrlTestSuite\setUp(), SpecialWhatLinksHere\showIndirectLinks(), EditPage\showIntro(), Article\showPatrolFooter(), SpecialSearch\showResults(), SpecialUpload\showUploadWarning(), SpecialUpload\showViewDeletedLinks(), MediaWiki\Widget\Search\SearchFormWidget\startsWithImage(), WikitextContentHandlerTest\testDataIndexFieldsFile(), WikitextContentHandlerTest\testGetDeletionUpdates(), WikitextContentHandlerTest\testGetSecondaryDataUpdates(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\testIgnoreNotSupportedTypes(), MWNamespaceTest\testIsCapitalizedHardcodedAssertions(), TitlePermissionTest\testQuickPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testQuickPermissions(), TraditionalImageGallery\toHTML(), PageArchive\undelete(), SpecialUndelete\undelete(), PageArchive\undeleteRevisions(), WikiPage\updateRedirectOn(), CoreParserFunctions\urlFunction(), ApiFileRevert\validateParameters(), ImagePage\view(), wfStreamThumb(), SkinTemplate\wrapHTML(), and XmlDumpWriter\writeUploads().
const NS_FILE_TALK 7 |
Definition at line 71 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MWNamespaceTest\provideGetCategoryLinkType(), MediaWikiTitleCodecTest\provideParseTitle(), and UploadFromUrlTestSuite\setUp().
const NS_HELP 12 |
Definition at line 76 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWikiTestCase\getDefaultWikitextNS(), SearchEngineTest\provideDataForParseNamespacePrefix(), TitlePermissionTest\testActionPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testActionPermissions(), ApiDeleteTest\testDeleteWithTag(), ParserOutputSearchDataExtractorTest\testGetOutgoingLinks(), SearchEngineTest\testParseNamespacePrefix(), TitlePermissionTest\testUserBlock(), and MediaWiki\Tests\Permissions\PermissionManagerTest\testUserBlock().
const NS_HELP_TALK 13 |
Definition at line 77 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct().
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 91 of file Defines.php.
const NS_IMAGE_TALK NS_FILE_TALK |
Definition at line 95 of file Defines.php.
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 T2696 which talked about that.
Definition at line 64 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Tests\Maintenance\BackupDumperLoggerTest\addDBData(), PrefixSearchTest\addDBDataOnce(), SearchEnginePrefixTest\addDBDataOnce(), SearchEngineTest\addDBDataOnce(), TitleValueTest\badConstructorProvider(), buildCommonApiParams(), Title\canExist(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\checkpointHelper(), MediaWiki\Permissions\PermissionManager\checkReadPermissions(), MediaWiki\Permissions\PermissionManager\checkSpecialsAndNSPermissions(), ApiPageSetTest\createPageSetWithRedirect(), CategoryTree\decodeNamespaces(), PrefixSearch\defaultSearchBackend(), SpecialLog\execute(), WithoutInterwikiPage\execute(), SpecialContributions\execute(), SpecialExport\execute(), LogFormatterTestCase\expandDatabaseRow(), SearchEngineTest\fetchIds(), Linker\formatAutocomments(), TitleValueTest\fragmentTitleProvider(), ParserFuzzTest\fuzzTest(), ApiQueryAllPages\getAllowedParams(), ApiQueryDeletedrevs\getAllowedParams(), ApiQueryInfo\getAllVariants(), MWNamespace\getCanonicalNamespaces(), MWNamespace\getContentNamespaces(), MediaWikiTestCase\getDefaultWikitextNS(), CategoriesRdf\getDumpURI(), SpecialEditWatchlist\getExpandedTargets(), Linker\getInvalidTitleDescription(), EditWatchlistNormalHTMLForm\getLegend(), BlockLogFormatter\getMessageParameters(), MediaWiki\Tests\Revision\RevisionRendererTest\getMockTitle(), MediaWiki\Tests\Revision\RenderedRevisionTest\getMockTitle(), ReplaceAll\getNamespaces(), SpecialEditWatchlist\getNormalForm(), RandomPage\getNsList(), WantedFilesPage\getPageHeader(), BlockListPager\getRestrictionListHTML(), MWNamespace\getSubject(), NamespaceDupes\getTargetList(), User\getTokenUrl(), ExternalUserNames\getUserLinkTitle(), MWNamespace\hasTalkNamespace(), MediaWiki\EditPage\TextConflictHelper\incrementConflictStats(), MediaWiki\EditPage\TextConflictHelper\incrementResolvedStats(), MediaWiki\Tests\Maintenance\DeleteAutoPatrolLogsTest\insertLoggingData(), Title\isAlwaysKnown(), MWNamespace\isContent(), MWNamespace\isMethodValidFor(), MWNamespace\isMovable(), MWNamespace\isTalk(), MWNamespace\isWatchable(), MediaWiki\main(), Title\newFromTextThrow(), SpecialListGroupRights\outputNamespaceProtectionInfo(), SearchEngine\parseNamespacePrefixes(), BenchmarkTitleValue\parseTitleValue(), CategoryChangesAsRdfTest\provideCategoryData(), SearchEngineTest\provideCompletionSearchMustRespectCapitalLinkOverrides(), ContentModelLogFormatterTest\provideContentModelLogDatabaseRows(), TitleTest\provideCreateFragmentTitle(), DeleteLogFormatterTest\provideDeleteLogDatabaseRows(), TitleTest\provideEquals(), DeleteLogFormatterTest\provideEventLogDatabaseRows(), MediaWikiTitleCodecTest\provideFormat(), MWNamespaceTest\provideGetCategoryLinkType(), MediaWikiTitleCodecTest\provideGetFullText(), TitleMethodsTest\provideGetLinkURL(), MediaWikiTitleCodecTest\provideGetNamespaceName(), MediaWikiTitleCodecTest\provideGetPrefixedDBkey(), TitleTest\provideGetPrefixedDBKey(), MediaWikiTitleCodecTest\provideGetPrefixedText(), TitleTest\provideGetPrefixedText(), SpecialShortpagesTest\provideGetQueryInfoRespectsContentNs(), TitleTest\provideGetTalkPage_good(), MediaWikiTitleCodecTest\provideGetText(), ExternalUserNamesTest\provideGetUserLinkTitle(), TitleMethodsTest\provideHasSubjectNamespace(), MWNamespaceTest\provideHasTalkNamespace(), TitleMethodsTest\provideInNamespace(), ImportLogFormatterTest\provideInterwikiLogDatabaseRows(), TitleTest\provideIsValid(), WikitextContentHandlerTest\provideMakeRedirectContent(), MergeLogFormatterTest\provideMergeLogDatabaseRows(), ParserOutputTest\provideMergeTrackingMetaDataFrom(), ProtectLogFormatterTest\provideModifyLogDatabaseRows(), MoveLogFormatterTest\provideMoveLogDatabaseRows(), ProtectLogFormatterTest\provideMoveProtLogDatabaseRows(), MoveLogFormatterTest\provideMoveRedirLogDatabaseRows(), TitleTest\provideNewFromTitleValue(), PageLangLogFormatterTest\providePageLangLogDatabaseRows(), MediaWikiTitleCodecTest\provideParseTitle(), BlockLogFormatterTest\providePartialBlockLogDatabaseRows(), PatrolLogFormatterTest\providePatrolLogDatabaseRows(), ProtectLogFormatterTest\provideProtectLogDatabaseRows(), DeleteLogFormatterTest\provideRestoreLogDatabaseRows(), DeleteLogFormatterTest\provideRevisionLogDatabaseRows(), PrefixSearchTest\provideSearch(), DeleteLogFormatterTest\provideSuppressDeleteLogDatabaseRows(), DeleteLogFormatterTest\provideSuppressEventLogDatabaseRows(), DeleteLogFormatterTest\provideSuppressRevisionLogDatabaseRows(), ApiQueryTest\provideTestTitlePartToKey(), ProtectLogFormatterTest\provideUnprotectLogDatabaseRows(), ImportLogFormatterTest\provideUploadLogDatabaseRows(), GlobalWithDBTest\provideWfIsBadImageList(), SearchExactMatchRescorer\rescore(), SearchEngineConfig\searchableNamespaces(), RandomPage\setNamespace(), WikiImporter\setTargetRootPage(), MWNamespaceTest\setUp(), ArticleTest\setUp(), TitlePermissionTest\setUp(), PrefixSearchTest\setUp(), MediaWiki\Tests\Permissions\PermissionManagerTest\setUp(), SearchEnginePrefixTest\setUp(), SpecialAllPages\showChunk(), SpecialPrefixindex\showPrefixChunk(), MediaWikiTitleCodec\splitTitleString(), TitlePermissionTest\testActionPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testActionPermissions(), BlockTest\testAppliesToNamespaceOnPartialNamespaceBlock(), BlockTest\testAppliesToReturnsTrueOnSitewideBlock(), TitlePermissionTest\testCascadingSourcesRestrictions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testCascadingSourcesRestrictions(), ContentHandlerTest\testDataIndexFields(), MWNamespaceTest\testEquals(), MediaWiki\Tests\Revision\MainSlotRoleHandlerTest\testFetDefaultModel(), SpecialMyLanguageTest\testFindTitle(), MediaWikiTitleCodecTest\testFormat(), BlockListPagerTest\testFormatValueRestrictions(), MWNamespaceTest\testGetAssociated(), ResourceLoaderWikiModuleTest\testGetContent(), MWNamespaceTest\testGetContentNamespaces(), ParserOutputSearchDataExtractorTest\testGetOutgoingLinks(), MediaWiki\Tests\Revision\RevisionRendererTest\testGetRenderedRevision_multi(), MediaWiki\Tests\Revision\RenderedRevisionTest\testGetRevisionParserOutput_multi(), MWNamespaceTest\testGetSubject(), MWNamespaceTest\testGetSubjectNamespaces(), MWNamespaceTest\testGetTalk(), MWNamespaceTest\testGetTalkNamespaces(), TitleValueTest\testGetText(), MWNamespaceTest\testHasGenderDistinction(), MWNamespaceTest\testHasSubpages(), TitleMethodsTest\testInNamespaces(), MediaWiki\Tests\Revision\MainSlotRoleHandlerTest\testIsAllowedModel(), TitleTest\testIsAlwaysKnownOnInterwiki(), MWNamespaceTest\testIsContent(), MWNamespaceTest\testIsContentAdvanced(), MWNamespaceTest\testIsSubject(), MWNamespaceTest\testIsTalk(), MWNamespaceTest\testIsWatchable(), MediaWiki\Tests\Block\Restriction\NamespaceRestrictionTest\testMatches(), ApiMoveTest\testMoveSubpages(), MediaWiki\Tests\Revision\RevisionStoreDbTestBase\testNewMutableRevisionFromArray(), TitlePermissionTest\testPageRestrictions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testPageRestrictions(), ContentHandlerTest\testParserOutputForIndexing(), MediaWikiTitleCodecTest\testParseTitle(), MediaWikiTitleCodecTest\testParseTitle_invalid(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\testPlain(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\testPrefetchPlain(), TitlePermissionTest\testQuickPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testQuickPermissions(), ChangesListSpecialPageTest\testRcNsFilter(), ChangesListSpecialPageTest\testRcNsFilterInversion(), TitlePermissionTest\testSpecialsAndNSPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testSpecialsAndNSPermissions(), MWNamespaceTest\testSubjectEquals(), LinksUpdateTest\testUpdate_iwlinks(), LinksUpdateTest\testUpdate_pagelinks(), and PrefixSearch\validateNamespaces().
const NS_MEDIA -2 |
Virtual namespaces; don't appear in the page database
Definition at line 52 of file Defines.php.
Referenced by ParserOutput\addLink(), WikiPage\factory(), Linker\formatLinksInComment(), ApiQueryLinks\getAllowedParams(), ApiQueryAllLinks\getAllowedParams(), ApiQueryLogEvents\getAllowedParams(), ApiQueryRecentChanges\getAllowedParams(), SearchNearMatcher\getNearMatchInternal(), MediaStatisticsPage\getQueryInfo(), WikiPage\getRedirectTarget(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\ifexistCommon(), Title\isAlwaysKnown(), MWNamespace\isCapitalized(), Article\newFromTitle(), File\normalizeTitle(), MediaWiki\parseTitle(), TitleTest\provideCanHaveTalkPage(), TitleTest\provideGetPrefixedDBKey(), TitleTest\provideGetPrefixedText(), TitleTest\provideGetTalkPage_bad(), MWNamespaceTest\provideHasTalkNamespace(), SampleTest\provideTitles(), ImageMap\render(), PrefixSearch\searchBackend(), TitlePermissionTest\testActionPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testActionPermissions(), 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(), SampleTest\testTitleObjectStringConversion(), and CoreParserFunctions\urlFunction().
const NS_MEDIAWIKI 8 |
Definition at line 72 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), AllMessagesTablePager\__construct(), SkinTemplate\buildContentNavigationUrls(), MediaWiki\Permissions\PermissionManager\checkSpecialsAndNSPermissions(), TitleBlacklistHooks\clearBlacklist(), FixDefaultJsonContentPages\doDBUpdates(), WikiPage\doPurge(), MediaWiki\Storage\DerivedPageDataUpdater\doUpdates(), ApiEditPage\execute(), DeleteDefaultMessages\execute(), ImportSiteScripts\execute(), UpdateRestrictions\execute(), NukeNS\execute(), DeleteEqualMessages\execute(), MediaWikiGadgetsDefinitionRepo\fetchStructuredList(), AllMessagesTablePager\formatValue(), TitleBlacklist\getBlacklistText(), EditPage\getContentObject(), AllMessagesTablePager\getCustomisedStatuses(), Title\getDefaultMessageText(), Revision\MainSlotRoleHandler\getDefaultModel(), MediaWikiTestCase\getDefaultWikitextNS(), SearchNearMatcher\getNearMatchInternal(), ContentHandler\getPageLanguage(), ContentHandler\getPageViewLanguage(), WantedPagesPage\getQueryInfo(), UnwatchedpagesPage\getQueryInfo(), Article\getSubstituteContent(), TrackingCategories\getTrackingCategories(), MediaWikiGadgetsDefinitionRepo\handlePageUpdate(), Title\hasSourceText(), EditPage\internalAttemptSave(), Title\isAlwaysKnown(), Title\isConversionTable(), BaseBlacklist\isLocalSource(), Title\isRawHtmlMessage(), Title\isSiteCssConfigPage(), Title\isSiteJsConfigPage(), Title\isSiteJsonConfigPage(), ChangeTags\isTagNameValid(), MessageCache\loadCachedMessagePageEntry(), MessageCache\loadFromDB(), MessageCacheTest\makePage(), ConfirmEditHooks\onAlternateEditPreview(), WikiPage\onArticleDelete(), CiteHooks\onContentHandlerDefaultModelFor(), ConfirmEditHooks\onPageContentSaveComplete(), RawAction\onView(), ResourceLoaderWikiModuleTest\provideGetContent(), MessageCache\refreshAndReplaceInternal(), EditPage\setHeaders(), UploadFromUrlTestSuite\setUp(), TitlePermissionTest\setUp(), MediaWiki\Tests\Permissions\PermissionManagerTest\setUp(), EditPage\showDiff(), EditPage\showIntro(), SpecialGadgets\showMainForm(), Article\showMissingArticle(), ResourceLoaderWikiModuleTest\testGetContentForRedirects(), MessageContentTest\testGetParserOutput(), MWNamespaceTest\testIsCapitalizedHardcodedAssertions(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinkOverrides(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinks(), MessageCacheTest\testReplaceCache(), TitlePermissionTest\testSpecialsAndNSPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testSpecialsAndNSPermissions(), ArticleViewTest\testViewMessagePage(), and TitleBlacklistHooks\validateBlacklist().
const NS_MEDIAWIKI_TALK 9 |
Definition at line 73 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), DeleteEqualMessages\execute(), AllMessagesTablePager\formatValue(), and AllMessagesTablePager\getCustomisedStatuses().
const NS_PROJECT 4 |
Definition at line 68 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), SpecialPasswordPolicies\execute(), SpecialListGroupRights\execute(), MediaWikiTestCase\getDefaultWikitextNS(), SpecialStatistics\getGroupStats(), Language\getNamespaces(), LogFormatterTest\provideApiParamFormatting(), SpecialBookSources\showList(), WebInstallerName\submit(), MWNamespaceTest\testEquals(), TitleTest\testExists(), TitleMethodsTest\testInNamespaces(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinkOverrides(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinks(), TitlePermissionTest\testJsonConfigEditPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testJsonConfigEditPermissions(), TitlePermissionTest\testPageRestrictions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testPageRestrictions(), TitlePermissionTest\testQuickPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testQuickPermissions(), MWNamespaceTest\testSubjectEquals(), and wfInstallerMain().
const NS_PROJECT_TALK 5 |
Definition at line 69 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), Language\getNamespaceAliases(), Language\getNamespaces(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinkOverrides(), and MWNamespaceTest\testIsCapitalizedWithWgCapitalLinks().
const NS_SPECIAL -1 |
Definition at line 53 of file Defines.php.
Referenced by JobSpecification\__construct(), Job\__construct(), ParserOutput\addLink(), LinkCache\addLinkObj(), RCCacheEntryFactory\buildCLink(), MediaWiki\Permissions\PermissionManager\checkSpecialsAndNSPermissions(), SearchEngine\completionSearchBackend(), ApiFeedWatchlist\createFeedItem(), PrefixSearch\defaultSearchBackend(), CdnCacheUpdate\doUpdate(), LinkHolderArray\doVariants(), Revision\ensureTitle(), TidyUpT39714\execute(), ApiComparePages\execute(), Job\factory(), Title\fixSpecialName(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget\footerHtml(), OldChangesList\formatChangeLine(), MediaWikiTitleCodec\formatTitle(), ApiQueryLinks\getAllowedParams(), ApiQueryAllLinks\getAllowedParams(), ApiQueryLogEvents\getAllowedParams(), ApiQueryRecentChanges\getAllowedParams(), RCCacheEntryFactoryTest\getContext(), ApiComparePages\getDiffRevision(), ApiErrorFormatter\getDummyTitle(), IRCColourfulRCFeedFormatter\getLine(), MultimediaViewerHooks\getModulesForArticle(), ChangesListSpecialPageTest\getPage(), SpecialPage\getSafeTitleFor(), TestRecentChangesHelper\getTestContext(), DifferenceEngine\getTitle(), SpecialPageTest\getTitleForWithWarningProvider(), SpecialPage\getTitleValueFor(), MediaWiki\Widget\Search\SimpleSearchResultSetWidget\headerHtml(), Title\isAlwaysKnown(), MediaWiki\Permissions\PermissionManager\isSameSpecialPage(), Title\isSpecialPage(), MediaWiki\main(), MediaWiki\Linker\LinkRenderer\makeBrokenLink(), EnqueueJob\newFromJobsByDomain(), Linker\normaliseSpecialPage(), MessageCache\parse(), ApiPageSet\populateGeneratorData(), Title\prefix(), ApiPageSet\processTitlesArray(), LogFormatterTest\provideApiParamFormatting(), TitleTest\provideCanHaveTalkPage(), TitleTest\provideGetTalkPage_bad(), ExternalUserNamesTest\provideGetUserLinkTitle(), MWNamespaceTest\provideHasTalkNamespace(), ImageMap\render(), LinkHolderArray\replaceInternal(), PrefixSearch\searchBackend(), SpecialMIMESearchTest\setUp(), CoreParserFunctions\special(), PrefixSearch\specialSearch(), MediaWikiTitleCodec\splitTitleString(), 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(), SpecialSearchTest\testRewriteQueryWithSuggestion(), MWNamespaceTest\testSpecialAndMediaAreDifferentSubjects(), TitlePermissionTest\testSpecialsAndNSPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testSpecialsAndNSPermissions(), MWNamespaceTest\testSubjectEquals(), and SkinTemplate\wrapHTML().
const NS_TALK 1 |
Definition at line 65 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\addDBData(), MediaWiki\Tests\Maintenance\BackupDumperPageTest\addDBData(), MediaWiki\Tests\Maintenance\BackupDumperLoggerTest\addDBData(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\checkpointHelper(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\equalsDataProvider(), TitleValueTest\fragmentTitleProvider(), NamespaceDupes\getDestinationTitle(), NamespaceDupes\getTargetList(), TitleTest\provideCanHaveTalkPage(), TitleTest\provideCreateFragmentTitle(), TitleTest\provideEquals(), MWNamespaceTest\provideGetCategoryLinkType(), SpecialShortpagesTest\provideGetQueryInfoRespectsContentNs(), TitleTest\provideGetTalkPage_good(), TitleMethodsTest\provideHasSubjectNamespace(), MWNamespaceTest\provideHasTalkNamespace(), TitleMethodsTest\provideInNamespace(), ParserOutputTest\provideMergeTrackingMetaDataFrom(), MediaWikiTitleCodecTest\provideParseTitle(), MWNamespaceTest\setUp(), MediaWikiTitleCodec\splitTitleString(), ApiBlockTest\testBlockWithRestrictions(), MWNamespaceTest\testEquals(), MWNamespaceTest\testGetAssociated(), MWNamespaceTest\testGetSubject(), MWNamespaceTest\testGetSubjectNamespaces(), MWNamespaceTest\testGetTalk(), MWNamespaceTest\testGetTalkNamespaces(), MWNamespaceTest\testHasGenderDistinction(), MWNamespaceTest\testHasSubpages(), MWNamespaceTest\testIsContent(), MWNamespaceTest\testIsSubject(), MWNamespaceTest\testIsTalk(), MWNamespaceTest\testIsWatchable(), SpecialBlockTest\testMaybeAlterFormDefaultsPartial(), ApiQuerySiteinfoTest\testNamespaceAliases(), MediaWiki\Tests\Maintenance\BackupDumperLoggerTest\testPlain(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\testPlain(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\testPrefetchPlain(), TitlePermissionTest\testQuickPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testQuickPermissions(), MWNamespaceTest\testSubjectEquals(), LinksUpdateTest\testUpdate_pagelinks(), and MediaWiki\Tests\Maintenance\BackupDumperLoggerTest\testXmlDumpsBackupUseCaseLogging().
const NS_TEMPLATE 10 |
Definition at line 74 of file Defines.php.
Referenced by UncategorizedTemplatesPage\__construct(), ApiQueryAllLinks\__construct(), DumpNamespaceFilter\__construct(), ApiQueryBasicTest\addDBDataOnce(), MysqlUpdater\doTemplatelinksUpdate(), UnusedtemplatesPage\formatResult(), WantedTemplatesPage\getQueryInfo(), UnusedtemplatesPage\getQueryInfo(), LinkCache\isCacheable(), TitleMethodsTest\provideHasSubjectNamespace(), TitleMethodsTest\provideInNamespace(), ParserOutputTest\provideMergeTrackingMetaDataFrom(), MWNamespaceTest\testEquals(), ParserOutputSearchDataExtractorTest\testGetTemplates(), TitleMethodsTest\testInNamespaces(), MWNamespaceTest\testIsNonincludable(), MWNamespaceTest\testSubjectEquals(), and LinksUpdateTest\testUpdate_templatelinks().
const NS_TEMPLATE_TALK 11 |
Definition at line 75 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct().
const NS_USER 2 |
Definition at line 66 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), UsersPager\__construct(), ActiveUsersPager\__construct(), ImageListPager\__construct(), SpecialEditWatchlist\buildRemoveLine(), MediaWiki\Permissions\PermissionManager\checkQuickPermissions(), RenameUserCleanup\checkRenameLog(), SpecialContributions\contributionsSub(), SpecialRedirect\dispatchUser(), HistoryPager\doBatchLookups(), FileDuplicateSearchPage\doBatchLookups(), UsersPager\doBatchLookups(), ContribsPager\doBatchLookups(), FixDefaultJsonContentPages\doDBUpdates(), UserCache\doQuery(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\equalsDataProvider(), SpecialRenameuser\execute(), SpecialLog\execute(), SpecialContributions\execute(), ApiQueryAllUsers\execute(), ApiFeedContributions\execute(), ChangesListSpecialPage\execute(), ShiConverter\findVariantLink(), SrConverter\findVariantLink(), IuConverter\findVariantLink(), KuConverter\findVariantLink(), CrhConverter\findVariantLink(), KkConverter\findVariantLink(), SpecialNewpages\form(), MIMEsearchPage\formatResult(), ImageListPager\formatValue(), CoreParserFunctions\gender(), MediaWiki\Preferences\DefaultPreferencesFactory\generateSkinOptions(), ImageHistoryPseudoPager\getBody(), User\getCanonicalName(), Revision\MainSlotRoleHandler\getDefaultModel(), MediaWikiTestCase\getDefaultWikitextNS(), WANCacheReapUpdate\getEventAffectedKeys(), RenameuserLogFormatter\getMessageParameters(), WatchedItemStoreUnitTest\getMockNonAnonUserWithId(), SearchNearMatcher\getNearMatchInternal(), RenameuserLogFormatter\getPreloadTitles(), NewPagesPager\getQueryInfo(), WantedPagesPage\getQueryInfo(), ActiveUsersPager\getQueryInfo(), SpecialMypage\getRedirect(), Skin\getRelevantUser(), Article\getRobotPolicy(), MergeHistoryPager\getStartBody(), NewPagesPager\getStartBody(), LogPager\getStartBody(), DeletedContributionsPage\getSubTitle(), SpecialBlock\getTargetUserTitle(), ExternalUserNames\getUserLinkTitle(), UserRightsProxy\getUserPage(), User\getUserPage(), TitleValueTest\goodConstructorProvider(), MWNamespace\hasGenderDistinction(), User\idFromName(), EditPage\importFormData(), Title\isUserCssConfigPage(), Title\isUserJsConfigPage(), Title\isUserJsonConfigPage(), LogPager\limitPerformer(), Language\needsGenderDistinction(), RenameuserHooks\onShowMissingArticle(), InfoAction\pageInfo(), ProtectedPagesPager\preprocessResults(), BlockListPager\preprocessResults(), SpecialBlock\processForm(), SpecialUnblock\processUnblock(), NewUsersLogFormatterTest\provideAutocreateLogDatabaseRows(), RightsLogFormatterTest\provideAutopromoteLogDatabaseRows(), BlockLogFormatterTest\provideBlockLogDatabaseRows(), NewUsersLogFormatterTest\provideByemailLogDatabaseRows(), TitleTest\provideCanHaveTalkPage(), NewUsersLogFormatterTest\provideCreate2LogDatabaseRows(), NewUsersLogFormatterTest\provideCreateLogDatabaseRows(), MediaWikiTitleCodecTest\provideFormat(), MWNamespaceTest\provideGetCategoryLinkType(), MediaWikiTitleCodecTest\provideGetFullText(), MediaWikiTitleCodecTest\provideGetNamespaceName(), MediaWikiTitleCodecTest\provideGetPrefixedDBkey(), TitleTest\provideGetPrefixedDBKey(), MediaWikiTitleCodecTest\provideGetPrefixedText(), TitleTest\provideGetPrefixedText(), MediaWikiTitleCodecTest\provideGetText(), TitleMethodsTest\provideHasSubjectNamespace(), MWNamespaceTest\provideHasTalkNamespace(), TitleMethodsTest\provideInNamespace(), TitleTest\provideNewFromTitleValue(), NewUsersLogFormatterTest\provideNewUsersLogDatabaseRows(), MediaWikiTitleCodecTest\provideParseTitle(), BlockLogFormatterTest\providePartialBlockLogDatabaseRows(), BlockLogFormatterTest\provideReblockLogDatabaseRows(), RightsLogFormatterTest\provideRightsLogDatabaseRows(), BlockLogFormatterTest\provideSuppressBlockLogDatabaseRows(), BlockLogFormatterTest\provideSuppressReblockLogDatabaseRows(), SampleTest\provideTitles(), BlockLogFormatterTest\provideUnblockLogDatabaseRows(), RenameuserSQL\rename(), MWNamespaceTest\setUp(), RevisionDeleteUser\setUsernameBitfields(), MovePageForm\showForm(), SpecialUndelete\showHistory(), EditPage\showIntro(), Article\showMissingArticle(), MediaWiki\Preferences\DefaultPreferencesFactory\skinPreferences(), MediaWikiTitleCodec\splitTitleString(), BlockTest\testAppliesToNamespaceOnPartialNamespaceBlock(), BlockTest\testAppliesToTitleOnPartialBlock(), TitlePermissionTest\testCssConfigEditPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testCssConfigEditPermissions(), MWNamespaceTest\testEquals(), MWNamespaceTest\testGetContentNamespaces(), MWNamespaceTest\testGetSubject(), MWNamespaceTest\testGetTalk(), MWNamespaceTest\testHasGenderDistinction(), MWNamespaceTest\testHasSubpages(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\testIgnoreNotSupportedTypes(), TitleMethodsTest\testInNamespaces(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\testInsert(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\testInsertTypes(), MWNamespaceTest\testIsCapitalizedHardcodedAssertions(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinkOverrides(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinks(), MWNamespaceTest\testIsContent(), MWNamespaceTest\testIsNonincludable(), MWNamespaceTest\testIsSubject(), MWNamespaceTest\testIsTalk(), TitlePermissionTest\testJsConfigEditPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testJsConfigEditPermissions(), TitlePermissionTest\testJsonConfigEditPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testJsonConfigEditPermissions(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\testLoadMultipleRestrictions(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\testMappingNamespaceRestrictionObject(), TitlePermissionTest\testOtherCssConfigEditPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testOtherCssConfigEditPermissions(), TitlePermissionTest\testOtherJsConfigEditPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testOtherJsConfigEditPermissions(), TitlePermissionTest\testOtherJsonConfigEditPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testOtherJsonConfigEditPermissions(), TitlePermissionTest\testOtherNonConfigEditPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testOtherNonConfigEditPermissions(), TitlePermissionTest\testPatrolActionConfigEditPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testPatrolActionConfigEditPermissions(), TitlePermissionTest\testQuickPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testQuickPermissions(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\testSetBlockId(), TitlePermissionTest\testSpecialsAndNSPermissions(), MediaWiki\Tests\Permissions\PermissionManagerTest\testSpecialsAndNSPermissions(), MWNamespaceTest\testSubjectEquals(), MediaWiki\Tests\Block\BlockRestrictionStoreTest\testUpdateInsert(), TitleBlacklistHooks\testUserName(), ArticleViewTest\testViewMissingUserPage(), ArticleViewTest\testViewUserPageOfNonexistingUser(), ApiUserrightsTest\testWithTag(), RecentChangesUpdateJob\updateActiveUsers(), and Linker\userLink().
const NS_USER_TALK 3 |
Definition at line 67 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), EmailNotification\actuallyNotifyOnPageChange(), Block\appliesToUsertalk(), EmailNotification\canSendUserTalkEmail(), User\clearNotification(), HistoryPager\doBatchLookups(), FileDuplicateSearchPage\doBatchLookups(), UsersPager\doBatchLookups(), ContribsPager\doBatchLookups(), UserCache\doQuery(), MediaWiki\Storage\DerivedPageDataUpdater\doUpdates(), SpecialRenameuser\execute(), ChangesListSpecialPage\execute(), ShiConverter\findVariantLink(), SrConverter\findVariantLink(), IuConverter\findVariantLink(), KuConverter\findVariantLink(), CrhConverter\findVariantLink(), KkConverter\findVariantLink(), ImageHistoryPseudoPager\getBody(), NewUsersLogFormatter\getPreloadTitles(), WantedPagesPage\getQueryInfo(), SpecialMytalk\getRedirect(), Article\getRobotPolicy(), MergeHistoryPager\getStartBody(), NewPagesPager\getStartBody(), LogPager\getStartBody(), MWNamespace\hasGenderDistinction(), EditPage\importFormData(), Language\needsGenderDistinction(), EmailNotification\notifyOnPageChange(), WikiPage\onArticleDelete(), RenameuserHooks\onShowMissingArticle(), ProtectedPagesPager\preprocessResults(), BlockListPager\preprocessResults(), MediaWikiTitleCodecTest\provideFormat(), MWNamespaceTest\provideGetCategoryLinkType(), MediaWikiTitleCodecTest\provideGetFullText(), MediaWikiTitleCodecTest\provideGetPrefixedDBkey(), TitleTest\provideGetPrefixedDBKey(), MediaWikiTitleCodecTest\provideGetPrefixedText(), TitleTest\provideGetPrefixedText(), TitleMethodsTest\provideHasSubjectNamespace(), MWNamespaceTest\provideHasTalkNamespace(), TitleMethodsTest\provideInNamespace(), MediaWiki\Tests\Permissions\PermissionManagerTest\provideIsBlockedFrom(), UserTest\provideIsBlockedFrom(), MWNamespaceTest\setUp(), SpecialUndelete\showHistory(), EditPage\showIntro(), Article\showMissingArticle(), Article\showViewFooter(), MediaWikiTitleCodec\splitTitleString(), BlockTest\testAppliesToReturnsTrueOnSitewideBlock(), MediaWiki\Tests\Permissions\PermissionManagerTest\testBlockInstanceCache(), UserTest\testBlockInstanceCache(), MWNamespaceTest\testEquals(), ApiQueryBlocksTest\testExecuteRestrictions(), 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 184 of file Defines.php.
Referenced by ParserMethodsTest\testCallParserFunction(), and ExtraParserTest\testParseLinkParameter().
const OT_MSG 3 |
Definition at line 187 of file Defines.php.
const OT_PLAIN 4 |
Definition at line 188 of file Defines.php.
const OT_PREPROCESS 3 |
Definition at line 186 of file Defines.php.
Referenced by ApiExpandTemplates\execute(), ApiParse\execute(), and SpecialExpandTemplates\execute().
const OT_WIKI 2 |
Definition at line 185 of file Defines.php.
const PROTO_CANONICAL 1 |
Definition at line 223 of file Defines.php.
Referenced by DumpCategoriesAsRdf\addDumpHeader(), ApiQueryExternalLinks\execute(), ApiQueryInfo\extractPageInfo(), File\getCanonicalUrl(), Title\getCanonicalURL(), SpecialUploadStash\outputRemoteScaledThumb(), WfExpandUrlTest\provideExpandableUrls(), ApiQueryExtLinksUsage\run(), UserMailer\sendInternal(), CategoriesRdf\titleToUrl(), File\transform(), and wfExpandUrl().
const PROTO_CURRENT null |
Definition at line 222 of file Defines.php.
Referenced by 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\getUniqueIdUnescaped(), RevertAction\onSuccess(), FileDeleteForm\prepareMessage(), WfExpandUrlTest\provideExpandableUrls(), ApiQuerySiteinfoTest\rightsInfoProvider(), ApiOpenSearch\search(), SearchSuggestion\setSuggestedTitle(), ApiQuerySiteinfoTest\testInterwikiMap(), SpecialSearchTest\testSubPageRedirect(), MediaWiki\tryNormaliseRedirect(), wfExpandUrl(), and wfStreamThumb().
const PROTO_HTTP 'http://' |
Protocol constants for wfExpandUrl()
Definition at line 219 of file Defines.php.
Referenced by MWHttpRequest\__construct(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), Title\getInternalURL(), MediaWiki\Linker\LinkRenderer\getLegacyOptions(), ForeignAPIRepo\httpGet(), BaseBlacklist\isLocalSource(), LinkRendererFactoryTest\provideCreateFromLegacyOptions(), WfExpandUrlTest\provideExpandableUrls(), LoginHelper\showReturnToPage(), and wfExpandUrl().
const PROTO_HTTPS 'https://' |
Definition at line 220 of file Defines.php.
Referenced by SpecialPage\checkLoginSecurityLevel(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), SpecialLinkAccounts\execute(), LoginSignupSpecialPage\execute(), MediaWiki\Linker\LinkRenderer\getLegacyOptions(), AuthManagerSpecialPage\handleReauthBeforeExecute(), AuthManagerSpecialPage\handleReturnBeforeExecute(), MediaWiki\main(), AuthManagerSpecialPage\performAuthenticationStep(), LinkRendererFactoryTest\provideCreateFromLegacyOptions(), WfExpandUrlTest\provideExpandableUrls(), LoginHelper\showReturnToPage(), and wfExpandUrl().
const PROTO_INTERNAL 2 |
Definition at line 224 of file Defines.php.
Referenced by CdnCacheUpdate\expand(), MediaWiki\performAction(), and wfExpandUrl().
const PROTO_RELATIVE '//' |
Definition at line 221 of file Defines.php.
Referenced by CoreParserFunctions\filepath(), SpecialVersion\getEntryPointInfo(), File\getFullUrl(), CssContentHandler\makeRedirectContent(), JavaScriptContentHandler\makeRedirectContent(), WfExpandUrlTest\provideExpandableUrls(), and LoginHelper\showReturnToPage().
const RC_CATEGORIZE 6 |
Definition at line 146 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), LinksUpdateTest\assertRecentChangeByCategorization(), RCCacheEntryFactory\buildDiffLink(), CategoryMembershipChangeJobTest\getCategorizeRecentChangeForRevId(), EnhancedChangesList\getDiffHistLinks(), IRCColourfulRCFeedFormatter\getLine(), EnhancedChangesList\getLogText(), ActiveUsersPager\getQueryInfo(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), CategoryChangesAsRdf\handleCategorization(), 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 142 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), ChangesFeed\buildItems(), PopulateRecentChangesSource\buildUpdateCondition(), RecentChange\diffLinkTrail(), MachineReadableRCFeedFormatter\getLine(), ApiQueryRecentChanges\getPatrolToken(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), WatchedItemQueryServiceUnitTest\getWatchedItemsWithRecentChangeInfoInvalidOptionsProvider(), WatchedItemQueryServiceUnitTest\getWatchedItemsWithRecentChangeInfoOptionsProvider(), CategoryChangesAsRdf\handleEdits(), ChangesList\insertRollback(), RecentChange\notifyEdit(), RecentChangeTest\provideRCTypes(), RebuildRecentchanges\rebuildRecentChangesTablePass1(), and RebuildRecentchanges\rebuildRecentChangesTablePass2().
const RC_EXTERNAL 5 |
Definition at line 145 of file Defines.php.
Referenced by ChangesFeed\buildItems(), PopulateRecentChangesSource\buildUpdateCondition(), SiteStatsUpdate\cacheUpdate(), ApiQueryAllUsers\execute(), ApiQueryRecentChangesIntegrationTest\getExternalRC(), ApiQueryWatchlistIntegrationTest\getExternalRC(), ActiveUsersPager\getQueryInfo(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), RecentChange\notifyRCFeeds(), RecentChangeTest\provideRCTypes(), and RecentChangesUpdateJob\updateActiveUsers().
const RC_LOG 3 |
Definition at line 144 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), RCCacheEntryFactory\buildCLink(), RCCacheEntryFactory\buildCurLink(), RCCacheEntryFactory\buildDiffLink(), RCCacheEntryFactory\buildLastLink(), PopulateRecentChangesSource\buildUpdateCondition(), LinksDeletionUpdate\doIncrementalUpdate(), SpecialWatchlist\doMainQuery(), RecentChange\doMarkPatrolled(), UpdateSearchIndex\doUpdateSearchIndex(), ApiQueryWatchlist\extractOutputData(), ApiQueryRecentChanges\extractRowInfo(), OldChangesList\formatChangeLine(), FeedUtils\formatDiff(), CategoryChangesAsRdf\getDeletedCatsIterator(), WatchedItemQueryService\getExtraDeletedPageLogEntryRelatedCond(), IRCColourfulRCFeedFormatter\getLine(), MachineReadableRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), CategoryChangesAsRdf\getMovedCatsIterator(), NewFilesPager\getQueryInfo(), CategoryChangesAsRdf\getRestoredCatsIterator(), WatchedItemQueryService\getWatchedItemsWithRCInfoQueryConds(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), ChangesList\insertDiffHist(), EnhancedChangesList\makeCacheGroupingKey(), RCCacheEntryFactory\newFromRecentChange(), RecentChange\newLogEntry(), SpecialWatchlist\outputChangesList(), RecentChangeTest\provideRCTypes(), RebuildRecentchanges\rebuildRecentChangesTablePass3(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), SpecialWatchlist\registerFilters(), ApiQueryRecentChanges\run(), Article\showPatrolFooter(), ChangesList\userCan(), and WatchedItemQueryServiceUnitTest\userPermissionRelatedExtraChecksProvider().
const RC_NEW 1 |
Definition at line 143 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), 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\onSubmit(), RecentChangeTest\provideRCTypes(), RebuildRecentchanges\rebuildRecentChangesTablePass1(), RebuildRecentchanges\rebuildRecentChangesTablePass2(), EnhancedChangesList\recentChangesBlockLine(), ApiQueryRecentChanges\run(), WatchedItemQueryServiceUnitTest\testGetWatchedItemsWithRecentChangeInfo(), and WatchedItemQueryServiceUnitTest\testGetWatchedItemsWithRecentChangeInfo_extension().
const SCHEMA_COMPAT_NEW SCHEMA_COMPAT_WRITE_NEW | SCHEMA_COMPAT_READ_NEW |
Definition at line 291 of file Defines.php.
Referenced by UserCache\doQuery(), User\getQueryInfo(), User\loadFromRow(), User\newFromActorId(), User\newFromAnyId(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideArchiveQueryInfo(), ActorMigrationTest\provideGetJoin(), ActorMigrationTest\provideGetWhere(), ApiQueryUserContribsTest\provideInterwikiUser(), ActorMigrationTest\provideIsAnon(), MediaWiki\Tests\Revision\RevisionStoreTest\provideMigrationConstruction(), DatabaseLogEntryTest\provideNewFromId(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideQueryInfo(), MediaWiki\Tests\Revision\RevisionStoreTest\provideSetContentHandlerUseDB(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSlotsQueryInfo(), ApiQueryUserContribsTest\provideSorting(), ActorMigrationTest\provideStages(), UserTest\setUp(), RevisionDbTestBase\setUp(), MediaWiki\Tests\Revision\RevisionStoreDbTestBase\setUp(), PageArchiveTestBase\setUp(), ChangesListSpecialPageTest\testFilterUserExpLevelAllExperienceLevels(), ChangesListSpecialPageTest\testFilterUserExpLevelRegistrered(), ChangesListSpecialPageTest\testFilterUserExpLevelRegistreredOrLearner(), ChangesListSpecialPageTest\testFilterUserExpLevelUnregistrered(), ChangesListSpecialPageTest\testFilterUserExpLevelUnregistreredOrExperienced(), ActorMigrationTest\testInsertRoundTrip(), RevisionTest\testLoadFromTitle(), ChangesListSpecialPageTest\testRcHidebyothersFilter(), and ChangesListSpecialPageTest\testRcHidemyselfFilter().
const SCHEMA_COMPAT_OLD SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_READ_OLD |
Definition at line 290 of file Defines.php.
Referenced by MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideArchiveQueryInfo(), ActorMigrationTest\provideGetJoin(), ActorMigrationTest\provideGetWhere(), ApiQueryUserContribsTest\provideInterwikiUser(), ActorMigrationTest\provideIsAnon(), MediaWiki\Tests\Revision\RevisionStoreTest\provideMigrationConstruction(), DatabaseLogEntryTest\provideNewFromId(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideQueryInfo(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSelectArchiveFields(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSelectFields(), MediaWiki\Tests\Revision\RevisionStoreTest\provideSetContentHandlerUseDB(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSlotsQueryInfo(), ApiQueryUserContribsTest\provideSorting(), ActorMigrationTest\provideStages(), ActorMigrationTest\testInsertRoundTrip(), and MediaWiki\Tests\Revision\RevisionQueryInfoTest\testRevisionUserJoinCond().
const SCHEMA_COMPAT_READ_BOTH SCHEMA_COMPAT_READ_OLD | SCHEMA_COMPAT_READ_NEW |
Definition at line 289 of file Defines.php.
Referenced by ActorMigration\__construct(), Revision\RevisionStore\__construct(), ActorMigrationTest\provideConstructor(), and MediaWiki\Tests\Revision\RevisionStoreTest\provideMigrationConstruction().
const SCHEMA_COMPAT_READ_NEW 0x20 |
Definition at line 287 of file Defines.php.
Referenced by ActorMigration\__construct(), Revision\RevisionStore\__construct(), ApiQueryUserContribsTest\addDBDataOnce(), UserCache\doQuery(), Revision\RevisionStore\emulateMainSlot_1_29(), SpecialLog\execute(), ApiQueryUserContribs\execute(), ApiQueryContributors\execute(), ApiQueryUserInfo\getLatestContributionTime(), MediaWiki\Tests\Revision\getMcrMigrationStage(), NewFilesPager\getQueryInfo(), ActiveUsersPager\getQueryInfo(), User\getQueryInfo(), ActorMigration\getWhere(), MediaWiki\Tests\Storage\DerivedPageDataUpdaterTest\hasMultiSlotSupport(), Revision\RevisionStore\insertRevisionOn(), ActorMigration\isAnon(), ActorMigration\isNotAnon(), Revision\RevisionStore\newRevisionSlots(), InfoAction\pageCounts(), ApiQueryUserContribs\prepareQuery(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideArchiveQueryInfo(), ActorMigrationTest\provideConstructor(), ActorMigrationTest\provideGetJoin(), ActorMigrationTest\provideGetWhere(), ApiQueryUserContribsTest\provideInterwikiUser(), ActorMigrationTest\provideIsAnon(), MediaWiki\Tests\Revision\RevisionStoreTest\provideMigrationConstruction(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideQueryInfo(), MediaWiki\Tests\Revision\RevisionStoreTest\provideSetContentHandlerUseDB(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSlotsQueryInfo(), ApiQueryUserContribsTest\provideSorting(), ActorMigrationTest\provideStages(), ApiQueryAllRevisions\run(), ApiQueryRevisions\run(), Revision\selectArchiveFields(), OldLocalFile\selectFields(), LocalFile\selectFields(), Block\selectFields(), ArchivedFile\selectFields(), RecentChange\selectFields(), Revision\selectFields(), Revision\RevisionStore\setContentHandlerUseDB(), RevisionTest\setUp(), ActorMigrationTest\testInsertRoundTrip(), ActorMigrationTest\testInsertUserIdentity(), and Revision\userJoinCond().
const SCHEMA_COMPAT_READ_OLD 0x02 |
Definition at line 285 of file Defines.php.
Referenced by ActorMigration\__construct(), Revision\RevisionStore\__construct(), Revision\RevisionStore\assertCrossWikiContentLoadingIsSafe(), ApiQueryAllUsers\execute(), Revision\RevisionStore\getArchiveQueryInfo(), ActorMigration\getJoin(), Revision\RevisionStore\getQueryInfo(), Revision\RevisionStore\getSlotsQueryInfo(), Revision\RevisionStore\newMutableRevisionFromArray(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideArchiveQueryInfo(), ActorMigrationTest\provideConstructor(), ActorMigrationTest\provideGetJoin(), ActorMigrationTest\provideGetWhere(), ApiQueryUserContribsTest\provideInterwikiUser(), ActorMigrationTest\provideIsAnon(), MediaWiki\Tests\Revision\RevisionStoreTest\provideMigrationConstruction(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideQueryInfo(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSelectArchiveFields(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSelectFields(), MediaWiki\Tests\Revision\RevisionStoreTest\provideSetContentHandlerUseDB(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSlotsQueryInfo(), ApiQueryUserContribsTest\provideSorting(), ActorMigrationTest\provideStages(), Maintenance\purgeRedundantText(), UserTest\testActorId_old(), ChangesListSpecialPageTest\testFilterUserExpLevelAllExperienceLevels_old(), ChangesListSpecialPageTest\testFilterUserExpLevelRegistrered_old(), ChangesListSpecialPageTest\testFilterUserExpLevelRegistreredOrLearner_old(), ChangesListSpecialPageTest\testFilterUserExpLevelUnregistrered_old(), ChangesListSpecialPageTest\testFilterUserExpLevelUnregistreredOrExperienced_old(), ActorMigrationTest\testInsertRoundTrip(), ChangesListSpecialPageTest\testRcHidebyothersFilter_old(), ChangesListSpecialPageTest\testRcHidemyselfFilter_old(), and MediaWiki\Tests\Revision\RevisionStoreTest\useTextId().
const SCHEMA_COMPAT_WRITE_BOTH SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_WRITE_NEW |
Definition at line 288 of file Defines.php.
Referenced by ActorMigration\__construct(), Revision\RevisionStore\__construct(), ApiQueryUserContribsTest\addDBDataOnce(), LocalFileDeleteBatch\doDBInserts(), MediaWiki\Tests\Revision\getMcrMigrationStage(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideArchiveQueryInfo(), ActorMigrationTest\provideConstructor(), ActorMigrationTest\provideGetJoin(), ActorMigrationTest\provideGetWhere(), ApiQueryUserContribsTest\provideInterwikiUser(), ActorMigrationTest\provideIsAnon(), MediaWiki\Tests\Revision\RevisionStoreTest\provideMigrationConstruction(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideQueryInfo(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSelectArchiveFields(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSelectFields(), MediaWiki\Tests\Revision\RevisionStoreTest\provideSetContentHandlerUseDB(), MediaWiki\Tests\Revision\RevisionQueryInfoTest\provideSlotsQueryInfo(), ApiQueryUserContribsTest\provideSorting(), ActorMigrationTest\provideStages(), LocalFile\recordUpload2(), RevisionTest\setUp(), UserTest\testActorId_old(), ChangesListSpecialPageTest\testFilterUserExpLevelAllExperienceLevels_old(), ChangesListSpecialPageTest\testFilterUserExpLevelRegistrered_old(), ChangesListSpecialPageTest\testFilterUserExpLevelRegistreredOrLearner_old(), ChangesListSpecialPageTest\testFilterUserExpLevelUnregistrered_old(), ChangesListSpecialPageTest\testFilterUserExpLevelUnregistreredOrExperienced_old(), ActorMigrationTest\testInsertRoundTrip(), ChangesListSpecialPageTest\testRcHidebyothersFilter_old(), and ChangesListSpecialPageTest\testRcHidemyselfFilter_old().
const SCHEMA_COMPAT_WRITE_NEW 0x10 |
Definition at line 286 of file Defines.php.
Referenced by ActorMigration\__construct(), Revision\RevisionStore\__construct(), RenameuserSQL\actorMigrationWriteNew(), WikiPage\archiveRevisions(), LocalFileDeleteBatch\doDBInserts(), MigrateActors\doDBUpdates(), PopulateLogSearch\doDBUpdates(), ReassignEdits\doReassignEdits(), Revision\RevisionStore\emulateMainSlot_1_29(), RemoveUnusedAccounts\execute(), PopulateContentTables\execute(), Revision\RevisionStore\findSlotContentId(), User\getActorId(), ActorMigration\getInsertValues(), ActorMigration\getInsertValuesWithTempTable(), MediaWiki\Tests\Storage\DerivedPageDataUpdaterTest\hasMultiSlotSupport(), ManualLogEntry\insert(), Revision\RevisionStore\insertRevisionOn(), Revision\RevisionStore\insertRevisionRowOn(), Revision\RevisionStore\insertSlotOn(), DatabaseUpdater\migrateActors(), DatabaseUpdater\populateContentTables(), ActorMigrationTest\provideConstructor(), MediaWiki\Tests\Revision\RevisionStoreTest\provideMigrationConstruction(), LocalFile\recordUpload2(), User\saveSettings(), Revision\RevisionStore\setContentHandlerUseDB(), RevisionDeleteUser\setUsernameBitfields(), RevDelList\setVisibility(), MediaWiki\Tests\Revision\RevisionStoreDbTestBase\testGetKnownCurrentRevision_userNameChange(), ActorMigrationTest\testInsertRoundTrip(), ActorMigrationTest\testInsertUserIdentity(), MediaWiki\Tests\Revision\RevisionStoreDbTestBase\testNewRevisionFromRow_userNameChange(), User\updateActorId(), and ReassignEdits\userSpecification().
const SCHEMA_COMPAT_WRITE_OLD 0x01 |
Schema compatibility flags.
Used as flags in a bit field that indicates whether the old or new schema (or both) are read or written.
Definition at line 284 of file Defines.php.
Referenced by ActorMigration\__construct(), Revision\RevisionStore\__construct(), RenameuserSQL\actorMigrationWriteOld(), WikiPage\archiveRevisions(), DatabaseOracle\delete(), LocalFileDeleteBatch\doDBInserts(), PopulateLogSearch\doDBUpdates(), ReassignEdits\doReassignEdits(), WikiExporter\dumpPages(), RemoveUnusedAccounts\execute(), Revision\RevisionStore\getBaseRevisionRow(), ActorMigration\getInsertValues(), ActorMigration\getInsertValuesWithTempTable(), Revision\RevisionStore\getQueryInfo(), Revision\getRevisionText(), ManualLogEntry\insert(), Revision\RevisionStore\insertRevisionInternal(), Revision\RevisionStore\insertSlotOn(), ActorMigrationTest\provideConstructor(), MediaWiki\Tests\Revision\RevisionStoreTest\provideMigrationConstruction(), LocalFile\recordUpload2(), Revision\selectArchiveFields(), Revision\selectFields(), RevisionDeleteUser\setUsernameBitfields(), RevDelList\setVisibility(), ActorMigrationTest\testInsertRoundTrip(), ActorMigrationTest\testInsertUserIdentity(), and ReassignEdits\userSpecification().
const SFH_NO_HASH 1 |
Flags for Parser::setFunctionHook Use of Parser consts is preferred:
Definition at line 197 of file Defines.php.
Referenced by CoreParserFunctions\register().
const SFH_OBJECT_ARGS 2 |
Definition at line 198 of file Defines.php.
Referenced by MediaWiki\Extensions\ParserFunctions\Hooks\onParserFirstCallInit(), CoreParserFunctions\register(), and TagHooksTest\testBadFunctionTagHooks().
const SHELL_MAX_ARG_STRLEN '100000' |
Max string length for shell invocations; based on binfmts.h
Definition at line 270 of file Defines.php.
Referenced by MediaWiki\Shell\Command\execute().
const XML_DUMP_SCHEMA_VERSION_10 '0.10' |
XML dump schema versions, for use with XmlDumpWriter. See also the corresponding export-nnnn.xsd files in the docs directory, which are also listed at https://www.mediawiki.org/xml/. Note that not all old schema versions are represented here, as several were already unsupported at the time these constants were introduced.
Definition at line 328 of file Defines.php.