MediaWiki REL1_31
|
const ALF_NO_BLOCK_LOCK 8 |
Definition at line 135 of file Defines.php.
const ALF_NO_LINK_LOCK 4 |
Definition at line 134 of file Defines.php.
const ALF_PRELOAD_EXISTENCE 2 |
Definition at line 133 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 132 of file Defines.php.
const APCOND_AGE 2 |
Definition at line 216 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_AGE_FROM_EDIT 7 |
Definition at line 221 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_BLOCKED 8 |
Definition at line 222 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 215 of file Defines.php.
Referenced by Autopromote\checkCondition(), and AutopromoteTest\testEditCountLookupIsSkippedIfRequirementIsZero().
const APCOND_EMAILCONFIRMED 3 |
Definition at line 217 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_INGROUPS 4 |
Definition at line 218 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_IPINRANGE 6 |
Definition at line 220 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_ISBOT 9 |
Definition at line 223 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_ISIP 5 |
Definition at line 219 of file Defines.php.
Referenced by Autopromote\checkCondition().
const AV_NO_VIRUS 0 |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 121 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_SCAN_ABORTED -1 |
Definition at line 123 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_SCAN_FAILED false |
Definition at line 124 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_VIRUS_FOUND 1 |
Definition at line 122 of file Defines.php.
const CACHE_ACCEL 3 |
Definition at line 115 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 111 of file Defines.php.
Referenced by JobQueue\__construct(), ResourceLoaderFileModule\compileLessFile(), ResourceLoader\filter(), SpecialVersion\getCreditsForExtension(), IcuCollation\getFirstLetterData(), Installer\getInstallerConfig(), CacheHelper\initCaching(), ObjectCache\newAnything(), CacheHelper\saveCache(), and ObjectCacheTest\setCacheConfig().
const CACHE_DB 1 |
Definition at line 113 of file Defines.php.
Referenced by Installer\getInstallerConfig(), MediaWikiTestCase\makeTestConfig(), ObjectCache\newAnything(), ManageJobs\repushAbandoned(), ObjectCacheTest\setCacheConfig(), and ParserTestRunner\staticSetup().
const CACHE_MEMCACHED 2 |
Definition at line 114 of file Defines.php.
Referenced by McTest\execute(), Installer\getInstallerConfig(), and MediaWikiTestCase\makeTestConfig().
const CACHE_NONE 0 |
Definition at line 112 of file Defines.php.
Referenced by Installer\__construct(), TestSetup\applyInitialConfig(), 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 264 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 268 of file Defines.php.
const CONTENT_FORMAT_JAVASCRIPT 'text/javascript' |
Definition at line 262 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 272 of file Defines.php.
Referenced by JsonContentHandler\__construct().
const CONTENT_FORMAT_SERIALIZED 'application/vnd.php.serialized' |
Definition at line 270 of file Defines.php.
const CONTENT_FORMAT_TEXT 'text/plain' |
Definition at line 266 of file Defines.php.
Referenced by RevisionTestModifyableContentHandler\__construct(), and MediaWiki\Tests\Storage\RevisionStoreTest\makeRow().
const CONTENT_FORMAT_WIKITEXT 'text/x-wiki' |
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 260 of file Defines.php.
Referenced by WikitextContentHandler\__construct(), WikitextContentHandlerTest\dataIsSupportedFormat(), ContentHandlerTest\dataMakeContent(), MediaWiki\Tests\Storage\SlotRecordTest\makeRow(), RevisionDbTestBase\provideGetContentFormat(), MediaWiki\Tests\Storage\SlotRecordTest\testCompleteConstruction(), MediaWiki\Tests\Storage\SlotRecordTest\testConstructionDeferred(), WikitextContentHandlerTest\testSerializeContent(), and WikitextContentHandlerTest\testUnserializeContent().
const CONTENT_FORMAT_XML 'application/xml' |
Definition at line 274 of file Defines.php.
const CONTENT_MODEL_CSS 'css' |
Definition at line 247 of file Defines.php.
Referenced by TitleMethodsTest\dataGetContentModel(), ContentHandlerTest\dataGetDefaultModelFor(), ContentHandlerTest\dataMakeContent(), ContentHandler\getDefaultModelFor(), CodeEditorHooks\getPageLanguage(), EditPage\getPreviewText(), Title\isCssJsSubpage(), Title\isCssOrJsPage(), Title\isSiteConfigPage(), Title\isUserConfigPage(), 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 246 of file Defines.php.
Referenced by TitleMethodsTest\dataGetContentModel(), ContentHandlerTest\dataGetDefaultModelFor(), ContentHandlerTest\dataGetLocalizedName(), ContentHandlerTest\dataGetPageLanguage(), ContentHandlerTest\dataMakeContent(), ContentHandler\getDefaultModelFor(), CodeEditorHooks\getPageLanguage(), EditPage\getPreviewText(), Title\isCssJsSubpage(), Title\isCssOrJsPage(), Title\isSiteConfigPage(), Title\isUserConfigPage(), Title\isUserJsConfigPage(), RevisionTest\provideConstructFromArray(), ContentHandlerTest\provideGetModelForID(), ContentHandlerTest\setUp(), TextContentTest\setUp(), TitleMethodsTest\setUp(), EditPage\showIntro(), RevisionTest\testConstructFromArray(), ContentHandlerTest\testGetChangeTag(), JavaScriptContentTest\testGetContentHandler(), WikiPageContentHandlerDbTest\testGetContentHandler(), WikiPageContentHandlerDbTest\testGetContentModel(), and JavaScriptContentTest\testGetModel().
const CONTENT_MODEL_JSON 'json' |
Definition at line 249 of file Defines.php.
Referenced by ContentHandlerTest\dataGetDefaultModelFor(), ContentHandler\getDefaultModelFor(), CodeEditorHooks\getPageLanguage(), EditPage\getPreviewText(), FixDefaultJsonContentPages\handleRow(), Title\isSiteConfigPage(), Title\isUserConfigPage(), Title\isUserJsonConfigPage(), CiteHooks\onContentHandlerDefaultModelFor(), ContentHandlerTest\provideGetModelForID(), ContentHandlerTest\setUp(), EditPage\showIntro(), JsonContentTest\testIsValid(), and ContentHandlerTest\testSupportsDirectEditing().
const CONTENT_MODEL_TEXT 'text' |
Definition at line 248 of file Defines.php.
Referenced by TextContentTest\dataGetDeletionUpdates(), TextContentTest\dataGetParserOutput(), ContentHandler\getDefaultModelFor(), MediaWiki\Tests\Storage\RevisionStoreTest\makeRow(), ContentHandlerTest\provideGetModelForID(), ContentHandlerTest\setUp(), MediaWiki\Tests\Storage\testGetContent(), 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 245 of file Defines.php.
Referenced by MessageContent\__construct(), WikitextContent\__construct(), PagePropsTest\createPage(), RevisionDbTestBase\createPage(), TitleMethodsTest\dataGetContentModel(), ContentHandlerTest\dataGetDefaultModelFor(), WikitextContentTest\dataGetDeletionUpdates(), WikitextContentTest\dataGetParserOutput(), WikitextContentTest\dataGetSecondaryDataUpdates(), ContentHandlerTest\dataMakeContent(), WikiEditorHooks\editPageShowEditFormFields(), WikiEditorHooks\editPageShowEditFormInitial(), ApiParse\execute(), ApiQueryRevisionsBase\extractRevisionInfo(), ApiParse\getAllowedParams(), ApiQueryRevisionsBase\getAllowedParams(), ContentHandler\getDefaultModelFor(), MediaWikiTestCase\getDefaultWikitextNS(), ApiComparePages\getDiffContent(), TextPassDumper\getText(), TextContent\getWikitextForTransclusion(), FixDefaultJsonContentPages\handleRow(), MediaWikiTestCase\isWikitextNS(), Title\isWikitextPage(), RevisionDbTestBase\makeRevisionWithProps(), MediaWiki\Tests\Storage\SlotRecordTest\makeRow(), LanguageConverter\parseCachedTable(), CompareParsers\processRevision(), PreprocessDump\processRevision(), RevisionDbTestBase\provideGetContentModel(), ContentHandlerTest\provideGetModelForID(), WikiPageDbTestBase\provideGetParserOutput(), WikiPageDbTestBase\provideGetRedirectTarget(), RevisionDbTestBase\provideGetSha1(), RevisionDbTestBase\provideGetSize(), WikiPageDbTestBase\provideIsCountable(), ReplaceTextJob\run(), ContentHandlerTest\setUp(), TextContentTest\setUp(), WikitextContentHandlerTest\setUp(), PageArchiveTest\setUp(), PagePropsTest\setUp(), SimpleCaptcha\shouldCheck(), MediaWiki\Tests\Storage\SlotRecordTest\testCompleteConstruction(), MediaWiki\Tests\Storage\SlotRecordTest\testConstructionDeferred(), WikiPageDbTestBase\testDoDeleteArticle(), WikiPageDbTestBase\testDoDeleteUpdates(), WikiPageDbTestBase\testDoEditContent(), WikiPageDbTestBase\testExists(), ContentHandlerTest\testGetAutosummary(), ContentHandlerTest\testGetChangeTag(), WikiPageDbTestBase\testGetContent(), RevisionDbTestBase\testGetContentUncloned(), ContentHandlerTest\testGetFieldsForSearchIndex(), WikiPageDbTestBase\testGetRevision(), WikiPageDbTestBase\testHasViewableContent(), RevisionDbTestBase\testNewFromArchiveRow(), RevisionDbTestBase\testNewFromArchiveRowOverrides(), MediaWiki\Tests\Storage\SlotRecordTest\testNewUnsaved(), ContentHandlerTest\testSupportsCategories(), and RevisionDbTestBase\testUserWasLastToEdit().
const EDIT_AUTOSUMMARY 64 |
Definition at line 168 of file Defines.php.
Referenced by WikiPage\doEditContent(), EditCLI\execute(), and EditPage\internalAttemptSave().
const EDIT_DEFER_UPDATES 32 |
Definition at line 167 of file Defines.php.
const EDIT_FORCE_BOT 16 |
Definition at line 166 of file Defines.php.
Referenced by CleanupSpam\cleanupArticle(), WikiPage\commitRollback(), ApiQueryWatchlistIntegrationTest\doBotPageEdit(), ApiQueryRecentChangesIntegrationTest\doBotPageEdit(), WikiPage\doEditContent(), EditCLI\execute(), EditPage\internalAttemptSave(), SpecialChangeContentModel\onSubmit(), and ReplaceTextJob\run().
const EDIT_INTERNAL 128 |
Definition at line 169 of file Defines.php.
Referenced by ParserTestRunner\addArticle(), WikiPage\commitRollback(), WikiPage\doEditContent(), SpecialChangeContentModel\onSubmit(), and DoubleRedirectJob\run().
const EDIT_MINOR 4 |
Definition at line 164 of file Defines.php.
Referenced by WikiPage\commitRollback(), WikiPage\doCreate(), WikiPage\doEditContent(), ApiQueryWatchlistIntegrationTest\doMinorPageEdit(), ApiQueryRecentChangesIntegrationTest\doMinorPageEdit(), WikiPage\doModify(), EditCLI\execute(), EditPage\internalAttemptSave(), ReplaceTextJob\run(), and RevisionDbTestBase\testIsMinor_true().
const EDIT_NEW 1 |
Article edit flags
Definition at line 162 of file Defines.php.
Referenced by ParserTestRunner\addArticle(), MediaWikiTestCase\addCoreDBData(), SpecialMyLanguageTest\addDBDataOnce(), WikiPage\checkFlags(), Installer\createMainpage(), WikiPageDbTestBase\createPage(), PagePropsTest\createPage(), RevisionDbTestBase\createPage(), WikitextContentHandlerTest\dataGetAutosummary(), WikitextContentHandlerTest\dataGetChangeTag(), ContentHandler\getChangeType(), EditPage\internalAttemptSave(), SpecialChangeContentModel\onSubmit(), LocalFile\recordUpload2(), PageArchiveTest\setUp(), ApiEditPageTest\testEdit_redirect(), ApiEditPageTest\testEdit_redirectText(), ApiEditPageTest\testEditConflict(), ApiEditPageTest\testEditConflict_bug41990(), and ApiEditPageTest\testEditConflict_newSection().
const EDIT_SUPPRESS_RC 8 |
Definition at line 165 of file Defines.php.
Referenced by MediaWikiTestCase\addCoreDBData(), WikiPage\doCreate(), WikiPage\doModify(), EditCLI\execute(), LocalFile\recordUpload2(), ReplaceTextJob\run(), 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 163 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(), ContentHandlerTest\testGetChangeTag(), and ArticleTablesTest\testTemplatelinksUsesContentLanguage().
const LIST_AND IDatabase::LIST_AND |
Definition at line 53 of file Defines.php.
Referenced by SpecialRecentChanges\__construct(), LinksDeletionUpdate\batchDeleteByPK(), FindOrphanedFiles\checkFiles(), PrefixSearch\defaultSearchBackend(), SpecialLog\execute(), LocalRepo\findFiles(), WatchedItemQueryService\getFromUntilTargetConds(), WatchedItemQueryServiceUnitTest\getMockDb(), Block\getRangeCond(), WatchedItemQueryService\getStartFromConds(), WatchedItemStore\getVisitingWatchersCondition(), MigrateComments\loadCommentIDs(), DatabaseSQLTest\provideMakeList(), SpecialWatchlist\registerFilters(), Wikimedia\Rdbms\Database\replace(), ApiQueryAllImages\run(), ApiQueryAllDeletedRevisions\run(), WatchedItemStoreUnitTest\testCountVisitingWatchersMultiple(), WatchedItemStoreUnitTest\testCountVisitingWatchersMultiple_withMissingTargets(), WatchedItemQueryServiceUnitTest\testGetWatchedItemsForUser_fromUntilStartFromOptions(), DatabaseOracle\update(), and Wikimedia\Rdbms\DatabaseMssql\update().
const LIST_COMMA IDatabase::LIST_COMMA |
Obsolete IDatabase::makeList() constants These are also available as Database class constants
Definition at line 52 of file Defines.php.
Referenced by DatabaseSQLTest\provideMakeList().
const LIST_NAMES IDatabase::LIST_NAMES |
Definition at line 55 of file Defines.php.
Referenced by Wikimedia\Rdbms\DatabaseMssql\makeList(), and DatabaseSQLTest\provideMakeList().
const LIST_OR IDatabase::LIST_OR |
Definition at line 56 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), SpecialRecentChanges\__construct(), LinksDeletionUpdate\batchDeleteByPK(), FindOrphanedFiles\checkFiles(), CleanupInvalidDbKeys\cleanupTable(), PrefixSearch\defaultSearchBackend(), SpecialWatchlist\doMainQuery(), SpecialRenameuser\execute(), SpecialLog\execute(), ApiQueryAllUsers\execute(), LocalRepo\findFiles(), SpecialBlockList\getBlockListPager(), Block\getBlocksForIPList(), BacklinkCache\getConditions(), WatchedItemQueryService\getExtraDeletedPageLogEntryRelatedCond(), WatchedItemQueryService\getFromUntilTargetConds(), WatchedItemQueryService\getStartFromConds(), WANCacheReapUpdate\getTitleChangeEvents(), WatchedItemStore\getVisitingWatchersCondition(), WatchedItemQueryService\getWatchedItemsWithRCInfoQueryConds(), PageArchive\listPagesBySearch(), MigrateComments\loadCommentIDs(), Block\newLoad(), DatabaseSQLTest\provideMakeList(), SpecialWatchlist\registerFilters(), Wikimedia\Rdbms\Database\replace(), ApiQueryAllImages\run(), ApiQueryRecentChanges\run(), ApiQueryAllDeletedRevisions\run(), ApiQueryBacklinksprop\run(), and ApiQueryBacklinks\runSecondQuery().
const LIST_SET IDatabase::LIST_SET |
Definition at line 54 of file Defines.php.
Referenced by DatabaseSQLTest\provideMakeList(), and Wikimedia\Rdbms\DatabaseMssql\update().
const MIGRATION_NEW 3 |
Definition at line 305 of file Defines.php.
Referenced by RenameuserSQL\__construct(), DatabaseOracle\delete(), LocalFileDeleteBatch\doDBInserts(), PopulateLogSearch\doDBUpdates(), UserCache\doQuery(), ReassignEdits\doReassignEdits(), SpecialLog\execute(), CleanupArchiveUserText\execute(), RenameUserCleanup\execute(), ApiQueryAllUsers\execute(), ApiQueryContributors\execute(), ApiQueryContributions\execute(), InitEditCount\execute(), RemoveUnusedAccounts\execute(), RenameuserSQL\getActorMigrationStage(), CommentStore\getCommentInternal(), CommentStore\getFields(), ActorMigration\getJoin(), CommentStore\getJoin(), NewFilesPager\getQueryInfo(), User\getQueryInfo(), ActorMigration\getWhere(), ActorMigration\isAnon(), ActorMigration\isNotAnon(), InfoAction\pageCounts(), ApiQueryContributions\prepareQuery(), CommentStoreTest\provideGetFields(), ActorMigrationTest\provideGetJoin(), CommentStoreTest\provideGetJoin(), ActorMigrationTest\provideGetWhere(), ApiQueryContributionsTest\provideInterwikiUser(), ActorMigrationTest\provideIsAnon(), DatabaseLogEntryTest\provideNewFromId(), ApiQueryContributionsTest\provideSorting(), ActorMigrationTest\provideStages(), CommentStoreTest\provideStages(), LocalFile\recordUpload2(), RenameUserJob\run(), RevisionDeleteUser\setUsernameBitfields(), CommentStoreTest\testGetCommentErrors(), ActorMigrationTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip_withKeyConstruction(), and ReassignEdits\userSpecification().
const MIGRATION_OLD 0 |
Schema change migration flags.
Used as values of a feature flag for an orderly transition from an old schema to a new schema.
Definition at line 302 of file Defines.php.
Referenced by ProtectionForm\buildForm(), Article\confirmDelete(), CommentStore\createComment(), LocalFileDeleteBatch\doDBDeletes(), LocalFileDeleteBatch\doDBInserts(), LocalFileMoveBatch\doDBUpdates(), PopulateLogSearch\doDBUpdates(), WikiPage\doDeleteArticleReal(), UserCache\doQuery(), ReassignEdits\doReassignEdits(), ApiQueryAllUsers\execute(), ApiQueryContributions\execute(), InitEditCount\execute(), RemoveUnusedAccounts\execute(), User\getActorId(), RenameuserSQL\getActorMigrationStage(), CommentStore\getCommentInternal(), ResourceLoaderStartUpModule\getConfigSettings(), CommentStore\getFields(), SpecialBlock\getFormFields(), ActorMigration\getJoin(), CommentStore\getJoin(), User\getQueryInfo(), EditPage\getSummaryInputAttributes(), ActorMigration\getWhere(), User\loadFromRow(), User\newFromActorId(), User\newFromAnyId(), InfoAction\pageCounts(), CommentStoreTest\provideGetFields(), ActorMigrationTest\provideGetJoin(), CommentStoreTest\provideGetJoin(), ActorMigrationTest\provideGetWhere(), ApiQueryContributionsTest\provideInterwikiUser(), ActorMigrationTest\provideIsAnon(), DatabaseLogEntryTest\provideNewFromId(), ApiQueryContributionsTest\provideSorting(), ActorMigrationTest\provideStages(), CommentStoreTest\provideStages(), LocalFile\recordUpload2(), User\saveSettings(), Block\selectFields(), ArchivedFile\selectFields(), LocalFile\selectFields(), OldLocalFile\selectFields(), PageArchiveTest\setUp(), RevisionDeleteUser\setUsernameBitfields(), UserrightsPage\showEditUserGroupsForm(), MovePageForm\showForm(), FileDeleteForm\showForm(), SpecialEditTags\showForm(), SpecialRevisionDelete\showForm(), SpecialUndelete\showHistory(), RevisionTest\testConstructFromRowWithBadPageId(), MediaWiki\Tests\Storage\RevisionStoreTest\testGetArchiveQueryInfo_contentHandlerDb(), MediaWiki\Tests\Storage\RevisionStoreTest\testGetArchiveQueryInfo_noContentHandlerDb(), CommentStoreTest\testGetCommentErrors(), MediaWiki\Tests\Storage\RevisionStoreTest\testGetQueryInfo(), ActorMigrationTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip_withKeyConstruction(), PageArchiveTest\testListRevisions(), RevisionTest\testLoadFromTitle(), RevisionTest\testSelectArchiveFields(), RevisionTest\testSelectFields(), RevisionTest\testUserJoinCond(), User\updateActorId(), and ReassignEdits\userSpecification().
const MIGRATION_WRITE_BOTH 1 |
Definition at line 303 of file Defines.php.
Referenced by ApiQueryContributionsTest\addDBDataOnce(), LinksUpdateTest\assertRecentChangeByCategorization(), LocalFileDeleteBatch\doDBInserts(), PopulateLogSearch\doDBUpdates(), ApiQueryContributions\execute(), ActorMigration\getInsertValues(), ActorMigration\getInsertValuesWithTempTable(), ManualLogEntry\insert(), CommentStore\insertInternal(), ParserTestRunner\listTables(), CommentStoreTest\provideGetFields(), ActorMigrationTest\provideGetJoin(), CommentStoreTest\provideGetJoin(), ActorMigrationTest\provideGetWhere(), ApiQueryContributionsTest\provideInterwikiUser(), ActorMigrationTest\provideIsAnon(), ApiQueryContributionsTest\provideSorting(), ActorMigrationTest\provideStages(), CommentStoreTest\provideStages(), LocalFile\recordUpload2(), RenameuserSQL\rename(), Revision\selectArchiveFields(), Block\selectFields(), RecentChange\selectFields(), ArchivedFile\selectFields(), LocalFile\selectFields(), OldLocalFile\selectFields(), Revision\selectFields(), UserTest\setUp(), RevDelList\setVisibility(), ChangesListSpecialPageTest\testFilterUserExpLevelAllExperienceLevels(), ChangesListSpecialPageTest\testFilterUserExpLevelRegistrered(), ChangesListSpecialPageTest\testFilterUserExpLevelRegistreredOrLearner(), ChangesListSpecialPageTest\testFilterUserExpLevelUnregistrered(), ChangesListSpecialPageTest\testFilterUserExpLevelUnregistreredOrExperienced(), ActorMigrationTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip_withKeyConstruction(), CommentStoreTest\testInsertTooMuchData(), CommentStoreTest\testInsertTruncation(), ActorMigrationTest\testInsertUserIdentity(), MediaWiki\Tests\Storage\RevisionStoreDbTest\testNewRevisionFromRow_anonEdit(), MediaWiki\Tests\Storage\RevisionStoreDbTest\testNewRevisionFromRow_userEdit(), ChangesListSpecialPageTest\testRcHidebyothersFilter(), ChangesListSpecialPageTest\testRcHidemyselfFilter(), ApiQueryContributionsTest\testSorting(), Revision\userJoinCond(), and ReassignEdits\userSpecification().
const MIGRATION_WRITE_NEW 2 |
Definition at line 304 of file Defines.php.
Referenced by MigrateActors\doDBUpdates(), MigrateComments\doDBUpdates(), ApiQueryContributions\execute(), ManualLogEntry\insert(), DatabaseUpdater\migrateActors(), DatabaseUpdater\migrateComments(), CommentStoreTest\provideGetFields(), ActorMigrationTest\provideGetJoin(), CommentStoreTest\provideGetJoin(), ActorMigrationTest\provideGetWhere(), ApiQueryContributionsTest\provideInterwikiUser(), ActorMigrationTest\provideIsAnon(), ApiQueryContributionsTest\provideSorting(), ActorMigrationTest\provideStages(), CommentStoreTest\provideStages(), ActorMigrationTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip(), CommentStoreTest\testInsertRoundTrip_withKeyConstruction(), and ApiQueryContributionsTest\testSorting().
const MW_DATE_DEFAULT 'default' |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 142 of file Defines.php.
const MW_DATE_DMY 'dmy' |
Definition at line 144 of file Defines.php.
const MW_DATE_ISO 'ISO 8601' |
Definition at line 146 of file Defines.php.
const MW_DATE_MDY 'mdy' |
Definition at line 143 of file Defines.php.
const MW_DATE_YMD 'ymd' |
Definition at line 145 of file Defines.php.
const MW_EDITFILTERMERGED_SUPPORTS_API 1 |
Definition at line 178 of file Defines.php.
const MW_SUPPORTS_CONTENTHANDLER 1 |
Definition at line 177 of file Defines.php.
const MW_SUPPORTS_LOCALISATIONCACHE 1 |
Definition at line 176 of file Defines.php.
const MW_SUPPORTS_PARSERFIRSTCALLINIT 1 |
Hook support constants
Definition at line 175 of file Defines.php.
const NS_CATEGORY 14 |
Definition at line 88 of file Defines.php.
Referenced by UncategorizedCategoriesPage\__construct(), CategoryTree\__construct(), DumpNamespaceFilter\__construct(), CategoryPager\__construct(), OutputPage\addCategoryLinks(), OutputPage\addCategoryLinksToLBAndGetResult(), SearchEngineTest\addDBDataOnce(), ParserOutput\addTrackingCategory(), CategoryTreeHooks\articleFromTitle(), LinksUpdateTest\assertRecentChangeByCategorization(), SkinTemplate\buildNavUrls(), Title\checkQuickPermissions(), CategoryViewer\doCategoryQuery(), Parser\doDoubleUnderscore(), SpecialRecentChangesLinked\doMainQuery(), SpecialReplaceText\doSpecialReplaceText(), LinksDeletionUpdate\doUpdate(), LinkHolderArray\doVariants(), ApiQueryCategoryInfo\execute(), RefreshLinks\execute(), UpdateCollation\execute(), CategoryTreePage\executeInputForm(), WikiPage\factory(), ApiParse\formatCategoryLinks(), MostlinkedCategoriesPage\formatResult(), UncategorizedCategoriesPage\formatResult(), UnusedCategoriesPage\formatResult(), CategoryPager\formatRow(), TitleValueTest\fragmentTitleProvider(), MediaWiki\Widget\Search\FullSearchResultWidget\generateSizeHtml(), CategoryPager\getBody(), WikiPage\getCategories(), Skin\getCategories(), TimelessTemplate\getCategories(), LinksUpdate\getCategoryInsertions(), DumpCategoriesAsRdf\getCategoryIterator(), Skin\getCategoryLinks(), TimelessTemplate\getCatList(), ApiCategoryTree\getConditionalRequestData(), MediaWikiTestCase\getDefaultWikitextNS(), UncategorizedCategoriesPage\getExceptionList(), WikiFilePage\getForeignCategories(), SpecialRandomInCategory\getFormFields(), WikiPage\getHiddenCategories(), WantedFilesPage\getPageHeader(), Title\getParentCategories(), MostlinkedCategoriesPage\getQueryInfo(), UnusedCategoriesPage\getQueryInfo(), WantedCategoriesPage\getQueryInfo(), CategoryPager\getStartForm(), Category\getTitle(), TrackingCategories\getTrackingCategories(), LinksUpdate\invalidateCategories(), CategoriesRdf\labelToUrl(), SearchHighlighter\linkReplace(), WikitextContentHandler\makeRedirectContent(), CategoryTree\makeTitle(), MovePage\move(), MovePage\moveToInternal(), Category\newFromName(), Article\newFromTitle(), CategoryMembershipChangeJob\notifyUpdatesForRevision(), WikiPage\onArticleCreate(), SpecialRandomInCategory\onSubmit(), InfoAction\pageInfo(), CoreParserFunctions\pagesincategory(), CategoryTreePage\prefixSearchSubpages(), SearchEngineTest\provideCompletionSearchMustRespectCapitalLinkOverrides(), TitleTest\provideCreateFragmentTitle(), MediaWikiTitleCodecTest\provideParseTitle(), ApiQueryTest\provideTestTitlePartToKey(), Category\refreshCounts(), CategoryTree\renderChildren(), CategoryTree\renderNode(), CategoryTree\renderNodeInfo(), CategoryTree\renderParents(), Parser\replaceInternalLinks2(), ApiQueryAllCategories\run(), ApiQueryCategories\run(), ApiQueryCategoryMembers\run(), CategoryFinder\scanNextLayer(), CategoryFinder\seed(), GenerateSitemap\setNamespacePriorities(), SearchEngineTest\setUp(), MovePageForm\showForm(), ApiQueryRecentChangesIntegrationTest\testCategorizeTypeParameter(), 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(), CategoryPage\view(), CategoriesRdf\writeCategoryData(), and CategoriesRdf\writeCategoryLinkData().
const NS_CATEGORY_TALK 15 |
Definition at line 89 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\EditPage\TextConflictHelper\incrementConflictStats(), MediaWiki\EditPage\TextConflictHelper\incrementResolvedStats(), and GenerateSitemap\setNamespacePriorities().
const NS_FILE 6 |
Definition at line 80 of file Defines.php.
Referenced by FakeDimensionFile\__construct(), CategoryTree\__construct(), DumpNamespaceFilter\__construct(), ApiQueryAllLinks\__construct(), FileRepo\__construct(), ParserTestRunner\addArticle(), ParserOutput\addLink(), UploadForm\addUploadJS(), ImageCleanup\buildSafeTitle(), UploadBase\checkBadFileName(), RevertAction\checkCanExecute(), FindOrphanedFiles\checkFiles(), Title\checkQuickPermissions(), LocalRepo\checkRedirect(), UploadFromUrlTest\deleteFile(), ApiUploadTestCase\deleteFileByFileName(), ApiUploadTestCase\deleteFileByTitle(), SpecialRedirect\dispatchFile(), CategoryViewer\doCategoryQuery(), SpecialNuke\doDelete(), WikiPage\doDeleteUpdates(), SpecialRecentChangesLinked\doMainQuery(), MovePageForm\doSubmit(), FileDuplicateSearchPage\execute(), SpecialUndelete\execute(), ApiDelete\execute(), ApiMove\execute(), ApiQueryFilearchive\execute(), ApiQueryImageInfo\execute(), DeleteBatch\execute(), FindMissingFiles\execute(), ImportImages\execute(), UpdateCollation\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(), LinksUpdate\getCategoryInsertions(), ApiUpload\getChunkResult(), FileContentHandler\getDataForSearchIndex(), WikitextContentHandler\getDataForSearchIndex(), MediaWikiTestCase\getDefaultWikitextNS(), ForeignDBFile\getDescriptionShortUrl(), ForeignDBFile\getDescriptionText(), EditPage\getEditToolbar(), WANCacheReapUpdate\getEventAffectedKeys(), SpecialWhatLinksHere\getFilterPanel(), ImagePage404Test\getImagePage(), ImagePageTest\getImagePage(), MultimediaViewerHooks\getModulesForArticle(), FileRepo\getNameFromTitle(), SearchNearMatcher\getNearMatchInternal(), SearchUpdate\getNormalizedTitle(), ApiImageRotate\getPageSet(), ApiQueryInfo\getProtectionInfo(), NewFilesPager\getQueryInfo(), ListDuplicatedFilesPage\getQueryInfo(), MIMEsearchPage\getQueryInfo(), MostimagesPage\getQueryInfo(), UncategorizedImagesPage\getQueryInfo(), UnusedimagesPage\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(), LinkCache\isCacheable(), MWNamespace\isCapitalized(), Title\isDeleted(), Title\isDeletedQuick(), MWNamespace\isMovable(), MovePage\isValidFileMove(), MovePage\isValidMove(), Title\isValidMoveTarget(), MovePage\isValidMoveTarget(), SearchHighlighter\linkReplace(), PageArchive\listFiles(), SpecialNuke\listForm(), ArchivedFile\load(), ArchivedFile\loadFromRow(), Linker\makeThumbLink2(), MovePage\move(), ArchivedFile\newFromRow(), ForeignDBFile\newFromRow(), LocalFile\newFromRow(), OldLocalFile\newFromRow(), Article\newFromTitle(), SearchEngine\normalizeNamespaces(), File\normalizeTitle(), WikiPage\onArticleDelete(), ImageQueryPage\outputResults(), ImageCleanup\pageExists(), InfoAction\pageInfo(), MediaWiki\parseTitle(), ApiUpload\performUpload(), ImageCleanup\pokeFile(), FileDuplicateSearchPage\prefixSearchSubpages(), ImageCleanup\processRow(), TitleCleanup\processRow(), LanguageTest\provideGetNamespaceAliases(), SpecialShortpagesTest\provideGetQueryInfoRespectsContentNs(), UploadLogFormatterTest\provideOverwriteLogDatabaseRows(), MediaWikiTitleCodecTest\provideParseTitle(), UploadLogFormatterTest\provideRevertLogDatabaseRows(), SampleTest\provideTitles(), UploadLogFormatterTest\provideUploadLogDatabaseRows(), PurgeChangedFiles\purgeFromLogType(), LinksUpdate\queueRecursiveJobs(), LocalFile\recordUpload2(), Category\refreshCounts(), ImageMap\render(), Parser\renderImageGallery(), Parser\replaceInternalLinks2(), ApiQueryAllImages\run(), ApiQueryBacklinks\run(), ApiQueryDuplicateFiles\run(), ApiQueryImages\run(), ApiQueryBacklinks\runSecondQuery(), PrefixSearch\searchBackend(), GenerateSitemap\setNamespacePriorities(), UploadFromUrlTestSuite\setUp(), ParserTestRunner\setupUploads(), SpecialWhatLinksHere\showIndirectLinks(), EditPage\showIntro(), Article\showPatrolFooter(), SpecialSearch\showResults(), SpecialUpload\showUploadWarning(), SpecialUpload\showViewDeletedLinks(), MediaWiki\Widget\Search\SearchFormWidget\startsWithImage(), WikitextContentHandlerTest\testDataIndexFieldsFile(), 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 81 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWikiTitleCodecTest\provideParseTitle(), GenerateSitemap\setNamespacePriorities(), and UploadFromUrlTestSuite\setUp().
const NS_HELP 12 |
Definition at line 86 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWikiTestCase\getDefaultWikitextNS(), GenerateSitemap\setNamespacePriorities(), TitlePermissionTest\testActionPermissions(), ApiDeleteTest\testDeleteWithTag(), ParserOutputSearchDataExtractorTest\testGetOutgoingLinks(), and TitlePermissionTest\testUserBlock().
const NS_HELP_TALK 13 |
Definition at line 87 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 101 of file Defines.php.
const NS_IMAGE_TALK NS_FILE_TALK |
Definition at line 105 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 bug #696 which talked about that.
Definition at line 74 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(), Title\checkReadPermissions(), Title\checkSpecialsAndNSPermissions(), LanguageConverter\convertNamespace(), LanguageConverter\convertTitle(), ApiPageSetTest\createPageSetWithRedirect(), CategoryTree\decodeNamespaces(), PrefixSearch\defaultSearchBackend(), SpecialExport\execute(), SpecialLog\execute(), WithoutInterwikiPage\execute(), LogFormatterTestCase\expandDatabaseRow(), PrefixSearch\extractNamespace(), SearchEngineTest\fetchIds(), LanguageConverter\findVariantLink(), Linker\formatAutocomments(), TitleValueTest\fragmentTitleProvider(), ParserFuzzTest\fuzzTest(), ApiQueryAllPages\getAllowedParams(), ApiQueryDeletedrevs\getAllowedParams(), ApiQueryInfo\getAllVariants(), MWNamespace\getCanonicalNamespaces(), MWNamespace\getContentNamespaces(), MediaWikiTestCase\getDefaultWikitextNS(), CategoriesRdf\getDumpURI(), Linker\getInvalidTitleDescription(), EditWatchlistNormalHTMLForm\getLegend(), ReplaceAll\getNamespaces(), SpecialEditWatchlist\getNormalForm(), RandomPage\getNsList(), WantedFilesPage\getPageHeader(), MWNamespace\getSubject(), NamespaceConflictChecker\getTargetList(), User\getTokenUrl(), Languages\getUntranslatedNamespaces(), ExternalUserNames\getUserLinkTitle(), MWNamespace\hasTalkNamespace(), MediaWiki\EditPage\TextConflictHelper\incrementConflictStats(), MediaWiki\EditPage\TextConflictHelper\incrementResolvedStats(), Title\isAlwaysKnown(), MWNamespace\isContent(), MWNamespace\isMethodValidFor(), MWNamespace\isMovable(), MWNamespace\isTalk(), MWNamespace\isWatchable(), MediaWiki\maybeDoHttpsRedirect(), Html\namespaceSelectorOptions(), Title\newFromTextThrow(), SearchEngine\normalizeNamespaces(), SpecialListGroupRights\outputNamespaceProtectionInfo(), SearchEngineTest\provideCompletionSearchMustRespectCapitalLinkOverrides(), ContentModelLogFormatterTest\provideContentModelLogDatabaseRows(), TitleTest\provideCreateFragmentTitle(), DeleteLogFormatterTest\provideDeleteLogDatabaseRows(), DeleteLogFormatterTest\provideEventLogDatabaseRows(), MediaWikiTitleCodecTest\provideFormat(), MediaWikiTitleCodecTest\provideGetFullText(), 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(), ProtectLogFormatterTest\provideModifyLogDatabaseRows(), MoveLogFormatterTest\provideMoveLogDatabaseRows(), ProtectLogFormatterTest\provideMoveProtLogDatabaseRows(), MoveLogFormatterTest\provideMoveRedirLogDatabaseRows(), TitleTest\provideNewFromTitleValue(), PageLangLogFormatterTest\providePageLangLogDatabaseRows(), MediaWikiTitleCodecTest\provideParseTitle(), 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(), Title\secureAndSplit(), RandomPage\setNamespace(), GenerateSitemap\setNamespacePriorities(), WikiImporter\setTargetRootPage(), MWNamespaceTest\setUp(), ArticleTest\setUp(), PrefixSearchTest\setUp(), SearchEnginePrefixTest\setUp(), TitlePermissionTest\setUp(), SpecialAllPages\showChunk(), SpecialPrefixindex\showPrefixChunk(), MediaWikiTitleCodec\splitTitleString(), TitlePermissionTest\testActionPermissions(), TitlePermissionTest\testCascadingSourcesRestrictions(), ContentHandlerTest\testDataIndexFields(), MWNamespaceTest\testEquals(), SpecialMyLanguageTest\testFindTitle(), MediaWikiTitleCodecTest\testFormat(), MWNamespaceTest\testGetAssociated(), ResourceLoaderWikiModuleTest\testGetContent(), MWNamespaceTest\testGetContentNamespaces(), LinkRendererTest\testGetLinkClasses(), LinkerTest\testGetLinkColour(), ParserOutputSearchDataExtractorTest\testGetOutgoingLinks(), 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(), ApiMoveTest\testMoveSubpages(), TitlePermissionTest\testPageRestrictions(), ContentHandlerTest\testParserOutputForIndexing(), MediaWikiTitleCodecTest\testParseTitle(), MediaWikiTitleCodecTest\testParseTitle_invalid(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\testPlain(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\testPrefetchPlain(), TitlePermissionTest\testQuickPermissions(), ChangesListSpecialPageTest\testRcNsFilter(), ChangesListSpecialPageTest\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 62 of file Defines.php.
Referenced by ParserOutput\addLink(), WikiPage\factory(), Linker\formatLinksInComment(), ApiQueryLogEvents\getAllowedParams(), ApiQueryAllLinks\getAllowedParams(), ApiQueryLinks\getAllowedParams(), ApiQueryRecentChanges\getAllowedParams(), EditPage\getEditToolbar(), SearchNearMatcher\getNearMatchInternal(), MediaStatisticsPage\getQueryInfo(), ExtParserFunctions\ifexistCommon(), Title\isAlwaysKnown(), MWNamespace\isCapitalized(), Article\newFromTitle(), SearchEngine\normalizeNamespaces(), File\normalizeTitle(), MediaWiki\parseTitle(), TitleTest\provideCanHaveTalkPage(), TitleTest\provideGetPrefixedDBKey(), TitleTest\provideGetPrefixedText(), TitleTest\provideGetTalkPage_bad(), MWNamespaceTest\provideHasTalkNamespace(), SampleTest\provideTitles(), ImageMap\render(), PrefixSearch\searchBackend(), TitlePermissionTest\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 82 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), ApiEditPage\execute(), Title\isAlwaysKnown(), MessageCache\loadFromDB(), ResourceLoaderWikiModuleTest\provideGetContent(), GenerateSitemap\setNamespacePriorities(), UploadFromUrlTestSuite\setUp(), and MWNamespaceTest\testIsCapitalizedWithWgCapitalLinkOverrides().
const NS_MEDIAWIKI_TALK 9 |
Definition at line 83 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), DeleteEqualMessages\execute(), AllMessagesTablePager\formatValue(), AllMessagesTablePager\getCustomisedStatuses(), and GenerateSitemap\setNamespacePriorities().
const NS_PROJECT 4 |
Definition at line 78 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 79 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 63 of file Defines.php.
Referenced by JobSpecification\__construct(), ParserOutput\addLink(), LinkCache\addLinkObj(), RCCacheEntryFactory\buildCLink(), SearchEngine\completionSearchBackend(), PrefixSearch\defaultSearchBackend(), CdnCacheUpdate\doUpdate(), LinkHolderArray\doVariants(), Revision\ensureTitle(), TidyUpBug37714\execute(), Title\fixSpecialName(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget\footerHtml(), OldChangesList\formatChangeLine(), ApiQueryLogEvents\getAllowedParams(), ApiQueryAllLinks\getAllowedParams(), ApiQueryLinks\getAllowedParams(), ApiQueryRecentChanges\getAllowedParams(), RCCacheEntryFactoryTest\getContext(), ApiErrorFormatter\getDummyTitle(), OutputPage\getJSVars(), IRCColourfulRCFeedFormatter\getLine(), ApiStructureTest\getMain(), MultimediaViewerHooks\getModulesForArticle(), ChangesListSpecialPageTest\getPage(), SpecialPage\getSafeTitleFor(), TestRecentChangesHelper\getTestContext(), SpecialPageTest\getTitleForWithWarningProvider(), SpecialPage\getTitleValueFor(), MediaWiki\Widget\Search\SimpleSearchResultSetWidget\headerHtml(), ExtParserFunctions\ifexistCommon(), Title\isAlwaysKnown(), Title\isSpecialPage(), MediaWiki\main(), MediaWiki\Linker\LinkRenderer\makeBrokenLink(), EnqueueJob\newFromJobsByWiki(), 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(), LinkRendererTest\testMakeBrokenLink(), LinkRendererTest\testMakeLink(), LinkRendererTest\testMergeAttribs(), SpecialSearchTest\testRewriteQueryWithSuggestion(), MWNamespaceTest\testSpecialAndMediaAreDifferentSubjects(), TitlePermissionTest\testSpecialsAndNSPermissions(), MWNamespaceTest\testSubjectEquals(), and SkinTemplate\wrapHTML().
const NS_TALK 1 |
Definition at line 75 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Tests\Maintenance\BackupDumperLoggerTest\addDBData(), MediaWiki\Tests\Maintenance\BackupDumperPageTest\addDBData(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\addDBData(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\checkpointHelper(), TitleValueTest\fragmentTitleProvider(), NamespaceConflictChecker\getDestinationTitle(), NamespaceConflictChecker\getTargetList(), TitleTest\provideCanHaveTalkPage(), TitleTest\provideCreateFragmentTitle(), SpecialShortpagesTest\provideGetQueryInfoRespectsContentNs(), TitleTest\provideGetTalkPage_good(), TitleMethodsTest\provideHasSubjectNamespace(), MWNamespaceTest\provideHasTalkNamespace(), TitleMethodsTest\provideInNamespace(), MediaWikiTitleCodecTest\provideParseTitle(), GenerateSitemap\setNamespacePriorities(), MWNamespaceTest\setUp(), MediaWikiTitleCodec\splitTitleString(), MWNamespaceTest\testEquals(), MWNamespaceTest\testGetAssociated(), MWNamespaceTest\testGetSubject(), MWNamespaceTest\testGetSubjectNamespaces(), MWNamespaceTest\testGetTalk(), MWNamespaceTest\testGetTalkNamespaces(), MWNamespaceTest\testHasGenderDistinction(), MWNamespaceTest\testHasSubpages(), MWNamespaceTest\testIsContent(), MWNamespaceTest\testIsSubject(), MWNamespaceTest\testIsTalk(), MWNamespaceTest\testIsWatchable(), MediaWiki\Tests\Maintenance\BackupDumperLoggerTest\testPlain(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\testPlain(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest\testPrefetchPlain(), TitlePermissionTest\testQuickPermissions(), MWNamespaceTest\testSubjectEquals(), LinksUpdateTest\testUpdate_pagelinks(), and MediaWiki\Tests\Maintenance\BackupDumperLoggerTest\testXmlDumpsBackupUseCaseLogging().
const NS_TEMPLATE 10 |
Definition at line 84 of file Defines.php.
Referenced by UncategorizedTemplatesPage\__construct(), DumpNamespaceFilter\__construct(), ApiQueryAllLinks\__construct(), ApiQueryBasicTest\addDBDataOnce(), Parser\braceSubstitution(), MysqlUpdater\doTemplatelinksUpdate(), UnusedtemplatesPage\formatResult(), UnusedtemplatesPage\getQueryInfo(), WantedTemplatesPage\getQueryInfo(), LinkCache\isCacheable(), TitleMethodsTest\provideHasSubjectNamespace(), TitleMethodsTest\provideInNamespace(), GenerateSitemap\setNamespacePriorities(), MWNamespaceTest\testEquals(), ParserOutputSearchDataExtractorTest\testGetTemplates(), TitleMethodsTest\testInNamespaces(), MWNamespaceTest\testIsNonincludable(), MWNamespaceTest\testSubjectEquals(), and LinksUpdateTest\testUpdate_templatelinks().
const NS_TEMPLATE_TALK 11 |
Definition at line 85 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), and GenerateSitemap\setNamespacePriorities().
const NS_USER 2 |
Definition at line 76 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), ActiveUsersPager\getQueryInfo(), TitleValueTest\goodConstructorProvider(), NewUsersLogFormatterTest\provideAutocreateLogDatabaseRows(), RightsLogFormatterTest\provideAutopromoteLogDatabaseRows(), BlockLogFormatterTest\provideBlockLogDatabaseRows(), NewUsersLogFormatterTest\provideByemailLogDatabaseRows(), NewUsersLogFormatterTest\provideCreate2LogDatabaseRows(), NewUsersLogFormatterTest\provideCreateLogDatabaseRows(), MediaWikiTitleCodecTest\provideFormat(), MediaWikiTitleCodecTest\provideGetFullText(), MediaWikiTitleCodecTest\provideGetNamespaceName(), MediaWikiTitleCodecTest\provideGetPrefixedDBkey(), MediaWikiTitleCodecTest\provideGetPrefixedText(), MediaWikiTitleCodecTest\provideGetText(), TitleMethodsTest\provideHasSubjectNamespace(), MWNamespaceTest\provideHasTalkNamespace(), TitleMethodsTest\provideInNamespace(), NewUsersLogFormatterTest\provideNewUsersLogDatabaseRows(), MediaWikiTitleCodecTest\provideParseTitle(), BlockLogFormatterTest\provideReblockLogDatabaseRows(), RightsLogFormatterTest\provideRightsLogDatabaseRows(), BlockLogFormatterTest\provideSuppressBlockLogDatabaseRows(), BlockLogFormatterTest\provideSuppressReblockLogDatabaseRows(), SampleTest\provideTitles(), BlockLogFormatterTest\provideUnblockLogDatabaseRows(), GenerateSitemap\setNamespacePriorities(), MWNamespaceTest\testGetContentNamespaces(), MWNamespaceTest\testIsCapitalizedWithWgCapitalLinkOverrides(), MWNamespaceTest\testIsNonincludable(), TitlePermissionTest\testSpecialsAndNSPermissions(), and RecentChangesUpdateJob\updateActiveUsers().
const NS_USER_TALK 3 |
Definition at line 77 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), EmailNotification\actuallyNotifyOnPageChange(), EmailNotification\canSendUserTalkEmail(), User\clearNotification(), FileDuplicateSearchPage\doBatchLookups(), HistoryPager\doBatchLookups(), ContribsPager\doBatchLookups(), UsersPager\doBatchLookups(), WikiPage\doEditUpdates(), UserCache\doQuery(), SpecialRenameuser\execute(), ChangesListSpecialPage\execute(), IuConverter\findVariantLink(), KkConverter\findVariantLink(), KuConverter\findVariantLink(), ShiConverter\findVariantLink(), SrConverter\findVariantLink(), ImageHistoryPseudoPager\getBody(), NewUsersLogFormatter\getPreloadTitles(), WantedPagesPage\getQueryInfo(), SpecialMytalk\getRedirect(), Article\getRobotPolicy(), LogPager\getStartBody(), MergeHistoryPager\getStartBody(), NewPagesPager\getStartBody(), MWNamespace\hasGenderDistinction(), EditPage\importFormData(), User\isBlockedFrom(), Language\needsGenderDistinction(), EmailNotification\notifyOnPageChange(), WikiPage\onArticleDelete(), RenameuserHooks\onShowMissingArticle(), BlockListPager\preprocessResults(), ProtectedPagesPager\preprocessResults(), MediaWikiTitleCodecTest\provideFormat(), MediaWikiTitleCodecTest\provideGetFullText(), MediaWikiTitleCodecTest\provideGetPrefixedDBkey(), TitleTest\provideGetPrefixedDBKey(), MediaWikiTitleCodecTest\provideGetPrefixedText(), TitleTest\provideGetPrefixedText(), TitleMethodsTest\provideHasSubjectNamespace(), MWNamespaceTest\provideHasTalkNamespace(), TitleMethodsTest\provideInNamespace(), GenerateSitemap\setNamespacePriorities(), MWNamespaceTest\setUp(), SpecialUndelete\showHistory(), EditPage\showIntro(), Article\showMissingArticle(), Article\showViewFooter(), MediaWikiTitleCodec\splitTitleString(), UserTest\testBlockInstanceCache(), 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 194 of file Defines.php.
Referenced by Parser\setOutputType().
const OT_MSG 3 |
Definition at line 197 of file Defines.php.
const OT_PLAIN 4 |
Definition at line 198 of file Defines.php.
Referenced by Parser\setOutputType().
const OT_PREPROCESS 3 |
Definition at line 196 of file Defines.php.
Referenced by Parser\setOutputType().
const OT_WIKI 2 |
Definition at line 195 of file Defines.php.
Referenced by Parser\setOutputType().
const PROTO_CANONICAL 1 |
Definition at line 233 of file Defines.php.
Referenced by DumpCategoriesAsRdf\addDumpHeader(), ApiQueryExternalLinks\execute(), ApiQueryInfo\extractPageInfo(), Title\getCanonicalURL(), File\getCanonicalUrl(), OutputPage\getHeadLinksArray(), SpecialUploadStash\outputRemoteScaledThumb(), WfExpandUrlTest\provideExpandableUrls(), ApiQueryExtLinksUsage\run(), UserMailer\sendInternal(), CategoriesRdf\titleToUrl(), File\transform(), and wfExpandUrl().
const PROTO_CURRENT null |
Definition at line 232 of file Defines.php.
Referenced by ApiQuerySiteinfo\appendGeneralInfo(), ApiQuerySiteinfo\appendInterwikiMap(), ApiQuerySiteinfo\appendRightsInfo(), SpecialUserLogin\beforeExecute(), SpecialRedirect\dispatchUser(), SpecialApiHelp\execute(), ApiQueryIWLinks\execute(), ApiQueryLangLinks\execute(), ApiQueryInfo\extractPageInfo(), ApiParse\formatIWLinks(), ApiParse\formatLangLinks(), RevertAction\getFormFields(), WebRequest\getFullRequestURL(), ApiQueryImageInfo\getInfo(), ApiPageSet\getInterwikiTitlesAsResult(), ApiRsd\getRsdApiList(), FeedItem\getUniqueIdUnescaped(), RevertAction\onSuccess(), RSSFeed\outHeader(), AtomFeed\outHeader(), RSSFeed\outItem(), AtomFeed\outItem(), OutputPage\output(), FileDeleteForm\prepareMessage(), WfExpandUrlTest\provideExpandableUrls(), ApiOpenSearch\search(), SearchSuggestion\setSuggestedTitle(), SpecialSearchTest\testSubPageRedirect(), MediaWiki\tryNormaliseRedirect(), wfExpandUrl(), and wfStreamThumb().
const PROTO_HTTP 'http://' |
Protocol constants for wfExpandUrl()
Definition at line 229 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 230 of file Defines.php.
Referenced by SpecialPage\checkLoginSecurityLevel(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), LoginSignupSpecialPage\execute(), SpecialLinkAccounts\execute(), MediaWiki\Linker\LinkRenderer\getLegacyOptions(), AuthManagerSpecialPage\handleReauthBeforeExecute(), AuthManagerSpecialPage\handleReturnBeforeExecute(), AuthManagerSpecialPage\performAuthenticationStep(), LinkRendererFactoryTest\provideCreateFromLegacyOptions(), WfExpandUrlTest\provideExpandableUrls(), MediaWiki\shouldDoHttpRedirect(), LoginHelper\showReturnToPage(), LinkRendererTest\testMakeKnownLink(), and wfExpandUrl().
const PROTO_INTERNAL 2 |
Definition at line 234 of file Defines.php.
Referenced by CdnCacheUpdate\expand(), MediaWiki\performAction(), and wfExpandUrl().
const PROTO_RELATIVE '//' |
Definition at line 231 of file Defines.php.
Referenced by ApiQuerySiteinfo\appendGeneralInfo(), 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 156 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), LinksUpdateTest\assertRecentChangeByCategorization(), RCCacheEntryFactory\buildDiffLink(), 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 152 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), 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 155 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 154 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), 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(), 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 153 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 SFH_NO_HASH 1 |
Flags for Parser::setFunctionHook Use of Parser consts is preferred:
Definition at line 207 of file Defines.php.
const SFH_OBJECT_ARGS 2 |
Definition at line 208 of file Defines.php.
const SHELL_MAX_ARG_STRLEN '100000' |
Max string length for shell invocations; based on binfmts.h
Definition at line 280 of file Defines.php.
Referenced by MediaWiki\Shell\Command\execute().