MediaWiki REL1_34
|
const ALF_NO_BLOCK_LOCK 8 |
Definition at line 114 of file Defines.php.
const ALF_NO_LINK_LOCK 4 |
Definition at line 113 of file Defines.php.
const ALF_PRELOAD_EXISTENCE 2 |
Definition at line 112 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 111 of file Defines.php.
const APCOND_AGE 2 |
Definition at line 195 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_AGE_FROM_EDIT 7 |
Definition at line 200 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_BLOCKED 8 |
Definition at line 201 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 194 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_EMAILCONFIRMED 3 |
Definition at line 196 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_INGROUPS 4 |
Definition at line 197 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_IPINRANGE 6 |
Definition at line 199 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_ISBOT 9 |
Definition at line 202 of file Defines.php.
Referenced by Autopromote\checkCondition().
const APCOND_ISIP 5 |
Definition at line 198 of file Defines.php.
Referenced by Autopromote\checkCondition().
const AV_NO_VIRUS 0 |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 100 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_SCAN_ABORTED -1 |
Definition at line 102 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_SCAN_FAILED false |
Definition at line 103 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_VIRUS_FOUND 1 |
Definition at line 101 of file Defines.php.
const CACHE_ACCEL 3 |
Definition at line 94 of file Defines.php.
const CACHE_ANYTHING -1 |
Cache type
Definition at line 90 of file Defines.php.
Referenced by ResourceLoaderFileModule\compileLessFile(), ApiScribuntoConsole\execute(), ResourceLoader\filter(), SpecialVersion\getCreditsForExtension(), IcuCollation\getFirstLetterData(), Installer\getInstallerConfig(), CacheHelper\initCaching(), ObjectCache\newAnything(), and CacheHelper\saveCache().
const CACHE_DB 1 |
Definition at line 92 of file Defines.php.
Referenced by Installer\getInstallerConfig(), ObjectCache\newAnything(), and ManageJobs\repushAbandoned().
const CACHE_MEMCACHED 2 |
Definition at line 93 of file Defines.php.
Referenced by McTest\execute(), and Installer\getInstallerConfig().
const CACHE_NONE 0 |
Definition at line 91 of file Defines.php.
Referenced by Installer\__construct(), ObjectCache\detectLocalServerCache(), Installer\getInstallerConfig(), ObjectCache\getLocalServerInstance(), ObjectCache\newAnything(), ObjectCache\newFromId(), Installer\overrideConfig(), and ScribuntoHooks\reportTiming().
const CONTENT_FORMAT_CSS 'text/css' |
Definition at line 243 of file Defines.php.
Referenced by CssContentHandler\__construct(), ResourceLoaderWikiModule\getContent(), and ResourceLoaderWikiModule\invalidateModuleCache().
const CONTENT_FORMAT_HTML 'text/html' |
Definition at line 247 of file Defines.php.
const CONTENT_FORMAT_JAVASCRIPT 'text/javascript' |
Definition at line 241 of file Defines.php.
Referenced by JavaScriptContentHandler\__construct(), ResourceLoaderWikiModule\getContent(), and ResourceLoaderWikiModule\invalidateModuleCache().
const CONTENT_FORMAT_JSON 'application/json' |
Definition at line 251 of file Defines.php.
Referenced by JsonContentHandler\__construct().
const CONTENT_FORMAT_SERIALIZED 'application/vnd.php.serialized' |
Definition at line 249 of file Defines.php.
const CONTENT_FORMAT_TEXT 'text/plain' |
Definition at line 245 of file Defines.php.
Referenced by ScribuntoContentHandler\isSupportedFormat().
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 239 of file Defines.php.
Referenced by WikitextContentHandler\__construct().
const CONTENT_FORMAT_XML 'application/xml' |
Definition at line 253 of file Defines.php.
const CONTENT_MODEL_CSS 'css' |
Definition at line 226 of file Defines.php.
Referenced by MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), CodeEditorHooks\getPageLanguage(), EditPage\getPreviewText(), Title\isSiteCssConfigPage(), Title\isUserCssConfigPage(), and EditPage\showIntro().
const CONTENT_MODEL_JAVASCRIPT 'javascript' |
Definition at line 225 of file Defines.php.
Referenced by MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), CodeEditorHooks\getPageLanguage(), EditPage\getPreviewText(), Title\isSiteJsConfigPage(), Title\isUserJsConfigPage(), and EditPage\showIntro().
const CONTENT_MODEL_JSON 'json' |
Definition at line 228 of file Defines.php.
Referenced by MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), CodeEditorHooks\getPageLanguage(), EditPage\getPreviewText(), FixDefaultJsonContentPages\handleRow(), Title\isSiteJsonConfigPage(), Title\isUserJsonConfigPage(), CiteHooks\onContentHandlerDefaultModelFor(), and EditPage\showIntro().
const CONTENT_MODEL_TEXT 'text' |
Definition at line 227 of file Defines.php.
Referenced by MediaWiki\Revision\FallbackSlotRoleHandler\__construct(), TextSlotDiffRenderer\diff(), DifferenceEngine\generateTextDiffBody(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), 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 224 of file Defines.php.
Referenced by MessageContent\__construct(), WikitextContent\__construct(), MediaWiki\Revision\MainSlotRoleHandler\__construct(), DifferenceEngineSlotDiffRenderer\__construct(), WikiEditorHooks\editPageShowEditFormFields(), WikiEditorHooks\editPageShowEditFormInitial(), ApiParse\execute(), ApiQueryRevisionsBase\extractDeprecatedContent(), ApiParse\getAllowedParams(), ApiQueryRevisionsBase\getAllowedParams(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), ApiComparePages\getDiffRevision(), TextPassDumper\getText(), TextContent\getWikitextForTransclusion(), FixDefaultJsonContentPages\handleRow(), Title\isWikitextPage(), LanguageConverter\parseCachedTable(), CompareParsers\processRevision(), PreprocessDump\processRevision(), ReplaceTextJob\run(), and SimpleCaptcha\shouldCheck().
const EDIT_AUTOSUMMARY 64 |
Definition at line 147 of file Defines.php.
Referenced by EditCLI\execute(), EditPage\internalAttemptSave(), MediaWiki\Storage\PageUpdater\makeAutoSummary(), and McrUndoAction\onSubmit().
const EDIT_DEFER_UPDATES 32 |
Definition at line 146 of file Defines.php.
const EDIT_FORCE_BOT 16 |
Definition at line 145 of file Defines.php.
Referenced by CleanupSpam\cleanupArticle(), WikiPage\commitRollback(), 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 148 of file Defines.php.
Referenced by WikiPage\commitRollback(), SpecialChangeContentModel\onSubmit(), DoubleRedirectJob\run(), and MediaWiki\Storage\PageUpdater\saveRevision().
const EDIT_MINOR 4 |
Definition at line 143 of file Defines.php.
Referenced by WikiPage\commitRollback(), WikiPage\doEditContent(), EditCLI\execute(), MediaWiki\Storage\PageUpdater\getAtomicSectionUpdate(), EditPage\internalAttemptSave(), MediaWiki\Storage\PageUpdater\makeNewRevision(), ReplaceTextJob\run(), and MediaWiki\Storage\PageUpdater\saveRevision().
const EDIT_NEW 1 |
Article edit flags
Definition at line 141 of file Defines.php.
Referenced by WikiPage\checkFlags(), MediaWiki\Storage\PageUpdater\checkFlags(), Installer\createMainpage(), ContentHandler\getChangeType(), EditPage\internalAttemptSave(), PopulateArchiveRevId\makeDummyRevisionRow(), SpecialChangeContentModel\onSubmit(), and LocalFile\recordUpload2().
const EDIT_SUPPRESS_RC 8 |
Definition at line 144 of file Defines.php.
Referenced by MediaWiki\Storage\PageUpdater\doCreate(), MediaWiki\Storage\PageUpdater\doModify(), EditCLI\execute(), PopulateArchiveRevId\makeDummyRevisionRow(), LocalFile\recordUpload2(), ReplaceTextJob\run(), and DoubleRedirectJob\run().
const EDIT_UPDATE 2 |
Definition at line 142 of file Defines.php.
Referenced by WikiPage\checkFlags(), MediaWiki\Storage\PageUpdater\checkFlags(), CleanupSpam\cleanupArticle(), WikiPage\commitRollback(), EditPage\internalAttemptSave(), McrUndoAction\onSubmit(), SpecialChangeContentModel\onSubmit(), DoubleRedirectJob\run(), and MediaWiki\Storage\PageUpdater\saveRevision().
const LIST_AND IDatabase::LIST_AND |
Definition at line 48 of file Defines.php.
Referenced by SpecialRecentChanges\__construct(), FindOrphanedFiles\checkFiles(), PrefixSearch\defaultSearchBackend(), DeleteSelfExternals\execute(), LocalRepo\findFiles(), WatchedItemQueryService\getFromUntilTargetConds(), MediaWiki\Block\DatabaseBlock\getRangeCond(), WatchedItemQueryService\getStartFromConds(), WatchedItemStore\getVisitingWatchersCondition(), MigrateComments\loadCommentIDs(), SpecialWatchlist\registerFilters(), Wikimedia\Rdbms\Database\replace(), ApiQueryAllImages\run(), and ApiQueryAllDeletedRevisions\run().
const LIST_COMMA IDatabase::LIST_COMMA |
Obsolete IDatabase::makeList() constants These are also available as Database class constants
Definition at line 47 of file Defines.php.
const LIST_NAMES IDatabase::LIST_NAMES |
Definition at line 50 of file Defines.php.
const LIST_OR IDatabase::LIST_OR |
Definition at line 51 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), SpecialRecentChanges\__construct(), FindOrphanedFiles\checkFiles(), CleanupInvalidDbKeys\cleanupTable(), PrefixSearch\defaultSearchBackend(), SpecialWatchlist\doMainQuery(), SpecialRenameuser\execute(), ApiQueryAllUsers\execute(), ApiQueryExternalLinks\execute(), LocalRepo\findFiles(), SpecialBlockList\getBlockListPager(), MediaWiki\Block\DatabaseBlock\getBlocksForIPList(), BacklinkCache\getConditions(), WatchedItemQueryService\getExtraDeletedPageLogEntryRelatedCond(), WatchedItemQueryService\getFromUntilTargetConds(), WatchedItemQueryService\getStartFromConds(), WANCacheReapUpdate\getTitleChangeEvents(), WatchedItemStore\getVisitingWatchersCondition(), WatchedItemQueryService\getWatchedItemsWithRCInfoQueryConds(), PageArchive\listPagesBySearch(), MigrateComments\loadCommentIDs(), MediaWiki\Block\DatabaseBlock\newLoad(), SpecialWatchlist\registerFilters(), Wikimedia\Rdbms\Database\replace(), ApiQueryAllImages\run(), ApiQueryExtLinksUsage\run(), ApiQueryRecentChanges\run(), ApiQueryAllDeletedRevisions\run(), ApiQueryBacklinksprop\run(), and ApiQueryBacklinks\runSecondQuery().
const LIST_SET IDatabase::LIST_SET |
Definition at line 49 of file Defines.php.
const MIGRATION_NEW 0x30000000 | SCHEMA_COMPAT_NEW |
Definition at line 307 of file Defines.php.
Referenced by RenameuserSQL\actorMigrationWriteOld(), CommentStore\getCommentInternal(), CommentStore\getFields(), CommentStore\getJoin(), CommentStore\insert(), CommentStore\insertInternal(), and CommentStore\newKey().
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 304 of file Defines.php.
Referenced by RenameuserSQL\actorMigrationWriteNew().
const MIGRATION_WRITE_BOTH 0x10000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_BOTH |
Definition at line 305 of file Defines.php.
const MIGRATION_WRITE_NEW 0x20000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_NEW |
Definition at line 306 of file Defines.php.
const MW_DATE_DEFAULT 'default' |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 121 of file Defines.php.
const MW_DATE_DMY 'dmy' |
Definition at line 123 of file Defines.php.
const MW_DATE_ISO 'ISO 8601' |
Definition at line 125 of file Defines.php.
const MW_DATE_MDY 'mdy' |
Definition at line 122 of file Defines.php.
const MW_DATE_YMD 'ymd' |
Definition at line 124 of file Defines.php.
const MW_EDITFILTERMERGED_SUPPORTS_API 1 |
Definition at line 157 of file Defines.php.
const MW_SUPPORTS_CONTENTHANDLER 1 |
Definition at line 156 of file Defines.php.
const MW_SUPPORTS_LOCALISATIONCACHE 1 |
Definition at line 155 of file Defines.php.
const MW_SUPPORTS_PARSERFIRSTCALLINIT 1 |
Hook support constants
Definition at line 154 of file Defines.php.
const NS_CATEGORY 14 |
Definition at line 83 of file Defines.php.
Referenced by SpecialUncategorizedCategories\__construct(), DumpNamespaceFilter\__construct(), CategoryTree\__construct(), CategoryPager\__construct(), OutputPage\addCategoryLinks(), OutputPage\addCategoryLinksToLBAndGetResult(), ParserOutput\addTrackingCategory(), CategoryTreeHooks\articleFromTitle(), 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(), SpecialMostLinkedCategories\formatResult(), SpecialUncategorizedCategories\formatResult(), SpecialUnusedCategories\formatResult(), CategoryPager\formatRow(), MediaWiki\Widget\Search\FullSearchResultWidget\generateSizeHtml(), CategoryPager\getBody(), WikiPage\getCategories(), Skin\getCategories(), TimelessTemplate\getCategories(), LinksUpdate\getCategoryInsertions(), DumpCategoriesAsRdf\getCategoryIterator(), Skin\getCategoryLinks(), CategoryChangesAsRdf\getChangedCatsIterator(), ApiCategoryTree\getConditionalRequestData(), CategoryChangesAsRdf\getDeletedCatsIterator(), SpecialUncategorizedCategories\getExceptionList(), WikiFilePage\getForeignCategories(), SpecialRandomInCategory\getFormFields(), WikiPage\getHiddenCategories(), CategoryChangesAsRdf\getMovedCatsIterator(), CategoryChangesAsRdf\getNewCatsIterator(), WantedFilesPage\getPageHeader(), Title\getParentCategories(), SpecialMostLinkedCategories\getQueryInfo(), SpecialUnusedCategories\getQueryInfo(), SpecialWantedCategories\getQueryInfo(), CategoryChangesAsRdf\getRestoredCatsIterator(), CategoryPager\getStartForm(), Category\getTitle(), TrackingCategories\getTrackingCategories(), CategoryChangesAsRdf\handleCategorization(), Parser\handleDoubleUnderscore(), Parser\handleInternalLinks2(), 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(), Scribunto_LuaSiteLibrary\pagesInCategory(), CoreParserFunctions\pagesincategory(), CategoryTreePage\prefixSearchSubpages(), Category\refreshCounts(), CategoryTree\renderChildren(), CategoryTree\renderNode(), CategoryTree\renderNodeInfo(), CategoryTree\renderParents(), ApiQueryAllCategories\run(), ApiQueryCategories\run(), ApiQueryCategoryMembers\run(), CategoryFinder\scanNextLayer(), CategoryFinder\seed(), GenerateSitemap\setNamespacePriorities(), MovePageForm\showForm(), Title\touchLinks(), CategoryPage\view(), CategoriesRdf\writeCategoryData(), and CategoriesRdf\writeCategoryLinkData().
const NS_CATEGORY_TALK 15 |
Definition at line 84 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 75 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), ApiQueryAllLinks\__construct(), FileRepo\__construct(), CategoryTree\__construct(), ParserOutput\addLink(), UploadForm\addUploadJS(), CleanupImages\buildSafeTitle(), UploadBase\checkBadFileName(), RevertAction\checkCanExecute(), FindOrphanedFiles\checkFiles(), MediaWiki\Permissions\PermissionManager\checkQuickPermissions(), LocalRepo\checkRedirect(), SpecialRedirect\dispatchFile(), CategoryViewer\doCategoryQuery(), SpecialNuke\doDelete(), WikiPage\doDeleteUpdates(), SpecialRecentChangesLinked\doMainQuery(), MovePageForm\doSubmit(), SpecialFileDuplicateSearch\execute(), SpecialUndelete\execute(), ApiQueryPageImages\execute(), TextExtracts\ApiQueryExtracts\execute(), ApiDelete\execute(), ApiMove\execute(), ApiQueryFilearchive\execute(), ApiQueryImageInfo\execute(), DeleteBatch\execute(), FindMissingFiles\execute(), ImportImages\execute(), UppercaseTitlesForUnicodeTransition\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(), ApiUpload\getChunkResult(), FileContentHandler\getDataForSearchIndex(), WikitextContentHandler\getDataForSearchIndex(), PageImages\Hooks\LinksUpdateHookHandler\getDbBlacklist(), ForeignDBFile\getDescriptionShortUrl(), ForeignDBFile\getDescriptionText(), WANCacheReapUpdate\getEventAffectedKeys(), Scribunto_LuaTitleLibrary\getFileInfo(), SpecialWhatLinksHere\getFilterPanel(), Scribunto_LuaTitleLibrary\getInexpensiveTitleData(), FileRepo\getNameFromTitle(), SearchNearMatcher\getNearMatchInternal(), SearchUpdate\getNormalizedTitle(), PageImages\getPageImage(), ApiImageRotate\getPageSet(), ApiQueryInfo\getProtectionInfo(), NewFilesPager\getQueryInfo(), SpecialListDuplicatedFiles\getQueryInfo(), SpecialMIMESearch\getQueryInfo(), MostimagesPage\getQueryInfo(), SpecialUncategorizedImages\getQueryInfo(), SpecialUnusedImages\getQueryInfo(), WantedFilesPage\getQueryInfo(), File\getRedirectedTitle(), WikiFilePage\getRedirectTarget(), WikiPage\getRedirectTarget(), Title\getRestrictionTypes(), SpecialSearch\getSearchProfiles(), UploadBase\getTitle(), ApiQueryPageImages\getTitles(), SpecialUpload\getUploadForm(), Scribunto_LuaUriLibrary\getUrl(), PageImages\Hooks\LinksUpdateHookHandler\getUrlBlacklist(), SpecialUpload\getWatchCheck(), Parser\handleInternalLinks2(), SearchHighlighter\highlightText(), ImagePage\imageLinks(), initFromTitle(), EditPage\internalAttemptSave(), LinksUpdate\invalidateImageDescriptions(), Title\isAlwaysKnown(), LinkCache\isCacheable(), Title\isDeleted(), Title\isDeletedQuick(), NamespaceInfo\isMovable(), MovePage\isValidFileMove(), MovePage\isValidMove(), Title\isValidMoveTarget(), MovePage\isValidMoveTarget(), SearchHighlighter\linkReplace(), PageArchive\listFiles(), SpecialNuke\listForm(), ArchivedFile\load(), ArchivedFile\loadFromRow(), Linker\makeThumbLink2(), MovePage\moveUnsafe(), ArchivedFile\newFromRow(), LocalFile\newFromRow(), OldLocalFile\newFromRow(), Article\newFromTitle(), File\normalizeTitle(), WikiPage\onArticleDelete(), MultimediaViewerHooks\onBeforePageDisplay(), ImageQueryPage\outputResults(), CleanupImages\pageExists(), InfoAction\pageInfo(), MediaWiki\parseTitle(), ApiUpload\performUpload(), CleanupImages\pokeFile(), SpecialFileDuplicateSearch\prefixSearchSubpages(), CleanupImages\processRow(), TitleCleanup\processRow(), PageImages\Tests\ApiQueryPageImagesTest\provideGetTitles(), PurgeChangedFiles\purgeFromLogType(), LinksUpdate\queueRecursiveJobs(), LocalFile\recordUpload2(), Category\refreshCounts(), ImageMap\render(), Parser\renderImageGallery(), ApiQueryAllImages\run(), ApiQueryBacklinks\run(), ApiQueryDuplicateFiles\run(), ApiQueryImages\run(), ApiQueryBacklinks\runSecondQuery(), PrefixSearch\searchBackend(), GenerateSitemap\setNamespacePriorities(), SpecialWhatLinksHere\showIndirectLinks(), EditPage\showIntro(), Article\showPatrolFooter(), SpecialSearch\showResults(), SpecialUpload\showUploadWarning(), SpecialUpload\showViewDeletedLinks(), MediaWiki\Widget\Search\SearchFormWidget\startsWithImage(), 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 76 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), and GenerateSitemap\setNamespacePriorities().
const NS_HELP 12 |
Definition at line 81 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), and GenerateSitemap\setNamespacePriorities().
const NS_HELP_TALK 13 |
Definition at line 82 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), and GenerateSitemap\setNamespacePriorities().
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 69 of file Defines.php.
Referenced by TitleValue\__construct(), DumpNamespaceFilter\__construct(), buildCommonApiParams(), Title\canExist(), NamespaceInfo\canHaveTalkPage(), MediaWiki\Permissions\PermissionManager\checkReadPermissions(), MediaWiki\Permissions\PermissionManager\checkSpecialsAndNSPermissions(), LanguageConverter\convertNamespace(), LanguageConverter\convertTitle(), CategoryTree\decodeNamespaces(), PrefixSearch\defaultSearchBackend(), SpecialContributions\execute(), SpecialExport\execute(), SpecialLog\execute(), SpecialWithoutInterwiki\execute(), UppercaseTitlesForUnicodeTransition\execute(), LanguageConverter\findVariantLink(), Linker\formatAutocomments(), ApiQueryAllPages\getAllowedParams(), ApiQueryDeletedrevs\getAllowedParams(), ApiQueryInfo\getAllVariants(), NamespaceInfo\getCanonicalNamespaces(), CategoriesRdf\getDumpURI(), SpecialEditWatchlist\getExpandedTargets(), Linker\getInvalidTitleDescription(), EditWatchlistNormalHTMLForm\getLegend(), BlockLogFormatter\getMessageParameters(), ReplaceAll\getNamespaces(), SpecialEditWatchlist\getNormalForm(), RandomPage\getNsList(), WantedFilesPage\getPageHeader(), BlockListPager\getRestrictionListHTML(), NamespaceInfo\getSubject(), NamespaceDupes\getTargetList(), User\getTokenUrl(), Languages\getUntranslatedNamespaces(), ExternalUserNames\getUserLinkTitle(), MediaWiki\EditPage\TextConflictHelper\incrementConflictStats(), MediaWiki\EditPage\TextConflictHelper\incrementResolvedStats(), Title\isAlwaysKnown(), NamespaceInfo\isMethodValidFor(), NamespaceInfo\isMovable(), NamespaceInfo\isTalk(), MediaWiki\maybeDoHttpsRedirect(), Html\namespaceSelectorOptions(), Title\newFromTextThrow(), Scribunto_LuaTitleLibrary\newTitle(), SpecialListGroupRights\outputNamespaceProtectionInfo(), SearchEngine\parseNamespacePrefixes(), MediaWikiTitleCodec\parseTitle(), BenchmarkTitleValue\parseTitleValue(), Scribunto_LuaSiteLibrary\register(), SearchExactMatchRescorer\rescore(), SearchEngineConfig\searchableNamespaces(), RandomPage\setNamespace(), GenerateSitemap\setNamespacePriorities(), WikiImporter\setTargetRootPage(), Scribunto_LuaTitleLibraryTest\setUp(), SpecialAllPages\showChunk(), SpecialPrefixindex\showPrefixChunk(), MediaWikiTitleCodec\splitTitleString(), and PrefixSearch\validateNamespaces().
const NS_MEDIA -2 |
Virtual namespaces; don't appear in the page database
Definition at line 57 of file Defines.php.
Referenced by ParserOutput\addLink(), WikiPage\factory(), Linker\formatLinksInComment(), ApiQueryLogEvents\getAllowedParams(), ApiQueryAllLinks\getAllowedParams(), ApiQueryLinks\getAllowedParams(), ApiQueryRecentChanges\getAllowedParams(), Scribunto_LuaTitleLibrary\getFileInfo(), Scribunto_LuaTitleLibrary\getInexpensiveTitleData(), SearchNearMatcher\getNearMatchInternal(), SpecialMediaStatistics\getQueryInfo(), WikiPage\getRedirectTarget(), Scribunto_LuaUriLibrary\getUrl(), MediaWiki\Extensions\ParserFunctions\ParserFunctions\ifexistInternal(), Title\isAlwaysKnown(), Article\newFromTitle(), File\normalizeTitle(), MediaWiki\parseTitle(), Scribunto_LuaTitleLibrary\register(), ImageMap\render(), PrefixSearch\searchBackend(), and CoreParserFunctions\urlFunction().
const NS_MEDIAWIKI 8 |
Definition at line 77 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), AllMessagesTablePager\__construct(), ApiFormatXml\addXslt(), SkinTemplate\buildContentNavigationUrls(), MediaWiki\Permissions\PermissionManager\checkSpecialsAndNSPermissions(), FixDefaultJsonContentPages\doDBUpdates(), WikiPage\doPurge(), MediaWiki\Storage\DerivedPageDataUpdater\doUpdates(), ApiEditPage\execute(), DeleteDefaultMessages\execute(), DeleteEqualMessages\execute(), ImportSiteScripts\execute(), NukeNS\execute(), UpdateRestrictions\execute(), MediaWikiGadgetsDefinitionRepo\fetchStructuredList(), AllMessagesTablePager\formatValue(), TitleBlacklist\getBlacklistText(), EditPage\getContentObject(), AllMessagesTablePager\getCustomisedStatuses(), Title\getDefaultMessageText(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), SearchNearMatcher\getNearMatchInternal(), ContentHandler\getPageLanguage(), ContentHandler\getPageViewLanguage(), SpecialUnwatchedPages\getQueryInfo(), WantedPagesPage\getQueryInfo(), Article\getSubstituteContent(), Message\getTitle(), TrackingCategories\getTrackingCategories(), MediaWikiGadgetsDefinitionRepo\handlePageUpdate(), Title\hasSourceText(), EditPage\internalAttemptSave(), Title\isAlwaysKnown(), LinkCache\isCacheable(), Title\isConversionTable(), BaseBlacklist\isLocalSource(), Title\isRawHtmlMessage(), Title\isSiteCssConfigPage(), Title\isSiteJsConfigPage(), Title\isSiteJsonConfigPage(), ChangeTags\isTagNameValid(), MessageCache\loadCachedMessagePageEntry(), MessageCache\loadFromDB(), ConfirmEditHooks\onAlternateEditPreview(), WikiPage\onArticleDelete(), TitleBlacklistHooks\onClearBlacklist(), CiteHooks\onContentHandlerDefaultModelFor(), ConfirmEditHooks\onPageContentSaveComplete(), TitleBlacklistHooks\onValidateBlacklist(), RawAction\onView(), LanguageConverter\parseCachedTable(), MessageCache\refreshAndReplaceInternal(), EditPage\setHeaders(), GenerateSitemap\setNamespacePriorities(), EditPage\showDiff(), EditPage\showIntro(), SpecialGadgets\showMainForm(), Article\showMissingArticle(), Parser\statelessFetchTemplate(), and LanguageConverter\updateConversionTable().
const NS_MEDIAWIKI_TALK 9 |
Definition at line 78 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), DeleteEqualMessages\execute(), AllMessagesTablePager\formatValue(), AllMessagesTablePager\getCustomisedStatuses(), and GenerateSitemap\setNamespacePriorities().
const NS_PROJECT 4 |
Definition at line 73 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), SpecialListGroupRights\execute(), SpecialPasswordPolicies\execute(), SpecialStatistics\getGroupStats(), Language\getNamespaces(), GenerateSitemap\setNamespacePriorities(), SpecialBookSources\showList(), WebInstallerName\submit(), Scribunto_LuaTitleLibraryTest\testAddsLinks(), and wfInstallerMain().
const NS_PROJECT_TALK 5 |
Definition at line 74 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), Language\getNamespaceAliases(), Language\getNamespaces(), Languages\getProblematicProjectTalks(), and GenerateSitemap\setNamespacePriorities().
const NS_SPECIAL -1 |
Definition at line 58 of file Defines.php.
Referenced by Job\__construct(), JobSpecification\__construct(), ParserOutput\addLink(), RCCacheEntryFactory\buildCLink(), MediaWiki\Permissions\PermissionManager\checkSpecialsAndNSPermissions(), SearchEngine\completionSearchBackend(), ApiFeedWatchlist\createFeedItem(), PrefixSearch\defaultSearchBackend(), LinkHolderArray\doVariants(), Revision\ensureTitle(), ApiComparePages\execute(), TidyUpT39714\execute(), Job\factory(), Title\fixSpecialName(), MediaWiki\Widget\Search\InterwikiSearchResultSetWidget\footerHtml(), OldChangesList\formatChangeLine(), MediaWikiTitleCodec\formatTitle(), ApiQueryLogEvents\getAllowedParams(), ApiQueryAllLinks\getAllowedParams(), ApiQueryLinks\getAllowedParams(), ApiQueryRecentChanges\getAllowedParams(), ApiComparePages\getDiffRevision(), ApiErrorFormatter\getDummyTitle(), Scribunto_LuaTitleLibrary\getExpensiveData(), Scribunto_LuaTitleLibrary\getInexpensiveTitleData(), OutputPage\getJSVars(), IRCColourfulRCFeedFormatter\getLine(), JobQueueRedis\getNewJobFields(), SpecialPage\getSafeTitleFor(), ScribuntoHooks\getSoftwareInfo(), DifferenceEngine\getTitle(), SpecialPage\getTitleValueFor(), MediaWiki\Widget\Search\SimpleSearchResultSetWidget\headerHtml(), JobQueueDB\insertFields(), Title\isAlwaysKnown(), MediaWiki\Permissions\PermissionManager\isSameSpecialPage(), Title\isSpecialPage(), MediaWiki\main(), MediaWiki\Rest\EntryPoint\main(), MediaWiki\Linker\LinkRenderer\makeBrokenLink(), Linker\normaliseSpecialPage(), MultimediaViewerHooks\onBeforePageDisplay(), MessageCache\parse(), ApiPageSet\populateGeneratorData(), Title\prefix(), ApiPageSet\processTitlesArray(), ImageMap\render(), LinkHolderArray\replaceInternal(), PrefixSearch\searchBackend(), Parser\setTitle(), CoreParserFunctions\special(), PrefixSearch\specialSearch(), MediaWikiTitleCodec\splitTitleString(), and SkinTemplate\wrapHTML().
const NS_TALK 1 |
Definition at line 70 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), NamespaceDupes\getDestinationTitle(), NamespaceDupes\getTargetList(), PageImages\Tests\ApiQueryPageImagesTest\provideGetTitles(), GenerateSitemap\setNamespacePriorities(), and MediaWikiTitleCodec\splitTitleString().
const NS_TEMPLATE 10 |
Definition at line 79 of file Defines.php.
Referenced by SpecialUncategorizedTemplates\__construct(), DumpNamespaceFilter\__construct(), ApiQueryAllLinks\__construct(), Parser\braceSubstitution(), MysqlUpdater\doTemplatelinksUpdate(), Scribunto_LuaEngine\expandTemplate(), SpecialUnusedTemplates\formatResult(), SpecialUnusedTemplates\getQueryInfo(), SpecialWantedTemplates\getQueryInfo(), LinkCache\isCacheable(), and GenerateSitemap\setNamespacePriorities().
const NS_TEMPLATE_TALK 11 |
Definition at line 80 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), and GenerateSitemap\setNamespacePriorities().
const NS_USER 2 |
Definition at line 71 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), ImageListPager\__construct(), UsersPager\__construct(), ActiveUsersPager\__construct(), SpecialEditWatchlist\buildRemoveLine(), MediaWiki\Permissions\PermissionManager\checkQuickPermissions(), RenameUserCleanup\checkRenameLog(), MediaWiki\Permissions\PermissionManager\checkUserConfigPermissions(), SpecialContributions\contributionsSub(), SpecialRedirect\dispatchUser(), SpecialFileDuplicateSearch\doBatchLookups(), HistoryPager\doBatchLookups(), UsersPager\doBatchLookups(), FixDefaultJsonContentPages\doDBUpdates(), UserCache\doQuery(), SpecialRenameuser\execute(), SpecialContributions\execute(), SpecialLog\execute(), ChangesListSpecialPage\execute(), ApiFeedContributions\execute(), ApiQueryAllUsers\execute(), IuConverter\findVariantLink(), KkConverter\findVariantLink(), KuConverter\findVariantLink(), ShiConverter\findVariantLink(), SrConverter\findVariantLink(), SpecialNewpages\form(), SpecialMIMESearch\formatResult(), ImageListPager\formatValue(), Scribunto_LuaLanguageLibrary\gender(), CoreParserFunctions\gender(), MediaWiki\Preferences\DefaultPreferencesFactory\generateSkinOptions(), ImageHistoryPseudoPager\getBody(), User\getCanonicalName(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), WANCacheReapUpdate\getEventAffectedKeys(), RenameuserLogFormatter\getMessageParameters(), SearchNearMatcher\getNearMatchInternal(), RenameuserLogFormatter\getPreloadTitles(), ActiveUsersPager\getQueryInfo(), NewPagesPager\getQueryInfo(), WantedPagesPage\getQueryInfo(), SpecialMypage\getRedirect(), Skin\getRelevantUser(), Article\getRobotPolicy(), LogPager\getStartBody(), MergeHistoryPager\getStartBody(), NewPagesPager\getStartBody(), SpecialDeletedContributions\getSubTitle(), SpecialBlock\getTargetUserTitle(), ExternalUserNames\getUserLinkTitle(), User\getUserPage(), UserRightsProxy\getUserPage(), User\idFromName(), EditPage\importFormData(), Title\isUserCssConfigPage(), Title\isUserJsConfigPage(), Title\isUserJsonConfigPage(), UppercaseTitlesForUnicodeTransition\isUserPage(), LogPager\limitPerformer(), Language\needsGenderDistinction(), RenameuserHooks\onShowMissingArticle(), InfoAction\pageInfo(), BlockListPager\preprocessResults(), ProtectedPagesPager\preprocessResults(), SpecialBlock\processForm(), RenameuserSQL\rename(), GenerateSitemap\setNamespacePriorities(), RevisionDeleteUser\setUsernameBitfields(), MovePageForm\showForm(), SpecialUndelete\showHistory(), EditPage\showIntro(), Article\showMissingArticle(), MediaWiki\Preferences\DefaultPreferencesFactory\skinPreferences(), MediaWikiTitleCodec\splitTitleString(), TitleBlacklistHooks\testUserName(), RecentChangesUpdateJob\updateActiveUsers(), and Linker\userLink().
const NS_USER_TALK 3 |
Definition at line 72 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), EmailNotification\actuallyNotifyOnPageChange(), MediaWiki\Block\AbstractBlock\appliesToUsertalk(), EmailNotification\canSendUserTalkEmail(), User\clearNotification(), SpecialFileDuplicateSearch\doBatchLookups(), HistoryPager\doBatchLookups(), ContribsPager\doBatchLookups(), UsersPager\doBatchLookups(), UserCache\doQuery(), MediaWiki\Storage\DerivedPageDataUpdater\doUpdates(), 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(), EditPage\importFormData(), UppercaseTitlesForUnicodeTransition\isUserPage(), Language\needsGenderDistinction(), EmailNotification\notifyOnPageChange(), WikiPage\onArticleDelete(), RenameuserHooks\onShowMissingArticle(), BlockListPager\preprocessResults(), ProtectedPagesPager\preprocessResults(), SpecialBlock\processForm(), GenerateSitemap\setNamespacePriorities(), SpecialUndelete\showHistory(), EditPage\showIntro(), Article\showMissingArticle(), Article\showViewFooter(), MediaWikiTitleCodec\splitTitleString(), 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 173 of file Defines.php.
Referenced by Parser\setOutputType().
const OT_MSG 3 |
Definition at line 176 of file Defines.php.
const OT_PLAIN 4 |
Definition at line 177 of file Defines.php.
Referenced by Parser\setOutputType().
const OT_PREPROCESS 3 |
Definition at line 175 of file Defines.php.
Referenced by Parser\setOutputType().
const OT_WIKI 2 |
Definition at line 174 of file Defines.php.
Referenced by Parser\setOutputType().
const PROTO_CANONICAL 1 |
Definition at line 212 of file Defines.php.
Referenced by DumpCategoriesAsRdf\addDumpHeader(), ApiQueryExternalLinks\execute(), ApiQueryInfo\extractPageInfo(), Title\getCanonicalURL(), File\getCanonicalUrl(), OutputPage\getHeadLinksArray(), Scribunto_LuaTitleLibrary\getUrl(), GenerateSitemap\indexEntry(), PageImages\onBeforePageDisplay(), SpecialUploadStash\outputRemoteScaledThumb(), ApiQueryExtLinksUsage\run(), UserMailer\sendInternal(), CategoriesRdf\titleToUrl(), File\transform(), and wfExpandUrl().
const PROTO_CURRENT null |
Definition at line 211 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(), ApiQueryImageInfo\getInfo(), ApiPageSet\getInterwikiTitlesAsResult(), ApiRsd\getRsdApiList(), FeedItem\getUniqueIdUnescaped(), RevertAction\onSuccess(), AtomFeed\outHeader(), RSSFeed\outHeader(), AtomFeed\outItem(), RSSFeed\outItem(), OutputPage\output(), FileDeleteForm\prepareMessage(), ApiOpenSearch\search(), ApiQueryPageImages\setResultValues(), SearchSuggestion\setSuggestedTitle(), MediaWiki\tryNormaliseRedirect(), wfExpandUrl(), and wfStreamThumb().
const PROTO_HTTP 'http://' |
Protocol constants for wfExpandUrl()
Definition at line 208 of file Defines.php.
Referenced by MWHttpRequest\__construct(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), WebRequest\getFullRequestURL(), Title\getInternalURL(), MediaWiki\Linker\LinkRenderer\getLegacyOptions(), Scribunto_LuaTitleLibrary\getUrl(), ForeignAPIRepo\httpGet(), BaseBlacklist\isLocalSource(), LoginHelper\showReturnToPage(), and wfExpandUrl().
const PROTO_HTTPS 'https://' |
Definition at line 209 of file Defines.php.
Referenced by SpecialPage\checkLoginSecurityLevel(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), LoginSignupSpecialPage\execute(), SpecialLinkAccounts\execute(), SpecialUnlinkAccounts\execute(), WebRequest\getFullRequestURL(), MediaWiki\Linker\LinkRenderer\getLegacyOptions(), Scribunto_LuaTitleLibrary\getUrl(), AuthManagerSpecialPage\handleReauthBeforeExecute(), AuthManagerSpecialPage\handleReturnBeforeExecute(), AuthManagerSpecialPage\performAuthenticationStep(), MediaWiki\shouldDoHttpRedirect(), LoginHelper\showReturnToPage(), and wfExpandUrl().
const PROTO_INTERNAL 2 |
Definition at line 213 of file Defines.php.
Referenced by CdnCacheUpdate\expand(), MediaWiki\performAction(), and wfExpandUrl().
const PROTO_RELATIVE '//' |
Definition at line 210 of file Defines.php.
Referenced by ApiQuerySiteinfo\appendGeneralInfo(), CoreParserFunctions\filepath(), SpecialVersion\getEntryPointInfo(), File\getFullUrl(), OutputPage\getHeadLinksArray(), Scribunto_LuaTitleLibrary\getUrl(), Scribunto_LuaSiteLibrary\interwikiMap(), CssContentHandler\makeRedirectContent(), JavaScriptContentHandler\makeRedirectContent(), CSSMin\remapOne(), OutputPage\showPermissionsErrorPage(), and LoginHelper\showReturnToPage().
const RC_CATEGORIZE 6 |
Definition at line 135 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), RCCacheEntryFactory\buildDiffLink(), EnhancedChangesList\getDiffHistLinks(), IRCColourfulRCFeedFormatter\getLine(), EnhancedChangesList\getLogText(), ActiveUsersPager\getQueryInfo(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), CategoryChangesAsRdf\handleCategorization(), ChangesList\insertDiffHist(), ChangesList\isCategorizationWithoutRevision(), RecentChange\newForCategorization(), SpecialRecentChanges\outputChangesList(), SpecialWatchlist\outputChangesList(), EnhancedChangesList\recentChangesBlockLine(), and RecentChange\save().
const RC_EDIT 0 |
RecentChange type identifiers
Definition at line 131 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), ChangesFeed\buildItems(), PopulateRecentChangesSource\buildUpdateCondition(), RecentChange\diffLinkTrail(), MachineReadableRCFeedFormatter\getLine(), ApiQueryRecentChanges\getPatrolToken(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), CategoryChangesAsRdf\handleEdits(), ChangesList\insertRollback(), RecentChange\notifyEdit(), RebuildRecentchanges\rebuildRecentChangesTablePass1(), and RebuildRecentchanges\rebuildRecentChangesTablePass2().
const RC_EXTERNAL 5 |
Definition at line 134 of file Defines.php.
Referenced by ChangesFeed\buildItems(), PopulateRecentChangesSource\buildUpdateCondition(), SiteStatsUpdate\cacheUpdate(), ApiQueryAllUsers\execute(), ActiveUsersPager\getQueryInfo(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), RecentChange\notifyRCFeeds(), and RecentChangesUpdateJob\updateActiveUsers().
const RC_LOG 3 |
Definition at line 133 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(), RebuildRecentchanges\rebuildRecentChangesTablePass3(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), SpecialWatchlist\registerFilters(), ApiQueryRecentChanges\run(), Article\showPatrolFooter(), and ChangesList\userCan().
const RC_NEW 1 |
Definition at line 132 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(), ChangesList\insertDiffHist(), ChangesList\isUnpatrolled(), RecentChange\notifyNew(), MarkpatrolledAction\onSubmit(), RebuildRecentchanges\rebuildRecentChangesTablePass1(), RebuildRecentchanges\rebuildRecentChangesTablePass2(), EnhancedChangesList\recentChangesBlockLine(), and ApiQueryRecentChanges\run().
const SCHEMA_COMPAT_NEW SCHEMA_COMPAT_WRITE_NEW | SCHEMA_COMPAT_READ_NEW |
Definition at line 280 of file Defines.php.
const SCHEMA_COMPAT_OLD SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_READ_OLD |
Definition at line 279 of file Defines.php.
const SCHEMA_COMPAT_READ_BOTH SCHEMA_COMPAT_READ_OLD | SCHEMA_COMPAT_READ_NEW |
Definition at line 278 of file Defines.php.
Referenced by ActorMigration\__construct(), MediaWiki\Revision\RevisionStore\__construct(), CommentStore\__construct(), CommentStore\getCommentInternal(), CommentStore\getFields(), and CommentStore\getJoin().
const SCHEMA_COMPAT_READ_NEW 0x20 |
Definition at line 276 of file Defines.php.
Referenced by ActorMigration\__construct(), MediaWiki\Revision\RevisionStore\emulateMainSlot_1_29(), CommentStore\getCommentInternal(), CommentStore\getFields(), CommentStore\getJoin(), MediaWiki\Revision\RevisionStore\getSlotRowsForBatch(), ActorMigration\getWhere(), MediaWiki\Revision\RevisionStore\insertRevisionOn(), ActorMigration\isAnon(), ActorMigration\isNotAnon(), MediaWiki\Revision\RevisionStore\newRevisionSlots(), and MediaWiki\Revision\RevisionStore\setContentHandlerUseDB().
const SCHEMA_COMPAT_READ_OLD 0x02 |
Definition at line 274 of file Defines.php.
Referenced by ActorMigration\__construct(), MediaWiki\Revision\RevisionStore\__construct(), MediaWiki\Revision\RevisionStore\assertCrossWikiContentLoadingIsSafe(), CheckStorage\check(), CompressOld\compressWithConcat(), MediaWiki\Revision\RevisionStore\getArchiveQueryInfo(), CommentStore\getCommentInternal(), CommentStore\getFields(), ActorMigration\getJoin(), CommentStore\getJoin(), MediaWiki\Revision\RevisionStore\getQueryInfo(), MediaWiki\Revision\RevisionStore\getSlotsQueryInfo(), CheckStorage\importRevision(), MediaWiki\Revision\RevisionStore\newMutableRevisionFromArray(), MediaWiki\Revision\RevisionStore\newRevisionsFromBatch(), Maintenance\purgeRedundantText(), and TrackBlobs\trackRevisions().
const SCHEMA_COMPAT_WRITE_BOTH SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_WRITE_NEW |
Definition at line 277 of file Defines.php.
Referenced by ActorMigration\__construct(), and CommentStore\__construct().
const SCHEMA_COMPAT_WRITE_NEW 0x10 |
Definition at line 275 of file Defines.php.
Referenced by ActorMigration\__construct(), MediaWiki\Revision\RevisionStore\__construct(), RenameuserSQL\actorMigrationWriteNew(), CommentStore\createComment(), MediaWiki\Revision\RevisionStore\emulateMainSlot_1_29(), PopulateContentTables\execute(), MediaWiki\Revision\RevisionStore\findSlotContentId(), ActorMigration\getInsertValues(), ActorMigration\getInsertValuesWithTempTable(), CommentStore\insertInternal(), MediaWiki\Revision\RevisionStore\insertRevisionOn(), MediaWiki\Revision\RevisionStore\insertRevisionRowOn(), MediaWiki\Revision\RevisionStore\insertSlotOn(), DatabaseUpdater\populateContentTables(), and MediaWiki\Revision\RevisionStore\setContentHandlerUseDB().
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 273 of file Defines.php.
Referenced by ActorMigration\__construct(), MediaWiki\Revision\RevisionStore\__construct(), RenameuserSQL\actorMigrationWriteOld(), WikiPage\archiveRevisions(), MediaWiki\Revision\RevisionStore\getBaseRevisionRow(), ActorMigration\getInsertValues(), ActorMigration\getInsertValuesWithTempTable(), MediaWiki\Revision\RevisionStore\getQueryInfo(), Revision\getRevisionText(), CommentStore\insert(), CommentStore\insertInternal(), MediaWiki\Revision\RevisionStore\insertRevisionInternal(), and MediaWiki\Revision\RevisionStore\insertSlotOn().
const SFH_NO_HASH 1 |
Flags for Parser::setFunctionHook Use of Parser consts is preferred:
Definition at line 186 of file Defines.php.
const SFH_OBJECT_ARGS 2 |
Definition at line 187 of file Defines.php.
const SHELL_MAX_ARG_STRLEN '100000' |
Max string length for shell invocations; based on binfmts.h
Definition at line 259 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 317 of file Defines.php.
const XML_DUMP_SCHEMA_VERSION_11 '0.11' |
Definition at line 318 of file Defines.php.
Referenced by XmlDumpWriter\writeSlot().