MediaWiki REL1_39
|
A few constants that might be needed during LocalSettings.php. More...
Go to the source code of this file.
A few constants that might be needed during LocalSettings.php.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html
Definition in file Defines.php.
const APCOND_AGE 2 |
Autopromote conditions
Definition at line 179 of file Defines.php.
const APCOND_AGE_FROM_EDIT 7 |
Autopromote conditions
Definition at line 184 of file Defines.php.
const APCOND_BLOCKED 8 |
Autopromote conditions
Definition at line 185 of file Defines.php.
const APCOND_EDITCOUNT 1 |
Autopromote conditions
Definition at line 178 of file Defines.php.
const APCOND_EMAILCONFIRMED 3 |
Autopromote conditions
Definition at line 180 of file Defines.php.
const APCOND_INGROUPS 4 |
Autopromote conditions
Definition at line 181 of file Defines.php.
const APCOND_IPINRANGE 6 |
Autopromote conditions
Definition at line 183 of file Defines.php.
const APCOND_ISBOT 9 |
Autopromote conditions
Definition at line 186 of file Defines.php.
const APCOND_ISIP 5 |
Autopromote conditions
Definition at line 182 of file Defines.php.
const AV_NO_VIRUS 0 |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 96 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_SCAN_ABORTED -1 |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 98 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_SCAN_FAILED false |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 99 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_VIRUS_FOUND 1 |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 97 of file Defines.php.
const CACHE_ACCEL 3 |
Cache type
Definition at line 89 of file Defines.php.
const CACHE_ANYTHING -1 |
Cache type
Definition at line 85 of file Defines.php.
Referenced by TemplateParser\__construct(), MediaWiki\ResourceLoader\FileModule\compileLessString(), SpecialVersion\getCreditsForExtension(), Installer\getInstallerConfig(), and ObjectCache\newAnything().
const CACHE_DB 1 |
Cache type
Definition at line 87 of file Defines.php.
Referenced by Installer\getInstallerConfig(), and ObjectCache\newAnything().
const CACHE_HASH 'hash' |
Cache type
Definition at line 90 of file Defines.php.
const CACHE_MEMCACHED 'memcached-php' |
const CACHE_NONE 0 |
Cache type
Definition at line 86 of file Defines.php.
Referenced by Installer\getInstallerConfig(), ObjectCache\getLocalServerInstance(), ObjectCache\newAnything(), and Installer\overrideConfig().
const CONTENT_FORMAT_CSS 'text/css' |
For CSS pages.
Definition at line 231 of file Defines.php.
Referenced by CssContentHandler\__construct(), and MediaWiki\ResourceLoader\WikiModule\getContent().
const CONTENT_FORMAT_HTML 'text/html' |
const CONTENT_FORMAT_JAVASCRIPT 'text/javascript' |
For JS pages.
Definition at line 229 of file Defines.php.
Referenced by JavaScriptContentHandler\__construct(), and MediaWiki\ResourceLoader\WikiModule\getContent().
const CONTENT_FORMAT_JSON 'application/json' |
For future use with the API, and for use by extensions.
Definition at line 239 of file Defines.php.
Referenced by JsonContentHandler\__construct(), and MediaWiki\ResourceLoader\WikiModule\getContent().
const CONTENT_FORMAT_SERIALIZED 'application/vnd.php.serialized' |
For future use with the API and for extensions.
Definition at line 237 of file Defines.php.
const CONTENT_FORMAT_TEXT 'text/plain' |
const CONTENT_FORMAT_WIKITEXT 'text/x-wiki' |
Wikitext.
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 227 of file Defines.php.
Referenced by WikitextContentHandler\__construct().
const CONTENT_FORMAT_XML 'application/xml' |
For future use with the API, and for use by extensions.
Definition at line 241 of file Defines.php.
const CONTENT_MODEL_CSS 'css' |
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 213 of file Defines.php.
Referenced by MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), EditPage\getPreviewText(), MediaWiki\ResourceLoader\WikiModule\invalidateModuleCache(), Title\isSiteCssConfigPage(), and Title\isUserCssConfigPage().
const CONTENT_MODEL_JAVASCRIPT 'javascript' |
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 212 of file Defines.php.
Referenced by MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), EditPage\getPreviewText(), MediaWiki\ResourceLoader\WikiModule\invalidateModuleCache(), Title\isSiteJsConfigPage(), and Title\isUserJsConfigPage().
const CONTENT_MODEL_JSON 'json' |
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 215 of file Defines.php.
Referenced by MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), EditPage\getPreviewText(), FixDefaultJsonContentPages\handleRow(), Title\isSiteJsonConfigPage(), and Title\isUserJsonConfigPage().
const CONTENT_MODEL_TEXT 'text' |
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 214 of file Defines.php.
Referenced by TextSlotDiffRenderer\diff(), DifferenceEngine\generateTextDiffBody(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), and DifferenceEngine\textDiff().
const CONTENT_MODEL_UNKNOWN 'unknown' |
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 216 of file Defines.php.
Referenced by MediaWiki\Revision\FallbackSlotRoleHandler\__construct().
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 211 of file Defines.php.
Referenced by MessageContent\__construct(), WikitextContent\__construct(), MediaWiki\Revision\MainSlotRoleHandler\__construct(), DifferenceEngineSlotDiffRenderer\__construct(), ApiParse\execute(), ApiParse\getAllowedParams(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), TextContent\getWikitextForTransclusion(), FixDefaultJsonContentPages\handleRow(), Title\isWikitextPage(), WikiPage\makeParserOptionsFromTitleAndModel(), CompareParsers\processRevision(), and TextPassDumper\startElement().
const EDIT_AUTOSUMMARY 64 |
Article edit flags
Definition at line 132 of file Defines.php.
Referenced by EditCLI\execute(), EditPage\internalAttemptSave(), and McrUndoAction\onSubmit().
const EDIT_DEFER_UPDATES 32 |
Article edit flags
Definition at line 131 of file Defines.php.
const EDIT_FORCE_BOT 16 |
Article edit flags
Definition at line 130 of file Defines.php.
Referenced by ContentModelChange\doContentModelChange(), EditCLI\execute(), EditPage\internalAttemptSave(), and MediaWiki\Page\RollbackPage\rollback().
const EDIT_INTERNAL 128 |
Article edit flags
Definition at line 133 of file Defines.php.
Referenced by ContentModelChange\doContentModelChange(), MediaWiki\Storage\PageEditStash\parseAndCache(), MediaWiki\Page\RollbackPage\rollback(), DoubleRedirectJob\run(), and MediaWiki\Storage\PageUpdater\updateRevision().
const EDIT_MINOR 4 |
Article edit flags
Definition at line 128 of file Defines.php.
Referenced by WikiPage\doUserEditContent(), EditCLI\execute(), EditPage\internalAttemptSave(), MediaWiki\Page\RollbackPage\rollback(), DoubleRedirectJob\run(), and MediaWiki\Storage\PageUpdater\saveRevision().
const EDIT_NEW 1 |
Article edit flags
Definition at line 126 of file Defines.php.
Referenced by WikiPage\checkFlags(), Installer\createMainpage(), ContentModelChange\doContentModelChange(), EditPage\internalAttemptSave(), and MediaWiki\Storage\PageUpdater\saveRevision().
const EDIT_SUPPRESS_RC 8 |
Article edit flags
Definition at line 129 of file Defines.php.
Referenced by EditCLI\execute(), and DoubleRedirectJob\run().
const EDIT_UPDATE 2 |
Article edit flags
Definition at line 127 of file Defines.php.
Referenced by WikiPage\checkFlags(), ContentModelChange\doContentModelChange(), EditPage\internalAttemptSave(), McrUndoAction\onSubmit(), MediaWiki\Page\RollbackPage\rollback(), DoubleRedirectJob\run(), and MediaWiki\Storage\PageUpdater\saveRevision().
const LIST_AND IDatabase::LIST_AND |
Obsolete IDatabase::makeList() constants These are also available as Database class constants
Definition at line 43 of file Defines.php.
Referenced by SpecialRecentChanges\__construct(), FindOrphanedFiles\checkFiles(), PrefixSearch\defaultSearchBackend(), DeleteSelfExternals\execute(), LocalRepo\findFiles(), GrepPages\findPages(), MediaWiki\Block\DatabaseBlock\getRangeCond(), SpecialWatchlist\registerFilters(), and ApiQueryAllDeletedRevisions\run().
const LIST_COMMA IDatabase::LIST_COMMA |
Obsolete IDatabase::makeList() constants These are also available as Database class constants
Definition at line 42 of file Defines.php.
const LIST_NAMES IDatabase::LIST_NAMES |
Obsolete IDatabase::makeList() constants These are also available as Database class constants
Definition at line 45 of file Defines.php.
const LIST_OR IDatabase::LIST_OR |
Obsolete IDatabase::makeList() constants These are also available as Database class constants
Definition at line 46 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), SpecialRecentChanges\__construct(), FindOrphanedFiles\checkFiles(), CleanupInvalidDbKeys\cleanupTable(), PrefixSearch\defaultSearchBackend(), SpecialWatchlist\doMainQuery(), ApiQueryAllUsers\execute(), ApiQueryExternalLinks\execute(), LocalRepo\findFiles(), GrepPages\findPages(), SpecialBlockList\getBlockListPager(), MediaWiki\Block\DatabaseBlock\getBlocksForIPList(), BacklinkCache\getConditions(), WANCacheReapUpdate\getTitleChangeEvents(), PageArchive\listPagesBySearch(), MediaWiki\Block\DatabaseBlock\newLoad(), SpecialWatchlist\registerFilters(), ApiQueryRecentChanges\run(), and ApiQueryAllDeletedRevisions\run().
const LIST_SET IDatabase::LIST_SET |
Obsolete IDatabase::makeList() constants These are also available as Database class constants
Definition at line 44 of file Defines.php.
const MIGRATION_NEW 0x30000000 | SCHEMA_COMPAT_NEW |
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 306 of file Defines.php.
Referenced by CommentStore\getFields(), CommentStore\getJoin(), and CommentStore\insert().
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 303 of file Defines.php.
const MIGRATION_WRITE_BOTH 0x10000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_BOTH |
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.
const MIGRATION_WRITE_NEW 0x20000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_NEW |
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 305 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 106 of file Defines.php.
const MW_DATE_DMY 'dmy' |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 108 of file Defines.php.
const MW_DATE_ISO 'ISO 8601' |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 110 of file Defines.php.
const MW_DATE_MDY 'mdy' |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 107 of file Defines.php.
const MW_DATE_YMD 'ymd' |
Date format selectors; used in user preference storage and by Language::date() and co.
Definition at line 109 of file Defines.php.
const MW_EDITFILTERMERGED_SUPPORTS_API 1 |
Hook support constants
Definition at line 142 of file Defines.php.
const MW_SUPPORTS_CONTENTHANDLER 1 |
Hook support constants
Definition at line 141 of file Defines.php.
const MW_SUPPORTS_LOCALISATIONCACHE 1 |
Hook support constants
Definition at line 140 of file Defines.php.
const MW_SUPPORTS_PARSERFIRSTCALLINIT 1 |
Hook support constants
Definition at line 139 of file Defines.php.
const MW_SUPPORTS_RESOURCE_MODULES 1 |
Support for $wgResourceModules.
Definition at line 146 of file Defines.php.
const MW_VERSION '1.39.10' |
The running version of MediaWiki.
This replaces the $wgVersion global found in earlier versions. When updating, remember to also bump the stand-alone duplicate of this in PHPVersionCheck.
Definition at line 36 of file Defines.php.
Referenced by Pingback\__construct(), MediaWiki\Logger\Monolog\WikiProcessor\__invoke(), ApiQuerySiteinfo\appendGeneralInfo(), MediaWiki\Preferences\SignatureValidator\checkLintErrors(), WebInstallerUpgrade\execute(), DumpMessages\execute(), UpdateMediaWiki\execute(), Version\execute(), MWDebug\getDebugInfo(), WebInstallerReleaseNotes\getFileName(), WebInstaller\getFingerprint(), OutputPage\getHeadLinksArray(), MediaWiki\Http\HttpRequestFactory\getUserAgent(), SpecialVersion\getVersion(), SpecialVersion\getVersionLinked(), AtomFeed\outHeader(), RSSFeed\outHeader(), and WebInstallerOutput\outputTitle().
const NS_CATEGORY 14 |
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 78 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), CategoryPager\__construct(), SpecialUncategorizedCategories\__construct(), OutputPage\addCategoryLinks(), OutputPage\addCategoryLinksToLBAndGetResult(), Skin\buildNavUrls(), MediaWiki\Parser\Parsoid\Config\SiteConfig\categoryRegexp(), BenchmarkTitleValue\constructTitle(), BenchmarkTitleValue\constructTitleSafe(), BenchmarkTitleValue\constructTitleValue(), CategoryViewer\doCategoryQuery(), MediaWiki\Deferred\LinksUpdate\LinksDeletionUpdate\doIncrementalUpdate(), SpecialRecentChangesLinked\doMainQuery(), LinkHolderArray\doVariants(), ApiQueryCategoryInfo\execute(), RefreshLinks\execute(), SpecialMostLinkedCategories\formatResult(), SpecialUncategorizedCategories\formatResult(), SpecialUnusedCategories\formatResult(), CategoryPager\formatRow(), MediaWiki\Search\SearchWidgets\FullSearchResultWidget\generateSizeHtml(), CategoryPager\getBody(), WikiPage\getCategories(), Skin\getCategories(), DumpCategoriesAsRdf\getCategoryIterator(), Skin\getCategoryLinks(), NamespaceInfo\getCategoryLinkType(), CategoryChangesAsRdf\getChangedCatsIterator(), CategoryChangesAsRdf\getDeletedCatsIterator(), WikiFilePage\getForeignCategories(), SpecialRandomInCategory\getFormFields(), WikiPage\getHiddenCategories(), CategoryChangesAsRdf\getMovedCatsIterator(), CategoryChangesAsRdf\getNewCatsIterator(), WantedFilesPage\getPageHeader(), Title\getParentCategories(), SpecialMostLinkedCategories\getQueryInfo(), SpecialUnusedCategories\getQueryInfo(), SpecialWantedCategories\getQueryInfo(), CategoryChangesAsRdf\getRestoredCatsIterator(), CategoryPager\getStartForm(), TrackingCategories\getTrackingCategories(), CategoryChangesAsRdf\handleCategorization(), CategoryChangesAsRdf\handleMoves(), CategoriesRdf\labelToUrl(), WikitextContentHandler\makeRedirectContent(), Category\newFromName(), Article\newFromTitle(), CategoryMembershipChangeJob\notifyUpdatesForRevision(), WikiPage\onArticleCreate(), SpecialRandomInCategory\onSubmit(), InfoAction\pageInfo(), CoreParserFunctions\pagesincategory(), Category\refreshCounts(), MediaWiki\Deferred\LinksUpdate\CategoryLinksTable\setParserOutput(), MovePageForm\showForm(), Title\touchLinks(), CategoryPage\view(), CategoriesRdf\writeCategoryData(), and CategoriesRdf\writeCategoryLinkData().
const NS_CATEGORY_TALK 15 |
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 79 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\EditPage\TextConflictHelper\incrementConflictStats(), and MediaWiki\EditPage\TextConflictHelper\incrementResolvedStats().
const NS_FILE 6 |
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 70 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), ApiQueryAllLinks\__construct(), FileRepo\__construct(), RevertAction\checkCanExecute(), FindOrphanedFiles\checkFiles(), LocalRepo\checkRedirect(), SpecialRedirect\dispatchFile(), CategoryViewer\doCategoryQuery(), SpecialRecentChangesLinked\doMainQuery(), SpecialFileDuplicateSearch\execute(), SpecialUndelete\execute(), ApiDelete\execute(), ApiMove\execute(), ApiQueryFilearchive\execute(), ApiQueryImageInfo\execute(), DeleteBatch\execute(), FindMissingFiles\execute(), ImportImages\execute(), UppercaseTitlesForUnicodeTransition\execute(), ForeignAPIRepo\findBySha1(), FileRepo\findFile(), LocalRepo\findFiles(), WikiFilePage\followRedirect(), NewFilesPager\formatRow(), ImageListPager\formatValue(), MediaWiki\Search\SearchWidgets\FullSearchResultWidget\generateFileHtml(), NamespaceInfo\getCategoryLinkType(), FileContentHandler\getDataForSearchIndex(), WikitextContentHandler\getDataForSearchIndex(), Title\getDeletedEditsCount(), ForeignDBFile\getDescriptionShortUrl(), ForeignDBFile\getDescriptionText(), WANCacheReapUpdate\getEventAffectedKeys(), FileRepo\getNameFromTitle(), SearchNearMatcher\getNearMatchInternal(), NewFilesPager\getQueryInfo(), SpecialListDuplicatedFiles\getQueryInfo(), SpecialMIMESearch\getQueryInfo(), MostimagesPage\getQueryInfo(), SpecialUncategorizedImages\getQueryInfo(), SpecialUnusedImages\getQueryInfo(), WantedFilesPage\getQueryInfo(), File\getRedirectedTitle(), WikiFilePage\getRedirectTarget(), WikiPage\getRedirectTarget(), SpecialSearch\getSearchProfiles(), UploadBase\getTitle(), SpecialUpload\getUploadForm(), SpecialUpload\getWatchCheck(), Title\hasDeletedEdits(), SearchHighlighter\highlightText(), ImagePage\imageLinks(), initFromTitle(), Title\isAlwaysKnown(), NamespaceInfo\isCapitalized(), MovePage\isValidFileMove(), MovePage\isValidMove(), MovePage\isValidMoveTarget(), PageArchive\listFiles(), ArchivedFile\load(), ArchivedFile\loadFromRow(), Linker\makeBrokenImageLinkObj(), Linker\makeThumbLink2(), ArchivedFile\newFromRow(), LocalFile\newFromRow(), OldLocalFile\newFromRow(), Article\newFromTitle(), File\normalizeTitle(), WikiPage\onArticleDelete(), ImageQueryPage\outputResults(), InfoAction\pageInfo(), ApiUpload\performUpload(), SpecialFileDuplicateSearch\prefixSearchSubpages(), SpecialFilepath\prefixSearchSubpages(), CleanupImages\processRow(), TitleCleanup\processRow(), PurgeChangedFiles\purgeFromLogType(), MediaWiki\Deferred\LinksUpdate\LinksUpdate\queueRecursiveJobs(), Category\refreshCounts(), Parser\renderImageGallery(), PrefixSearch\searchBackend(), Article\showPatrolFooter(), SpecialSearch\showResults(), SpecialUpload\showUploadWarning(), SpecialUpload\showViewDeletedLinks(), MediaWiki\Search\SearchWidgets\SearchFormWidget\startsWithImage(), TraditionalImageGallery\toHTML(), WikiPage\updateRedirectOn(), CoreParserFunctions\urlFunction(), ApiFileRevert\validateParameters(), ImagePage\view(), wfImageAuthMain(), wfStreamThumb(), Skin\wrapHTML(), and XmlDumpWriter\writeUploads().
const NS_FILE_TALK 7 |
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 71 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct().
const NS_HELP 12 |
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 76 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct().
const NS_HELP_TALK 13 |
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 77 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct().
const NS_MAIN 0 |
Real namespaces
Number 100 and beyond are reserved for custom namespaces; DO NOT assign standard namespaces at 100 or beyond. DO NOT Change integer values as they are most probably hardcoded everywhere see T2696 which talked about that.
Definition at line 64 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), TitleValue\assertValidSpec(), buildCommonApiParams(), NamespaceInfo\canHaveTalkPage(), LanguageConverter\convertNamespace(), PrefixSearch\defaultSearchBackend(), SpecialContributions\execute(), SpecialExport\execute(), SpecialLog\execute(), SpecialWithoutInterwiki\execute(), UppercaseTitlesForUnicodeTransition\execute(), GrepPages\findPages(), LanguageConverter\findVariantLink(), ApiQueryAllPages\getAllowedParams(), ApiQueryDeletedrevs\getAllowedParams(), NamespaceInfo\getCanonicalNamespaces(), NamespaceInfo\getContentNamespaces(), CategoriesRdf\getDumpURI(), Linker\getInvalidTitleDescription(), EditWatchlistNormalHTMLForm\getLegend(), BlockLogFormatter\getMessageParameters(), SpecialEditWatchlist\getNormalForm(), Title\getNsText(), WantedFilesPage\getPageHeader(), NamespaceInfo\getSubject(), User\getTokenUrl(), ExternalUserNames\getUserLinkTitle(), SpecialSearch\goResult(), NamespaceInfo\hasTalkNamespace(), MediaWiki\EditPage\TextConflictHelper\incrementConflictStats(), MediaWiki\EditPage\TextConflictHelper\incrementResolvedStats(), Title\isAlwaysKnown(), NamespaceInfo\isContent(), NamespaceInfo\isMovable(), NamespaceInfo\isTalk(), NamespaceInfo\isWatchable(), Html\namespaceSelectorOptions(), Title\newFromTextThrow(), SearchEngine\parseNamespacePrefixes(), BenchmarkTitleValue\parseTitleValue(), SearchExactMatchRescorer\rescore(), SearchEngineConfig\searchableNamespaces(), SpecialRandomPage\setNamespace(), WikiImporter\setTargetRootPage(), SpecialPrefixindex\showPrefixChunk(), MediaWikiTitleCodec\splitTitleString(), and PrefixSearch\validateNamespaces().
const NS_MEDIA -2 |
Virtual namespaces; don't appear in the page database
Definition at line 52 of file Defines.php.
Referenced by ApiQueryLogEvents\getAllowedParams(), ApiQueryAllLinks\getAllowedParams(), ApiQueryLinks\getAllowedParams(), ApiQueryRecentChanges\getAllowedParams(), SearchNearMatcher\getNearMatchInternal(), SpecialMediaStatistics\getQueryInfo(), WikiPage\getRedirectTarget(), Title\isAlwaysKnown(), NamespaceInfo\isCapitalized(), Article\newFromTitle(), File\normalizeTitle(), PrefixSearch\searchBackend(), and CoreParserFunctions\urlFunction().
const NS_MEDIAWIKI 8 |
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 72 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), AllMessagesTablePager\__construct(), ApiFormatXml\addXslt(), FixDefaultJsonContentPages\doDBUpdates(), WikiPage\doPurge(), MediaWiki\Storage\DerivedPageDataUpdater\doUpdates(), ApiEditPage\execute(), DeleteDefaultMessages\execute(), DeleteEqualMessages\execute(), ImportSiteScripts\execute(), NukeNS\execute(), AllMessagesTablePager\formatValue(), EditPage\getContentObject(), AllMessagesTablePager\getCustomisedStatuses(), Title\getDefaultMessageText(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), SearchNearMatcher\getNearMatchInternal(), ContentHandler\getPageLanguage(), ContentHandler\getPageViewLanguage(), SpecialUnwatchedPages\getQueryInfo(), WantedPagesPage\getQueryInfo(), Message\getTitle(), TrackingCategories\getTrackingCategories(), Title\hasSourceText(), Title\isAlwaysKnown(), Title\isConversionTable(), Title\isRawHtmlMessage(), Title\isSiteCssConfigPage(), Title\isSiteJsConfigPage(), Title\isSiteJsonConfigPage(), ChangeTags\isTagNameValid(), WikiPage\onArticleDelete(), RawAction\onView(), MessageCache\refreshAndReplaceInternal(), EditPage\setHeaders(), EditPage\showDiff(), Article\showMissingArticle(), Parser\statelessFetchTemplate(), and LanguageConverter\updateConversionTable().
const NS_MEDIAWIKI_TALK 9 |
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 73 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), DeleteEqualMessages\execute(), AllMessagesTablePager\formatValue(), and AllMessagesTablePager\getCustomisedStatuses().
const NS_PROJECT 4 |
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 68 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), SpecialListGroupRights\execute(), SpecialPasswordPolicies\execute(), Language\getNamespaces(), WebInstallerName\submit(), and wfInstallerMain().
const NS_PROJECT_TALK 5 |
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 DumpNamespaceFilter\__construct(), Language\getNamespaceAliases(), and Language\getNamespaces().
const NS_SPECIAL -1 |
Virtual namespaces; don't appear in the page database
Definition at line 53 of file Defines.php.
Referenced by Job\__construct(), JobSpecification\__construct(), OutputPage\buildBacklinkSubtitle(), SearchEngine\completionSearchBackend(), TrivialLanguageConverter\convertSplitTitle(), PrefixSearch\defaultSearchBackend(), LinkHolderArray\doVariants(), TidyUpT39714\execute(), Job\factory(), Title\fixSpecialName(), MediaWiki\Search\SearchWidgets\InterwikiSearchResultSetWidget\footerHtml(), MediaWikiTitleCodec\formatTitle(), ApiQueryLogEvents\getAllowedParams(), ApiQueryAllLinks\getAllowedParams(), ApiQueryLinks\getAllowedParams(), ApiQueryRecentChanges\getAllowedParams(), ApiErrorFormatter\getDummyTitle(), OutputPage\getJSVars(), IRCColourfulRCFeedFormatter\getLine(), JobQueueRedis\getNewJobFields(), SpecialPage\getSafeTitleFor(), MediaWiki\Parser\Parsoid\Config\SiteConfig\getSpecialNSAliases(), RecentChange\getTitle(), DifferenceEngine\getTitle(), Parser\getTitle(), SpecialPage\getTitleValueFor(), MediaWiki\Search\SearchWidgets\SimpleSearchResultSetWidget\headerHtml(), MediaWiki\Search\SearchWidgets\InterwikiSearchResultSetWidget\headerHtml(), JobQueueDB\insertFields(), Title\isAlwaysKnown(), Title\isSpecialPage(), MediaWiki\Rest\EntryPoint\main(), MediaWiki\Linker\LinkRenderer\makeBrokenLink(), MediaWiki\Linker\LinkRenderer\normalizeTarget(), MessageCache\parse(), ApiPageSet\populateGeneratorData(), LinkHolderArray\replaceInternal(), PrefixSearch\searchBackend(), Parser\setPage(), CoreParserFunctions\special(), PrefixSearch\specialSearch(), MediaWikiTitleCodec\splitTitleString(), wfApiMain(), and Skin\wrapHTML().
const NS_TALK 1 |
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 65 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), and MediaWikiTitleCodec\splitTitleString().
const NS_TEMPLATE 10 |
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 74 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), ApiQueryAllLinks\__construct(), SpecialUncategorizedTemplates\__construct(), Parser\braceSubstitution(), SpecialUnusedTemplates\formatResult(), SpecialUnusedTemplates\getQueryInfo(), and SpecialWantedTemplates\getQueryInfo().
const NS_TEMPLATE_TALK 11 |
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 75 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct().
const NS_USER 2 |
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 66 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), ImageListPager\__construct(), UsersPager\__construct(), ActiveUsersPager\__construct(), SpecialContributions\contributionsSub(), HistoryPager\doBatchLookups(), MergeHistoryPager\doBatchLookups(), NewFilesPager\doBatchLookups(), UsersPager\doBatchLookups(), FixDefaultJsonContentPages\doDBUpdates(), UserCache\doQuery(), SpecialContributions\execute(), SpecialLog\execute(), ChangesListSpecialPage\execute(), ApiBlock\execute(), ApiQueryAllUsers\execute(), LanguageConverterSpecific\findVariantLink(), SpecialNewpages\form(), SpecialMIMESearch\formatResult(), NewFilesPager\formatRow(), ImageListPager\formatValue(), CoreParserFunctions\gender(), MediaWiki\Preferences\DefaultPreferencesFactory\generateSkinOptions(), ImageHistoryPseudoPager\getBody(), MediaWiki\User\UserNameUtils\getCanonical(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), WANCacheReapUpdate\getEventAffectedKeys(), SearchNearMatcher\getNearMatchInternal(), MediaWiki\ResourceLoader\UserModule\getPages(), MediaWiki\ResourceLoader\UserStylesModule\getPages(), ActiveUsersPager\getQueryInfo(), NewPagesPager\getQueryInfo(), WantedPagesPage\getQueryInfo(), SpecialMypage\getRedirect(), Skin\getRelevantUser(), Article\getRobotPolicy(), LogPager\getStartBody(), NewPagesPager\getStartBody(), SpecialBlock\getTargetUserTitle(), ExternalUserNames\getUserLinkTitle(), User\getUserPage(), UserRightsProxy\getUserPage(), NamespaceInfo\hasGenderDistinction(), EditPage\importFormData(), Title\isUserCssConfigPage(), Title\isUserJsConfigPage(), Title\isUserJsonConfigPage(), Language\needsGenderDistinction(), InfoAction\pageInfo(), BlockListPager\preprocessResults(), ProtectedPagesPager\preprocessResults(), MovePageForm\showForm(), SpecialUndelete\showHistory(), Article\showMissingArticle(), MediaWiki\Preferences\DefaultPreferencesFactory\skinPreferences(), MediaWikiTitleCodec\splitTitleString(), RecentChangesUpdateJob\updateActiveUsers(), and Linker\userLink().
const NS_USER_TALK 3 |
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 67 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Block\BlockUser\__construct(), EmailNotification\actuallyNotifyOnPageChange(), MediaWiki\Block\AbstractBlock\appliesToUsertalk(), MediaWiki\Watchlist\WatchlistManager\clearTitleUserNotifications(), HistoryPager\doBatchLookups(), ContribsPager\doBatchLookups(), MergeHistoryPager\doBatchLookups(), UsersPager\doBatchLookups(), UserCache\doQuery(), MediaWiki\Storage\DerivedPageDataUpdater\doUpdates(), ChangesListSpecialPage\execute(), LanguageConverterSpecific\findVariantLink(), ImageHistoryPseudoPager\getBody(), NewUsersLogFormatter\getPreloadTitles(), WantedPagesPage\getQueryInfo(), SpecialMytalk\getRedirect(), Article\getRobotPolicy(), LogPager\getStartBody(), NewPagesPager\getStartBody(), NamespaceInfo\hasGenderDistinction(), EditPage\importFormData(), Language\needsGenderDistinction(), WikiPage\onArticleDelete(), InfoAction\pageInfo(), BlockListPager\preprocessResults(), ProtectedPagesPager\preprocessResults(), SpecialUndelete\showHistory(), 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 158 of file Defines.php.
const OT_MSG 3 |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse(). Use of Parser consts is preferred:
Definition at line 161 of file Defines.php.
const OT_PLAIN 4 |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse(). Use of Parser consts is preferred:
Definition at line 162 of file Defines.php.
const OT_PREPROCESS 3 |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse(). Use of Parser consts is preferred:
Definition at line 160 of file Defines.php.
const OT_WIKI 2 |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse(). Use of Parser consts is preferred:
Definition at line 159 of file Defines.php.
const PROTO_CANONICAL 1 |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 199 of file Defines.php.
Referenced by ParsoidVirtualRESTService\__construct(), DumpCategoriesAsRdf\addDumpHeader(), ApiQueryExternalLinks\execute(), Title\getCanonicalURL(), File\getCanonicalUrl(), OutputPage\getHeadLinksArray(), UserMailer\sendInternal(), File\transform(), and wfApiMain().
const PROTO_CURRENT PROTO_FALLBACK |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 198 of file Defines.php.
Referenced by ApiQuerySiteinfo\appendGeneralInfo(), ApiQuerySiteinfo\appendInterwikiMap(), ApiQuerySiteinfo\appendRightsInfo(), SpecialUserLogin\beforeExecute(), SpecialRedirect\dispatchUser(), SpecialApiHelp\execute(), ApiQueryIWLinks\execute(), ApiQueryLangLinks\execute(), RevertAction\getFormFields(), ApiQueryImageInfo\getInfo(), ApiPageSet\getInterwikiTitlesAsResult(), ApiRsd\getRsdApiList(), FeedItem\getUniqueIdUnescaped(), RevertAction\onSuccess(), AtomFeed\outHeader(), RSSFeed\outHeader(), AtomFeed\outItem(), RSSFeed\outItem(), OutputPage\output(), VirtualRESTServiceClient\runMulti(), SearchSuggestion\setSuggestedTitle(), wfOpenSearchDescMain(), and wfStreamThumb().
const PROTO_FALLBACK null |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 196 of file Defines.php.
const PROTO_HTTP 'http://' |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 193 of file Defines.php.
Referenced by MWHttpRequest\__construct(), MediaWiki\Utils\UrlUtils\__construct(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), WebRequest\getFullRequestURL(), Title\getInternalURL(), ForeignAPIRepo\httpGet(), and LoginHelper\showReturnToPage().
const PROTO_HTTPS 'https://' |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 194 of file Defines.php.
Referenced by SpecialPage\checkLoginSecurityLevel(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), LoginSignupSpecialPage\execute(), SpecialLinkAccounts\execute(), SpecialUnlinkAccounts\execute(), WebRequest\getFullRequestURL(), AuthManagerSpecialPage\handleReauthBeforeExecute(), AuthManagerSpecialPage\handleReturnBeforeExecute(), AuthManagerSpecialPage\performAuthenticationStep(), and LoginHelper\showReturnToPage().
const PROTO_INTERNAL 2 |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 200 of file Defines.php.
Referenced by WebRequest\matchURLForCDN().
const PROTO_RELATIVE '//' |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 195 of file Defines.php.
Referenced by ApiQuerySiteinfo\appendGeneralInfo(), Linker\expandLocalLinks(), CoreParserFunctions\filepath(), SpecialVersion\getEntryPointInfo(), File\getFullUrl(), OutputPage\getHeadLinksArray(), CssContentHandler\makeRedirectContent(), JavaScriptContentHandler\makeRedirectContent(), OutputPage\showPermissionsErrorPage(), and LoginHelper\showReturnToPage().
const RC_CATEGORIZE 6 |
RecentChange type identifiers
Definition at line 120 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), 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 116 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), ChangesFeed\buildItems(), PopulateRecentChangesSource\buildUpdateCondition(), RecentChange\diffLinkTrail(), MachineReadableRCFeedFormatter\getLine(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), CategoryChangesAsRdf\handleEdits(), ChangesList\insertRollback(), and RecentChange\notifyEdit().
const RC_EXTERNAL 5 |
RecentChange type identifiers
Definition at line 119 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 |
RecentChange type identifiers
Definition at line 118 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), PopulateRecentChangesSource\buildUpdateCondition(), MediaWiki\Deferred\LinksUpdate\LinksDeletionUpdate\doIncrementalUpdate(), SpecialWatchlist\doMainQuery(), RecentChange\doMarkPatrolled(), ApiQueryRecentChanges\extractRowInfo(), FeedUtils\formatDiff(), CategoryChangesAsRdf\getDeletedCatsIterator(), IRCColourfulRCFeedFormatter\getLine(), MachineReadableRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), CategoryChangesAsRdf\getMovedCatsIterator(), NewFilesPager\getQueryInfo(), CategoryChangesAsRdf\getRestoredCatsIterator(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), ChangesList\insertDiffHist(), EnhancedChangesList\makeCacheGroupingKey(), RCCacheEntryFactory\newFromRecentChange(), RecentChange\newLogEntry(), SpecialWatchlist\outputChangesList(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), SpecialWatchlist\registerFilters(), ApiQueryRecentChanges\run(), Article\showPatrolFooter(), and ChangesList\userCan().
const RC_NEW 1 |
RecentChange type identifiers
Definition at line 117 of file Defines.php.
Referenced by ChangesListSpecialPage\__construct(), PopulateRecentChangesSource\buildUpdateCondition(), RecentChange\doMarkPatrolled(), ApiQueryRecentChanges\extractRowInfo(), IRCColourfulRCFeedFormatter\getLine(), MachineReadableRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), ChangesList\insertDiffHist(), ChangesList\isUnpatrolled(), RecentChange\notifyNew(), MarkpatrolledAction\onSubmit(), EnhancedChangesList\recentChangesBlockLine(), and ApiQueryRecentChanges\run().
const SCHEMA_COMPAT_NEW SCHEMA_COMPAT_WRITE_NEW | SCHEMA_COMPAT_READ_NEW |
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 279 of file Defines.php.
const SCHEMA_COMPAT_OLD SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_READ_OLD |
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 277 of file Defines.php.
Referenced by ActorMigration\__construct().
const SCHEMA_COMPAT_READ_BOTH SCHEMA_COMPAT_READ_OLD | SCHEMA_COMPAT_READ_NEW |
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 276 of file Defines.php.
Referenced by CommentStore\__construct(), CommentStore\getFields(), and CommentStore\getJoin().
const SCHEMA_COMPAT_READ_MASK SCHEMA_COMPAT_READ_OLD | SCHEMA_COMPAT_READ_TEMP | SCHEMA_COMPAT_READ_NEW |
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 272 of file Defines.php.
Referenced by ActorMigrationBase\__construct().
const SCHEMA_COMPAT_READ_NEW 0x200 |
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 270 of file Defines.php.
Referenced by ActorMigrationBase\__construct(), CommentStore\getFields(), CommentStore\getJoin(), MediaWiki\Linker\LinksMigration\getQueryInfo(), MediaWiki\Linker\LinksMigration\getTitleFields(), and ActorMigrationBase\getWhere().
const SCHEMA_COMPAT_READ_OLD 0x02 |
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 266 of file Defines.php.
Referenced by ActorMigrationBase\__construct(), CommentStore\getFields(), ActorMigrationBase\getJoin(), and CommentStore\getJoin().
const SCHEMA_COMPAT_READ_TEMP 0x20 |
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 268 of file Defines.php.
Referenced by ActorMigrationBase\__construct(), ActorMigrationBase\getJoin(), ActorMigrationBase\getWhere(), ActorMigrationBase\isAnon(), and ActorMigrationBase\isNotAnon().
const SCHEMA_COMPAT_TEMP SCHEMA_COMPAT_WRITE_TEMP | SCHEMA_COMPAT_READ_TEMP |
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 278 of file Defines.php.
const SCHEMA_COMPAT_WRITE_BOTH SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_WRITE_NEW |
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 CommentStore\__construct().
const SCHEMA_COMPAT_WRITE_MASK SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_WRITE_TEMP | SCHEMA_COMPAT_WRITE_NEW |
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 271 of file Defines.php.
Referenced by ActorMigrationBase\__construct().
const SCHEMA_COMPAT_WRITE_NEW 0x100 |
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 269 of file Defines.php.
Referenced by ActorMigrationBase\__construct(), CommentStore\createComment(), MediaWiki\Deferred\LinksUpdate\GenericPageLinksTable\deleteLink(), ActorMigrationBase\getInsertValues(), ActorMigrationBase\getInsertValuesWithTempTable(), and MediaWiki\Deferred\LinksUpdate\GenericPageLinksTable\insertLink().
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 265 of file Defines.php.
Referenced by ActorMigrationBase\__construct(), MediaWiki\Deferred\LinksUpdate\GenericPageLinksTable\deleteLink(), MediaWiki\Deferred\LinksUpdate\GenericPageLinksTable\getExistingFields(), ActorMigrationBase\getInsertValues(), ActorMigrationBase\getInsertValuesWithTempTable(), CommentStore\insert(), and MediaWiki\Deferred\LinksUpdate\GenericPageLinksTable\insertLink().
const SCHEMA_COMPAT_WRITE_OLD_AND_TEMP SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_WRITE_TEMP |
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 274 of file Defines.php.
const SCHEMA_COMPAT_WRITE_TEMP 0x10 |
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 267 of file Defines.php.
Referenced by ActorMigrationBase\__construct(), ActorMigrationBase\getInsertValues(), and ActorMigrationBase\getInsertValuesWithTempTable().
const SCHEMA_COMPAT_WRITE_TEMP_AND_NEW SCHEMA_COMPAT_WRITE_TEMP | SCHEMA_COMPAT_WRITE_NEW |
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 275 of file Defines.php.
const SFH_NO_HASH 1 |
Flags for Parser::setFunctionHook Use of Parser consts is preferred:
Definition at line 171 of file Defines.php.
const SFH_OBJECT_ARGS 2 |
Flags for Parser::setFunctionHook Use of Parser consts is preferred:
Definition at line 172 of file Defines.php.
const SHELL_MAX_ARG_STRLEN '100000' |
Max string length for shell invocations; based on binfmts.h
Definition at line 247 of file Defines.php.
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 316 of file Defines.php.
const XML_DUMP_SCHEMA_VERSION_11 '0.11' |
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.