MediaWiki master
|
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 184 of file Defines.php.
const APCOND_AGE_FROM_EDIT 7 |
Autopromote conditions
Definition at line 189 of file Defines.php.
const APCOND_BLOCKED 8 |
Autopromote conditions
Definition at line 190 of file Defines.php.
const APCOND_EDITCOUNT 1 |
Autopromote conditions
Definition at line 183 of file Defines.php.
const APCOND_EMAILCONFIRMED 3 |
Autopromote conditions
Definition at line 185 of file Defines.php.
const APCOND_INGROUPS 4 |
Autopromote conditions
Definition at line 186 of file Defines.php.
const APCOND_IPINRANGE 6 |
Autopromote conditions
Definition at line 188 of file Defines.php.
const APCOND_ISBOT 9 |
Autopromote conditions
Definition at line 191 of file Defines.php.
const APCOND_ISIP 5 |
Autopromote conditions
Definition at line 187 of file Defines.php.
const AV_NO_VIRUS 0 |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 97 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_SCAN_ABORTED -1 |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 99 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_SCAN_FAILED false |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 100 of file Defines.php.
Referenced by UploadBase\detectVirus().
const AV_VIRUS_FOUND 1 |
Antivirus result codes, for use in $wgAntivirusSetup.
Definition at line 98 of file Defines.php.
const CACHE_ACCEL 3 |
Cache type
Definition at line 90 of file Defines.php.
Referenced by ObjectCacheFactory\getAnythingId().
const CACHE_ANYTHING -1 |
Cache type
Definition at line 86 of file Defines.php.
Referenced by MediaWiki\Html\TemplateParser\__construct(), ObjectCacheFactory\getAnythingId(), MediaWiki\Specials\SpecialVersion\getCreditsForExtension(), MediaWiki\Installer\Installer\getInstallerConfig(), ObjectCacheFactory\isDatabaseId(), and ObjectCache\newAnything().
const CACHE_DB 1 |
Cache type
Definition at line 88 of file Defines.php.
Referenced by ObjectCacheFactory\getAnythingId(), and MediaWiki\Installer\Installer\getInstallerConfig().
const CACHE_HASH 'hash' |
Cache type
Definition at line 91 of file Defines.php.
Referenced by MediaWiki\ResourceLoader\FileModule\compileLessString().
const CACHE_MEMCACHED 'memcached-php' |
Cache type
Definition at line 89 of file Defines.php.
Referenced by Mcc\execute(), and MediaWiki\Installer\Installer\getInstallerConfig().
const CACHE_NONE 0 |
Cache type
Definition at line 87 of file Defines.php.
Referenced by ObjectCacheFactory\getAnythingId(), MediaWiki\Installer\Installer\getInstallerConfig(), ObjectCacheFactory\getLocalServerInstance(), and MediaWiki\Installer\Installer\overrideConfig().
const CONTENT_FORMAT_CSS 'text/css' |
For CSS pages.
Definition at line 248 of file Defines.php.
Referenced by MediaWiki\Content\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 246 of file Defines.php.
Referenced by MediaWiki\Content\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 256 of file Defines.php.
Referenced by MediaWiki\Content\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 254 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 244 of file Defines.php.
Referenced by MediaWiki\Content\WikitextContentHandler\__construct().
const CONTENT_FORMAT_XML 'application/xml' |
For future use with the API, and for use by extensions.
Definition at line 258 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 230 of file Defines.php.
Referenced by MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), MediaWiki\EditPage\EditPage\getPreviewText(), MediaWiki\ResourceLoader\WikiModule\invalidateModuleCache(), MediaWiki\Title\Title\isSiteCssConfigPage(), and MediaWiki\Title\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 229 of file Defines.php.
Referenced by MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), MediaWiki\EditPage\EditPage\getPreviewText(), MediaWiki\ResourceLoader\WikiModule\invalidateModuleCache(), MediaWiki\Title\Title\isSiteJsConfigPage(), and MediaWiki\Title\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 232 of file Defines.php.
Referenced by MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), MediaWiki\EditPage\EditPage\getPreviewText(), MediaWiki\Title\Title\isSiteJsonConfigPage(), and MediaWiki\Title\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 231 of file Defines.php.
Referenced by TextSlotDiffRenderer\diff(), DifferenceEngine\generateTextDiffBody(), and MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel().
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 233 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 228 of file Defines.php.
Referenced by MediaWiki\Content\WikitextContent\__construct(), MediaWiki\Revision\MainSlotRoleHandler\__construct(), DifferenceEngineSlotDiffRenderer\__construct(), MediaWiki\Api\ApiParse\execute(), MediaWiki\Api\ApiParse\getAllowedParams(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), MediaWiki\Content\TextContent\getWikitextForTransclusion(), MediaWiki\Title\Title\isWikitextPage(), CompareParsers\processRevision(), and MediaWiki\Maintenance\TextPassDumper\startElement().
const CUDCOND_AFTER 'registered-after' |
Conditional user defaults conditions
Strings are used to make the values easier to use in extension.json
Definition at line 200 of file Defines.php.
const CUDCOND_ANON 'anonymous-user' |
Conditional user defaults conditions
Strings are used to make the values easier to use in extension.json
Definition at line 201 of file Defines.php.
const CUDCOND_NAMED 'named-user' |
Conditional user defaults conditions
Strings are used to make the values easier to use in extension.json
Definition at line 202 of file Defines.php.
const CUDCOND_USERGROUP 'usergroup' |
Conditional user defaults conditions
Strings are used to make the values easier to use in extension.json
Definition at line 203 of file Defines.php.
const EDIT_AUTOSUMMARY 64 |
Article edit flags
Definition at line 133 of file Defines.php.
Referenced by EditCLI\execute(), and McrUndoAction\onSubmit().
const EDIT_DEFER_UPDATES 32 |
Article edit flags
Definition at line 132 of file Defines.php.
const EDIT_FORCE_BOT 16 |
Article edit flags
Definition at line 131 of file Defines.php.
Referenced by MediaWiki\Content\ContentModelChange\doContentModelChange(), EditCLI\execute(), and MediaWiki\Page\RollbackPage\rollback().
const EDIT_INTERNAL 128 |
Article edit flags
Definition at line 134 of file Defines.php.
Referenced by MediaWiki\Content\ContentModelChange\doContentModelChange(), MediaWiki\Storage\PageEditStash\parseAndCache(), MediaWiki\Page\RollbackPage\rollback(), and DoubleRedirectJob\run().
const EDIT_MINOR 4 |
Article edit flags
Definition at line 129 of file Defines.php.
Referenced by EditCLI\execute(), MediaWiki\Page\RollbackPage\rollback(), DoubleRedirectJob\run(), and MediaWiki\Storage\PageUpdater\saveRevision().
const EDIT_NEW 1 |
Article edit flags
Definition at line 127 of file Defines.php.
Referenced by WikiPage\checkFlags(), MediaWiki\Content\ContentModelChange\doContentModelChange(), and MediaWiki\Storage\PageUpdater\saveRevision().
const EDIT_SUPPRESS_RC 8 |
Article edit flags
Definition at line 130 of file Defines.php.
Referenced by EditCLI\execute(), and DoubleRedirectJob\run().
const EDIT_UPDATE 2 |
Article edit flags
Definition at line 128 of file Defines.php.
Referenced by WikiPage\checkFlags(), MediaWiki\Content\ContentModelChange\doContentModelChange(), 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 44 of file Defines.php.
Referenced by MediaWiki\Block\DatabaseBlockStore\getRangeCond().
const LIST_COMMA IDatabase::LIST_COMMA |
Obsolete IDatabase::makeList() constants These are also available as Database class constants
Definition at line 43 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 46 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 47 of file Defines.php.
Referenced by MediaWiki\Block\DatabaseBlockStore\newListFromIPs().
const LIST_SET IDatabase::LIST_SET |
Obsolete IDatabase::makeList() constants These are also available as Database class constants
Definition at line 45 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 323 of file Defines.php.
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 320 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 321 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 322 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 107 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 109 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 111 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 108 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 110 of file Defines.php.
const MW_EDITFILTERMERGED_SUPPORTS_API 1 |
Hook support constants
Definition at line 143 of file Defines.php.
const MW_HAS_SPECIAL_INTERWIKI 1 |
Indicate that the Interwiki extension should not be loaded (it is now in core).
Definition at line 153 of file Defines.php.
const MW_SUPPORTS_CONTENTHANDLER 1 |
Hook support constants
Definition at line 142 of file Defines.php.
const MW_SUPPORTS_LOCALISATIONCACHE 1 |
Hook support constants
Definition at line 141 of file Defines.php.
const MW_SUPPORTS_PARSERFIRSTCALLINIT 1 |
Hook support constants
Definition at line 140 of file Defines.php.
const MW_SUPPORTS_RESOURCE_MODULES 1 |
Support for $wgResourceModules.
Definition at line 147 of file Defines.php.
const MW_VERSION '1.44.0-alpha' |
The running version of MediaWiki.
This replaces the $wgVersion global found in earlier versions. When updating the XX part of 1.XX.YY, please remember to also bump the stand-alone duplicate of this in PHPVersionCheck.
Definition at line 37 of file Defines.php.
Referenced by MediaWiki\Installer\Pingback\__construct(), MediaWiki\Logger\Monolog\WikiProcessor\__invoke(), MediaWiki\Api\ApiQuerySiteinfo\appendGeneralInfo(), MediaWiki\Installer\WebInstallerUpgrade\execute(), DumpMessages\execute(), UpdateMediaWiki\execute(), MediaWiki\Maintenance\Version\execute(), MediaWiki\Debug\MWDebug\getDebugInfo(), MediaWiki\Installer\WebInstallerReleaseNotes\getFileName(), MediaWiki\Installer\WebInstaller\getFingerprint(), MediaWiki\Output\OutputPage\getHeadLinksArray(), MediaWiki\Http\HttpRequestFactory\getUserAgent(), MediaWiki\Specials\SpecialVersion\getVersion(), MediaWiki\Specials\SpecialVersion\getVersionLinked(), MediaWiki\Feed\AtomFeed\outHeader(), MediaWiki\Feed\RSSFeed\outHeader(), and MediaWiki\Installer\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 79 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Pager\CategoryPager\__construct(), MediaWiki\Specials\SpecialUncategorizedCategories\__construct(), MediaWiki\Output\OutputPage\addCategoryLinks(), MediaWiki\Output\OutputPage\addCategoryLinksToLBAndGetResult(), Skin\buildNavUrls(), MediaWiki\Parser\Parsoid\Config\SiteConfig\categoryRegexp(), BenchmarkTitleValue\constructTitle(), BenchmarkTitleValue\constructTitleSafe(), BenchmarkTitleValue\constructTitleValue(), MediaWiki\Category\CategoryViewer\doCategoryQuery(), MediaWiki\Deferred\LinksUpdate\LinksDeletionUpdate\doIncrementalUpdate(), MediaWiki\Specials\SpecialRecentChangesLinked\doMainQuery(), MediaWiki\Parser\LinkHolderArray\doVariants(), MediaWiki\Api\ApiQueryCategoryInfo\execute(), RefreshLinks\execute(), MediaWiki\Specials\SpecialMostLinkedCategories\formatResult(), MediaWiki\Specials\SpecialUncategorizedCategories\formatResult(), MediaWiki\Specials\SpecialUnusedCategories\formatResult(), MediaWiki\Pager\CategoryPager\formatRow(), MediaWiki\Search\SearchWidgets\FullSearchResultWidget\generateSizeHtml(), MediaWiki\Pager\CategoryPager\getBody(), WikiPage\getCategories(), Skin\getCategories(), DumpCategoriesAsRdf\getCategoryIterator(), Skin\getCategoryLinks(), MediaWiki\Title\NamespaceInfo\getCategoryLinkType(), CategoryChangesAsRdf\getChangedCatsIterator(), CategoryChangesAsRdf\getDeletedCatsIterator(), WikiFilePage\getForeignCategories(), MediaWiki\Specials\SpecialRandomInCategory\getFormFields(), WikiPage\getHiddenCategories(), MediaWiki\Parser\ParserOutput\getLinkList(), CategoryChangesAsRdf\getMovedCatsIterator(), CategoryChangesAsRdf\getNewCatsIterator(), MediaWiki\Specials\SpecialWantedFiles\getPageHeader(), MediaWiki\Title\Title\getParentCategories(), MediaWiki\Specials\SpecialMostLinkedCategories\getQueryInfo(), MediaWiki\Specials\SpecialUnusedCategories\getQueryInfo(), MediaWiki\Specials\SpecialWantedCategories\getQueryInfo(), CategoryChangesAsRdf\getRestoredCatsIterator(), MediaWiki\Pager\CategoryPager\getStartForm(), CategoryChangesAsRdf\handleCategorization(), CategoryChangesAsRdf\handleMoves(), MediaWiki\Category\CategoriesRdf\labelToUrl(), MediaWiki\Content\WikitextContentHandler\makeRedirectContent(), MediaWiki\Category\Category\newFromName(), CategoryMembershipChangeJob\notifyUpdatesForRevision(), WikiPage\onArticleCreate(), MediaWiki\Specials\SpecialRandomInCategory\onSubmit(), MediaWiki\Parser\CoreParserFunctions\pagesincategory(), MediaWiki\Category\Category\refreshCounts(), MediaWiki\Deferred\LinksUpdate\CategoryLinksTable\setParserOutput(), MediaWiki\Title\Title\touchLinks(), CategoryPage\view(), MediaWiki\Category\CategoriesRdf\writeCategoryData(), and MediaWiki\Category\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 80 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 71 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), FileRepo\__construct(), MediaWiki\Api\ApiQueryAllLinks\__construct(), MediaWiki\Specials\SpecialWhatLinksHere\alterForm(), RevertAction\checkCanExecute(), FindOrphanedFiles\checkFiles(), LocalRepo\checkRedirect(), MediaWiki\Specials\SpecialRedirect\dispatchFile(), MediaWiki\Pager\ImageListPager\doBatchLookups(), MediaWiki\Category\CategoryViewer\doCategoryQuery(), MediaWiki\Specials\SpecialRecentChangesLinked\doMainQuery(), MediaWiki\Specials\SpecialFileDuplicateSearch\execute(), MediaWiki\Specials\SpecialUndelete\execute(), MediaWiki\Api\ApiDelete\execute(), MediaWiki\Api\ApiMove\execute(), MediaWiki\Api\ApiQueryFilearchive\execute(), MediaWiki\Api\ApiQueryImageInfo\execute(), MediaWiki\FileRepo\AuthenticatedFileEntryPoint\execute(), DeleteBatch\execute(), FindMissingFiles\execute(), ImportImages\execute(), UppercaseTitlesForUnicodeTransition\execute(), ForeignAPIRepo\findBySha1(), FileRepo\findFile(), LocalRepo\findFiles(), WikiFilePage\followRedirect(), MediaWiki\Pager\NewFilesPager\formatRow(), MediaWiki\Pager\ImageListPager\formatValue(), MediaWiki\Search\SearchWidgets\FullSearchResultWidget\generateFileHtml(), MediaWiki\Title\NamespaceInfo\getCategoryLinkType(), MediaWiki\Content\FileContentHandler\getDataForSearchIndex(), MediaWiki\Content\WikitextContentHandler\getDataForSearchIndex(), Skin\getDefaultModules(), MediaWiki\Title\Title\getDeletedEditsCount(), ForeignDBFile\getDescriptionShortUrl(), ForeignDBFile\getDescriptionText(), MediaWiki\Parser\ParserOutput\getLinkList(), FileRepo\getNameFromTitle(), MediaWiki\Search\TitleMatcher\getNearMatchInternal(), MediaWiki\Pager\NewFilesPager\getQueryInfo(), MediaWiki\Specials\SpecialListDuplicatedFiles\getQueryInfo(), MediaWiki\Specials\SpecialMIMESearch\getQueryInfo(), MediaWiki\Specials\SpecialMostImages\getQueryInfo(), MediaWiki\Specials\SpecialUncategorizedImages\getQueryInfo(), MediaWiki\Specials\SpecialUnusedImages\getQueryInfo(), MediaWiki\Specials\SpecialWantedFiles\getQueryInfo(), File\getRedirectedTitle(), MediaWiki\Specials\SpecialSearch\getSearchProfiles(), UploadBase\getTitle(), MediaWiki\Specials\SpecialUpload\getUploadForm(), MediaWiki\Specials\SpecialUpload\getWatchCheck(), MediaWiki\Title\Title\hasDeletedEdits(), SearchHighlighter\highlightText(), ImagePage\imageLinks(), initFromTitle(), MediaWiki\Title\Title\isAlwaysKnown(), MediaWiki\Title\NamespaceInfo\isCapitalized(), MediaWiki\Page\MovePage\isValidFileMove(), MediaWiki\Page\MovePage\isValidMove(), MediaWiki\Page\MovePage\isValidMoveTarget(), PageArchive\listFiles(), ArchivedFile\load(), ArchivedFile\loadFromRow(), MediaWiki\Linker\Linker\makeBrokenImageLinkObj(), MediaWiki\Linker\Linker\makeThumbLink2(), ArchivedFile\newFromRow(), LocalFile\newFromRow(), OldLocalFile\newFromRow(), Article\newFromTitle(), File\normalizeTitle(), MediaWiki\SpecialPage\ImageQueryPage\outputResults(), MediaWiki\Actions\ActionEntryPoint\parseTitle(), MediaWiki\Specials\SpecialFileDuplicateSearch\prefixSearchSubpages(), MediaWiki\Specials\SpecialFilepath\prefixSearchSubpages(), CleanupImages\processRow(), TitleCleanup\processRow(), PurgeChangedFiles\purgeFromLogType(), MediaWiki\Deferred\LinksUpdate\LinksUpdate\queueRecursiveJobs(), MediaWiki\Category\Category\refreshCounts(), MediaWiki\Search\SearchWidgets\FullSearchResultWidget\render(), MediaWiki\Parser\Parser\renderImageGallery(), PrefixSearch\searchBackend(), MediaWiki\Preferences\DefaultPreferencesFactory\searchPreferences(), Article\showPatrolFooter(), MediaWiki\Specials\SpecialSearch\showResults(), MediaWiki\Specials\SpecialUpload\showUploadStatus(), MediaWiki\Specials\SpecialUpload\showUploadWarning(), MediaWiki\Search\SearchWidgets\SearchFormWidget\startsWithImage(), MediaWiki\FileRepo\ThumbnailEntryPoint\streamThumb(), TraditionalImageGallery\toHTML(), MediaWiki\Page\RedirectStore\updateRedirectTarget(), MediaWiki\Parser\CoreParserFunctions\urlFunction(), MediaWiki\Api\ApiFileRevert\validateParameters(), ImagePage\view(), 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 72 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 77 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 78 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 65 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Title\TitleValue\assertValidSpec(), MediaWiki\Api\buildCommonApiParams(), MediaWiki\Title\NamespaceInfo\canHaveTalkPage(), MediaWiki\Language\LanguageConverter\convertNamespace(), PrefixSearch\defaultSearchBackend(), MediaWiki\SpecialPage\ContributionsSpecialPage\execute(), MediaWiki\Specials\SpecialExport\execute(), MediaWiki\Specials\SpecialLog\execute(), MediaWiki\Specials\SpecialWithoutInterwiki\execute(), UppercaseTitlesForUnicodeTransition\execute(), GrepPages\findPages(), MediaWiki\Language\LanguageConverter\findVariantLink(), MediaWiki\Api\ApiQueryAllPages\getAllowedParams(), MediaWiki\Api\ApiQueryDeletedrevs\getAllowedParams(), MediaWiki\Title\NamespaceInfo\getCanonicalNamespaces(), MediaWiki\Title\NamespaceInfo\getContentNamespaces(), MediaWiki\Category\CategoriesRdf\getDumpURI(), MediaWiki\Linker\Linker\getInvalidTitleDescription(), Skin\getLanguages(), EditWatchlistNormalHTMLForm\getLegend(), MediaWiki\Parser\ParserOutput\getLinkList(), BlockLogFormatter\getMessageParameters(), MediaWiki\Specials\SpecialEditWatchlist\getNormalForm(), MediaWiki\Title\Title\getNsText(), MediaWiki\Specials\SpecialWantedFiles\getPageHeader(), MediaWiki\Title\NamespaceInfo\getSubject(), MediaWiki\User\User\getTokenUrl(), MediaWiki\User\ExternalUserNames\getUserLinkTitle(), MediaWiki\Specials\SpecialSearch\goResult(), MediaWiki\Title\NamespaceInfo\hasTalkNamespace(), MediaWiki\EditPage\TextConflictHelper\incrementConflictStats(), MediaWiki\EditPage\TextConflictHelper\incrementResolvedStats(), MediaWiki\Parser\CoreParserFunctions\interlanguagelink(), MediaWiki\Parser\CoreParserFunctions\interwikilink(), MediaWiki\Title\Title\isAlwaysKnown(), MediaWiki\Title\NamespaceInfo\isContent(), MediaWiki\Title\NamespaceInfo\isMovable(), MediaWiki\Title\NamespaceInfo\isTalk(), MediaWiki\Title\NamespaceInfo\isWatchable(), MediaWiki\Actions\ActionEntryPoint\maybeDoHttpsRedirect(), MediaWiki\Html\Html\namespaceSelectorOptions(), MediaWiki\Title\Title\newFromTextThrow(), MediaWiki\Title\Title\newMainPage(), SearchEngine\parseNamespacePrefixes(), BenchmarkTitleValue\parseTitleValue(), SearchExactMatchRescorer\rescore(), SearchEngineConfig\searchableNamespaces(), MediaWiki\Preferences\DefaultPreferencesFactory\searchPreferences(), MediaWiki\Specials\SpecialRandomPage\setNamespace(), WikiImporter\setTargetRootPage(), MediaWiki\Specials\SpecialPrefixIndex\showPrefixChunk(), and MediaWiki\Title\MediaWikiTitleCodec\splitTitleString().
const NS_MEDIA -2 |
Virtual namespaces; don't appear in the page database
Definition at line 53 of file Defines.php.
Referenced by MediaWiki\Api\ApiQueryLogEvents\getAllowedParams(), MediaWiki\Api\ApiQueryAllLinks\getAllowedParams(), MediaWiki\Api\ApiQueryLinks\getAllowedParams(), MediaWiki\Api\ApiQueryRecentChanges\getAllowedParams(), MediaWiki\Search\TitleMatcher\getNearMatchInternal(), MediaWiki\Specials\SpecialMediaStatistics\getQueryInfo(), MediaWiki\Title\Title\isAlwaysKnown(), MediaWiki\Title\NamespaceInfo\isCapitalized(), File\normalizeTitle(), MediaWiki\Actions\ActionEntryPoint\parseTitle(), PrefixSearch\searchBackend(), and MediaWiki\Parser\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 73 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Pager\AllMessagesTablePager\__construct(), MediaWiki\Api\ApiFormatXml\addXslt(), WikiPage\doPurge(), MediaWiki\Api\ApiEditPage\execute(), DeleteDefaultMessages\execute(), DeleteEqualMessages\execute(), ImportSiteScripts\execute(), NukeNS\execute(), MediaWiki\Pager\AllMessagesTablePager\formatValue(), MediaWiki\Pager\AllMessagesTablePager\getCustomisedStatuses(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), MediaWiki\Search\TitleMatcher\getNearMatchInternal(), MediaWiki\Content\ContentHandler\getPageLanguage(), MediaWiki\Content\ContentHandler\getPageViewLanguage(), MediaWiki\Specials\SpecialUnwatchedPages\getQueryInfo(), MediaWiki\Specials\SpecialWantedPages\getQueryInfo(), MediaWiki\Message\Message\getTitle(), MediaWiki\Languages\LanguageEventIngress\handlePageUpdatedEventAfterCommit(), MediaWiki\Title\Title\hasSourceText(), MediaWiki\Title\Title\isAlwaysKnown(), MediaWiki\Title\Title\isConversionTable(), MediaWiki\Title\Title\isRawHtmlMessage(), MediaWiki\Title\Title\isSiteCssConfigPage(), MediaWiki\Title\Title\isSiteJsConfigPage(), MediaWiki\Title\Title\isSiteJsonConfigPage(), ChangeTags\isTagNameValid(), WikiPage\onArticleDelete(), RawAction\onView(), MessageCache\refreshAndReplaceInternal(), MediaWiki\EditPage\EditPage\setHeaders(), MediaWiki\EditPage\EditPage\showDiff(), Article\showMissingArticle(), MediaWiki\Parser\Parser\statelessFetchTemplate(), and MediaWiki\Language\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 74 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), DeleteEqualMessages\execute(), MediaWiki\Pager\AllMessagesTablePager\formatValue(), and MediaWiki\Pager\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 69 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Specials\SpecialListGroupRights\execute(), MediaWiki\Specials\SpecialPasswordPolicies\execute(), MediaWiki\Language\Language\getNamespaces(), MediaWiki\Installer\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 70 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Language\Language\getNamespaceAliases(), and MediaWiki\Language\Language\getNamespaces().
const NS_SPECIAL -1 |
Virtual namespaces; don't appear in the page database
Definition at line 54 of file Defines.php.
Referenced by Job\__construct(), JobSpecification\__construct(), MediaWiki\Parser\Parser\__construct(), MediaWiki\Output\OutputPage\buildBacklinkSubtitle(), SearchEngine\completionSearchBackend(), TrivialLanguageConverter\convertSplitTitle(), PrefixSearch\defaultSearchBackend(), MediaWiki\Parser\LinkHolderArray\doVariants(), MediaWiki\Api\ApiEntryPoint\execute(), MediaWiki\Title\Title\fixSpecialName(), MediaWiki\Search\SearchWidgets\InterwikiSearchResultSetWidget\footerHtml(), MediaWiki\Title\MediaWikiTitleCodec\formatTitle(), MediaWiki\Api\ApiQueryLogEvents\getAllowedParams(), MediaWiki\Api\ApiQueryAllLinks\getAllowedParams(), MediaWiki\Api\ApiQueryLinks\getAllowedParams(), MediaWiki\Api\ApiQueryRecentChanges\getAllowedParams(), MediaWiki\Api\ApiErrorFormatter\getDummyTitle(), MediaWiki\Status\StatusFormatter\getHTML(), MediaWiki\Output\OutputPage\getJSVars(), MediaWiki\RCFeed\IRCColourfulRCFeedFormatter\getLine(), MediaWiki\Parser\ParserOutput\getLinkList(), JobQueueRedis\getNewJobFields(), MediaWiki\SpecialPage\SpecialPage\getSafeTitleFor(), MediaWiki\Parser\Parsoid\Config\SiteConfig\getSpecialNSAliases(), DifferenceEngine\getTitle(), RecentChange\getTitle(), MediaWiki\SpecialPage\SpecialPage\getTitleValueFor(), MediaWiki\Search\SearchWidgets\InterwikiSearchResultSetWidget\headerHtml(), JobQueueDB\insertFields(), MediaWiki\Title\Title\isAlwaysKnown(), MediaWiki\Title\Title\isSpecialPage(), MediaWiki\Linker\LinkRenderer\makeBrokenLink(), MediaWiki\Title\Title\makeName(), MediaWiki\Linker\LinkRenderer\normalizeTarget(), MessageCache\parse(), MediaWiki\Api\ApiPageSet\populateGeneratorData(), PatrolLog\record(), MediaWiki\Parser\LinkHolderArray\replaceInternal(), PrefixSearch\searchBackend(), MediaWiki\Parser\Parser\setPage(), MediaWiki\Parser\CoreParserFunctions\special(), PrefixSearch\specialSearch(), and MediaWiki\Title\MediaWikiTitleCodec\splitTitleString().
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 66 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), and MediaWiki\Title\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 75 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Api\ApiQueryAllLinks\__construct(), MediaWiki\Specials\SpecialUncategorizedTemplates\__construct(), MediaWiki\Parser\Parser\braceSubstitution(), MediaWiki\Specials\SpecialUnusedTemplates\formatResult(), MediaWiki\Specials\SpecialUnusedTemplates\getQueryInfo(), and MediaWiki\Specials\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 76 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 67 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Pager\ImageListPager\__construct(), MediaWiki\Pager\UsersPager\__construct(), MediaWiki\Pager\ActiveUsersPager\__construct(), MediaWiki\Specials\SpecialUserRights\addLogEntry(), MediaWiki\SpecialPage\ContributionsSpecialPage\contributionsSub(), MediaWiki\Pager\HistoryPager\doBatchLookups(), MediaWiki\Pager\LogPager\doBatchLookups(), MediaWiki\Pager\ImageListPager\doBatchLookups(), MediaWiki\Pager\MergeHistoryPager\doBatchLookups(), MediaWiki\Pager\NewFilesPager\doBatchLookups(), MediaWiki\Pager\NewPagesPager\doBatchLookups(), MediaWiki\Pager\UsersPager\doBatchLookups(), MediaWiki\Cache\UserCache\doQuery(), MediaWiki\SpecialPage\ContributionsSpecialPage\execute(), MediaWiki\Specials\SpecialLog\execute(), MediaWiki\Specials\SpecialRenameUser\execute(), MediaWiki\Specials\SpecialUnblock\execute(), MediaWiki\SpecialPage\ChangesListSpecialPage\execute(), MediaWiki\Api\ApiBlock\execute(), MediaWiki\Api\ApiQueryAllUsers\execute(), MediaWiki\Api\ApiUnblock\execute(), MediaWiki\Api\ApiUserrights\execute(), RenameUsersMatchingPattern\execute(), LanguageConverterSpecific\findVariantLink(), MediaWiki\Specials\SpecialNewPages\form(), MediaWiki\Specials\SpecialMIMESearch\formatResult(), MediaWiki\Pager\NewFilesPager\formatRow(), MediaWiki\Parser\CoreParserFunctions\gender(), MediaWiki\Preferences\DefaultPreferencesFactory\generateSkinOptions(), ImageHistoryPseudoPager\getBody(), MediaWiki\User\UserNameUtils\getCanonical(), MediaWiki\Revision\MainSlotRoleHandler\getDefaultModel(), MediaWiki\Specials\SpecialUnblock\getFields(), RenameuserLogFormatter\getMessageParameters(), MediaWiki\Search\TitleMatcher\getNearMatchInternal(), MediaWiki\ResourceLoader\UserModule\getPages(), MediaWiki\ResourceLoader\UserStylesModule\getPages(), RenameuserLogFormatter\getPreloadTitles(), MediaWiki\Pager\ActiveUsersPager\getQueryInfo(), MediaWiki\Pager\NewPagesPager\getQueryInfo(), MediaWiki\Specials\SpecialWantedPages\getQueryInfo(), MediaWiki\Specials\Redirects\SpecialMypage\getRedirect(), Skin\getRelevantUser(), Article\getRobotPolicy(), MediaWiki\Specials\SpecialBlock\getTargetUserTitle(), MediaWiki\User\ExternalUserNames\getUserLinkTitle(), MediaWiki\User\User\getUserPage(), MediaWiki\Title\NamespaceInfo\hasGenderDistinction(), MediaWiki\Title\Title\isUserCssConfigPage(), MediaWiki\Title\Title\isUserJsConfigPage(), MediaWiki\Title\Title\isUserJsonConfigPage(), MediaWiki\Language\Language\needsGenderDistinction(), MediaWiki\Pager\BlockListPager\preprocessResults(), MediaWiki\Pager\ProtectedPagesPager\preprocessResults(), MediaWiki\RenameUser\RenameuserSQL\rename(), MediaWiki\Specials\SpecialUserRights\saveUserGroups(), MediaWiki\Specials\SpecialUserRights\showLogFragment(), Article\showMissingArticle(), MediaWiki\Preferences\DefaultPreferencesFactory\skinPreferences(), MediaWiki\Title\MediaWikiTitleCodec\splitTitleString(), RecentChangesUpdateJob\updateActiveUsers(), and MediaWiki\Linker\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 68 of file Defines.php.
Referenced by DumpNamespaceFilter\__construct(), MediaWiki\Block\BlockUser\__construct(), EmailNotification\actuallyNotifyOnPageChange(), MediaWiki\Block\AbstractBlock\appliesToUsertalk(), MediaWiki\Watchlist\WatchlistManager\clearTitleUserNotifications(), MediaWiki\Pager\HistoryPager\doBatchLookups(), MediaWiki\Pager\LogPager\doBatchLookups(), MediaWiki\Pager\ImageListPager\doBatchLookups(), MediaWiki\Pager\MergeHistoryPager\doBatchLookups(), MediaWiki\Pager\NewPagesPager\doBatchLookups(), MediaWiki\Pager\UsersPager\doBatchLookups(), MediaWiki\Cache\UserCache\doQuery(), MediaWiki\Storage\DerivedPageDataUpdater\doUpdates(), MediaWiki\SpecialPage\ChangesListSpecialPage\execute(), LanguageConverterSpecific\findVariantLink(), ImageHistoryPseudoPager\getBody(), NewUsersLogFormatter\getPreloadTitles(), MediaWiki\Specials\SpecialWantedPages\getQueryInfo(), MediaWiki\Specials\Redirects\SpecialMytalk\getRedirect(), Article\getRobotPolicy(), MediaWiki\Title\NamespaceInfo\hasGenderDistinction(), MediaWiki\Language\Language\needsGenderDistinction(), WikiPage\onArticleDelete(), MediaWiki\Pager\BlockListPager\preprocessResults(), MediaWiki\Pager\ProtectedPagesPager\preprocessResults(), Article\showMissingArticle(), Article\showViewFooter(), MediaWiki\Title\MediaWikiTitleCodec\splitTitleString(), and MediaWiki\Linker\Linker\userTalkLink().
const OT_HTML 1 |
Allowed values for Parser::$mOutputType Parameter to Parser::startExternalParse(). Use of Parser consts is preferred:
Definition at line 164 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 167 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 166 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 165 of file Defines.php.
const PROTO_CANONICAL 1 |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 216 of file Defines.php.
Referenced by DumpCategoriesAsRdf\addDumpHeader(), MediaWiki\Api\ApiEntryPoint\execute(), MediaWiki\Api\ApiQueryExternalLinks\execute(), MediaWiki\Title\Title\getCanonicalURL(), File\getCanonicalUrl(), GenerateSitemap\main(), UserMailer\sendInternal(), and File\transform().
const PROTO_CURRENT PROTO_FALLBACK |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 215 of file Defines.php.
Referenced by MediaWiki\Api\ApiQuerySiteinfo\appendGeneralInfo(), MediaWiki\Api\ApiQuerySiteinfo\appendInterwikiMap(), MediaWiki\Api\ApiQuerySiteinfo\appendRightsInfo(), MediaWiki\Specials\SpecialUserLogin\beforeExecute(), MediaWiki\Specials\SpecialRedirect\dispatchUser(), MediaWiki\Specials\SpecialApiHelp\execute(), MediaWiki\Api\ApiQueryIWLinks\execute(), MediaWiki\Api\ApiQueryLangLinks\execute(), MediaWiki\Search\SearchWidgets\InterwikiSearchResultSetWidget\generateIconFromFavicon(), RevertAction\getFormFields(), MediaWiki\Api\ApiQueryImageInfo\getInfo(), MediaWiki\Api\ApiPageSet\getInterwikiTitlesAsResult(), MediaWiki\Api\ApiRsd\getRsdApiList(), MediaWiki\Feed\FeedItem\getUniqueIdUnescaped(), RevertAction\onSuccess(), MediaWiki\Feed\AtomFeed\outHeader(), MediaWiki\Feed\RSSFeed\outHeader(), MediaWiki\Feed\AtomFeed\outItem(), MediaWiki\Feed\RSSFeed\outItem(), MediaWiki\Output\OutputPage\output(), and SearchSuggestion\setSuggestedTitle().
const PROTO_FALLBACK null |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 213 of file Defines.php.
const PROTO_HTTP 'http://' |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 210 of file Defines.php.
Referenced by MWHttpRequest\__construct(), MediaWiki\Utils\UrlUtils\__construct(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), MediaWiki\Request\WebRequest\getFullRequestURL(), MediaWiki\Title\Title\getInternalURL(), ForeignAPIRepo\httpGet(), and LoginHelper\showReturnToPage().
const PROTO_HTTPS 'https://' |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 211 of file Defines.php.
Referenced by MediaWiki\SpecialPage\SpecialPage\checkLoginSecurityLevel(), MediaWiki\Linker\LinkRendererFactory\createFromLegacyOptions(), MediaWiki\SpecialPage\LoginSignupSpecialPage\execute(), MediaWiki\Specials\SpecialLinkAccounts\execute(), MediaWiki\Specials\SpecialUnlinkAccounts\execute(), MediaWiki\Request\WebRequest\getFullRequestURL(), MediaWiki\SpecialPage\AuthManagerSpecialPage\handleReauthBeforeExecute(), MediaWiki\SpecialPage\AuthManagerSpecialPage\handleReturnBeforeExecute(), MediaWiki\SpecialPage\AuthManagerSpecialPage\performAuthenticationStep(), MediaWiki\MediaWikiEntryPoint\shouldDoHttpRedirect(), and LoginHelper\showReturnToPage().
const PROTO_INTERNAL 2 |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 217 of file Defines.php.
Referenced by MediaWiki\Request\WebRequest\matchURLForCDN().
const PROTO_RELATIVE '//' |
Protocol constants for UrlUtils::expand() PROTO_FALLBACK is
Definition at line 212 of file Defines.php.
Referenced by MediaWiki\Api\ApiQuerySiteinfo\appendGeneralInfo(), MediaWiki\Linker\Linker\expandLocalLinks(), MediaWiki\Parser\CoreParserFunctions\filepath(), MediaWiki\Specials\SpecialVersion\getEntryPointInfo(), File\getFullUrl(), MediaWiki\Output\OutputPage\getHeadLinksArray(), MediaWiki\Content\CssContentHandler\makeRedirectContent(), MediaWiki\Content\JavaScriptContentHandler\makeRedirectContent(), MediaWiki\Output\OutputPage\showPermissionInternal(), and LoginHelper\showReturnToPage().
const RC_CATEGORIZE 6 |
RecentChange type identifiers
Definition at line 121 of file Defines.php.
Referenced by MediaWiki\SpecialPage\ChangesListSpecialPage\__construct(), EnhancedChangesList\getDiffHistLinks(), MediaWiki\RCFeed\IRCColourfulRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), EnhancedChangesList\getLogText(), MediaWiki\Pager\ActiveUsersPager\getQueryInfo(), MediaWiki\Watchlist\WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), CategoryChangesAsRdf\handleCategorization(), ChangesList\insertDiffHist(), ChangesList\isCategorizationWithoutRevision(), RecentChange\newForCategorization(), MediaWiki\Specials\SpecialRecentChanges\outputChangesList(), MediaWiki\Specials\SpecialWatchlist\outputChangesList(), EnhancedChangesList\recentChangesBlockLine(), and RecentChange\save().
const RC_EDIT 0 |
RecentChange type identifiers
Definition at line 117 of file Defines.php.
Referenced by MediaWiki\SpecialPage\ChangesListSpecialPage\__construct(), ChangesFeed\buildItems(), RecentChange\diffLinkTrail(), MediaWiki\RCFeed\MachineReadableRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), MediaWiki\Revision\RevisionStore\getRecentChange(), MediaWiki\Watchlist\WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), CategoryChangesAsRdf\handleEdits(), and RecentChange\notifyEdit().
const RC_EXTERNAL 5 |
RecentChange type identifiers
Definition at line 120 of file Defines.php.
Referenced by ChangesFeed\buildItems(), MediaWiki\Deferred\SiteStatsUpdate\cacheUpdate(), MediaWiki\Api\ApiQueryAllUsers\execute(), MediaWiki\Pager\ActiveUsersPager\getQueryInfo(), MediaWiki\Watchlist\WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), RecentChange\notifyRCFeeds(), and RecentChangesUpdateJob\updateActiveUsers().
const RC_LOG 3 |
RecentChange type identifiers
Definition at line 119 of file Defines.php.
Referenced by MediaWiki\SpecialPage\ChangesListSpecialPage\__construct(), MediaWiki\Deferred\LinksUpdate\LinksDeletionUpdate\doIncrementalUpdate(), MediaWiki\Specials\SpecialWatchlist\doMainQuery(), MediaWiki\Api\ApiQueryRecentChanges\extractRowInfo(), MediaWiki\Feed\FeedUtils\formatDiff(), CategoryChangesAsRdf\getDeletedCatsIterator(), MediaWiki\RCFeed\IRCColourfulRCFeedFormatter\getLine(), MediaWiki\RCFeed\MachineReadableRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), CategoryChangesAsRdf\getMovedCatsIterator(), RecentChange\getNotifyUrl(), MediaWiki\Pager\NewFilesPager\getQueryInfo(), MediaWiki\Revision\RevisionStore\getRecentChange(), CategoryChangesAsRdf\getRestoredCatsIterator(), MediaWiki\Watchlist\WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), ChangesList\insertDiffHist(), EnhancedChangesList\makeCacheGroupingKey(), RCCacheEntryFactory\newFromRecentChange(), RecentChange\newLogEntry(), MediaWiki\Specials\SpecialWatchlist\outputChangesList(), EnhancedChangesList\recentChangesBlockGroup(), EnhancedChangesList\recentChangesBlockLine(), MediaWiki\Specials\SpecialWatchlist\registerFilters(), MediaWiki\RenameUser\RenameuserSQL\rename(), MediaWiki\Api\ApiQueryRecentChanges\run(), Article\showPatrolFooter(), and ChangesList\userCan().
const RC_NEW 1 |
RecentChange type identifiers
Definition at line 118 of file Defines.php.
Referenced by MediaWiki\SpecialPage\ChangesListSpecialPage\__construct(), MediaWiki\Api\ApiQueryRecentChanges\extractRowInfo(), MediaWiki\RCFeed\IRCColourfulRCFeedFormatter\getLine(), MediaWiki\RCFeed\MachineReadableRCFeedFormatter\getLine(), EnhancedChangesList\getLineData(), RecentChange\getNotifyUrl(), MediaWiki\Revision\RevisionStore\getRecentChange(), MediaWiki\Watchlist\WatchedItemQueryService\getWatchedItemsWithRecentChangeInfo(), ChangesList\insertDiffHist(), ChangesList\isUnpatrolled(), RecentChange\notifyNew(), MarkpatrolledAction\onSubmit(), EnhancedChangesList\recentChangesBlockLine(), MediaWiki\Api\ApiQueryRecentChanges\run(), and Article\showPatrolFooter().
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 296 of file Defines.php.
Referenced by MediaWiki\User\ActorMigration\__construct(), MediaWiki\Block\DatabaseBlockStore\getReadStage(), and MediaWiki\Block\DatabaseBlockStore\getWriteStage().
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 294 of file Defines.php.
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 293 of file Defines.php.
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 289 of file Defines.php.
Referenced by MediaWiki\User\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 287 of file Defines.php.
Referenced by MediaWiki\User\ActorMigrationBase\__construct(), MediaWiki\User\ActorMigrationBase\getWhere(), MediaWiki\User\ActorMigrationBase\isAnon(), and MediaWiki\User\ActorMigrationBase\isNotAnon().
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 283 of file Defines.php.
Referenced by MediaWiki\User\ActorMigrationBase\__construct(), and MediaWiki\User\ActorMigrationBase\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 285 of file Defines.php.
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 295 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 290 of file Defines.php.
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 288 of file Defines.php.
Referenced by MediaWiki\User\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 286 of file Defines.php.
Referenced by MediaWiki\User\ActorMigrationBase\__construct(), MediaWiki\Deferred\LinksUpdate\GenericPageLinksTable\deleteLink(), MediaWiki\User\ActorMigrationBase\getInsertValues(), 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 282 of file Defines.php.
Referenced by MediaWiki\User\ActorMigrationBase\__construct(), MediaWiki\Deferred\LinksUpdate\GenericPageLinksTable\deleteLink(), MediaWiki\Deferred\LinksUpdate\GenericPageLinksTable\getExistingFields(), MediaWiki\User\ActorMigrationBase\getInsertValues(), 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 291 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 284 of file Defines.php.
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 292 of file Defines.php.
const SFH_NO_HASH 1 |
Flags for Parser::setFunctionHook Use of Parser consts is preferred:
Definition at line 176 of file Defines.php.
const SFH_OBJECT_ARGS 2 |
Flags for Parser::setFunctionHook Use of Parser consts is preferred:
Definition at line 177 of file Defines.php.
const SHELL_MAX_ARG_STRLEN '100000' |
Max string length for shell invocations; based on binfmts.h
Definition at line 264 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 333 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 334 of file Defines.php.