aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Defines.php
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2019-08-05 19:00:00 +0200
committerKrinkle <krinklemail@gmail.com>2019-08-05 22:29:50 +0000
commit2664eeb6325b7c662faa813c99487b1a479299e5 (patch)
tree56534d3f3290527b54bc2e771e21a40038f65c66 /includes/Defines.php
parent69f78bb554ed8d950b3c79690d5a2a07e5c6d6c4 (diff)
downloadmediawikicore-2664eeb6325b7c662faa813c99487b1a479299e5.tar.gz
mediawikicore-2664eeb6325b7c662faa813c99487b1a479299e5.zip
Clean up spacing of doc comments
Align the doc stars and normalize start and end tokens Change-Id: Ib0d92e128e7b882bb5b838bd00c74fc16ef14303
Diffstat (limited to 'includes/Defines.php')
-rw-r--r--includes/Defines.php78
1 files changed, 39 insertions, 39 deletions
diff --git a/includes/Defines.php b/includes/Defines.php
index d818226974f6..0269ab60299b 100644
--- a/includes/Defines.php
+++ b/includes/Defines.php
@@ -31,7 +31,7 @@ use Wikimedia\Rdbms\IDatabase;
# Obsolete aliases
-/**@{
+/** @{
* Obsolete IDatabase::makeList() constants
* These are also available as Database class constants
*/
@@ -40,16 +40,16 @@ define( 'LIST_AND', IDatabase::LIST_AND );
define( 'LIST_SET', IDatabase::LIST_SET );
define( 'LIST_NAMES', IDatabase::LIST_NAMES );
define( 'LIST_OR', IDatabase::LIST_OR );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Virtual namespaces; don't appear in the page database
*/
define( 'NS_MEDIA', -2 );
define( 'NS_SPECIAL', -1 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Real namespaces
*
* Number 100 and beyond are reserved for custom namespaces;
@@ -73,9 +73,9 @@ define( 'NS_HELP', 12 );
define( 'NS_HELP_TALK', 13 );
define( 'NS_CATEGORY', 14 );
define( 'NS_CATEGORY_TALK', 15 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Cache type
*/
define( 'CACHE_ANYTHING', -1 ); // Use anything, as long as it works
@@ -83,18 +83,18 @@ define( 'CACHE_NONE', 0 ); // Do not cache
define( 'CACHE_DB', 1 ); // Store cache objects in the DB
define( 'CACHE_MEMCACHED', 2 ); // MemCached, must specify servers in $wgMemCacheServers
define( 'CACHE_ACCEL', 3 ); // APC or WinCache
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Antivirus result codes, for use in $wgAntivirusSetup.
*/
define( 'AV_NO_VIRUS', 0 ); # scan ok, no virus found
define( 'AV_VIRUS_FOUND', 1 ); # virus found!
define( 'AV_SCAN_ABORTED', -1 ); # scan aborted, the file is probably immune
define( 'AV_SCAN_FAILED', false ); # scan failed (scanner not found or error in scanner)
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Anti-lock flags
* Was used by $wgAntiLockFlags, which was removed with 1.25
* Constants kept to not have warnings when used in LocalSettings
@@ -103,9 +103,9 @@ define( 'ALF_PRELOAD_LINKS', 1 ); // unused
define( 'ALF_PRELOAD_EXISTENCE', 2 ); // unused
define( 'ALF_NO_LINK_LOCK', 4 ); // unused
define( 'ALF_NO_BLOCK_LOCK', 8 ); // unused
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Date format selectors; used in user preference storage and by
* Language::date() and co.
*/
@@ -114,9 +114,9 @@ define( 'MW_DATE_MDY', 'mdy' );
define( 'MW_DATE_DMY', 'dmy' );
define( 'MW_DATE_YMD', 'ymd' );
define( 'MW_DATE_ISO', 'ISO 8601' );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* RecentChange type identifiers
*/
define( 'RC_EDIT', 0 );
@@ -124,9 +124,9 @@ define( 'RC_NEW', 1 );
define( 'RC_LOG', 3 );
define( 'RC_EXTERNAL', 5 );
define( 'RC_CATEGORIZE', 6 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Article edit flags
*/
define( 'EDIT_NEW', 1 );
@@ -137,21 +137,21 @@ define( 'EDIT_FORCE_BOT', 16 );
define( 'EDIT_DEFER_UPDATES', 32 ); // Unused since 1.27
define( 'EDIT_AUTOSUMMARY', 64 );
define( 'EDIT_INTERNAL', 128 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Hook support constants
*/
define( 'MW_SUPPORTS_PARSERFIRSTCALLINIT', 1 );
define( 'MW_SUPPORTS_LOCALISATIONCACHE', 1 );
define( 'MW_SUPPORTS_CONTENTHANDLER', 1 );
define( 'MW_EDITFILTERMERGED_SUPPORTS_API', 1 );
-/**@}*/
+/** @} */
/** Support for $wgResourceModules */
define( 'MW_SUPPORTS_RESOURCE_MODULES', 1 );
-/**@{
+/** @{
* Allowed values for Parser::$mOutputType
* Parameter to Parser::startExternalParse().
* Use of Parser consts is preferred:
@@ -166,9 +166,9 @@ define( 'OT_WIKI', 2 );
define( 'OT_PREPROCESS', 3 );
define( 'OT_MSG', 3 ); // b/c alias for OT_PREPROCESS
define( 'OT_PLAIN', 4 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Flags for Parser::setFunctionHook
* Use of Parser consts is preferred:
* - Parser::SFH_NO_HASH
@@ -176,9 +176,9 @@ define( 'OT_PLAIN', 4 );
*/
define( 'SFH_NO_HASH', 1 );
define( 'SFH_OBJECT_ARGS', 2 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Autopromote conditions (must be here and not in Autopromote.php, so that
* they're loaded for DefaultSettings.php before AutoLoader.php)
*/
@@ -191,7 +191,7 @@ define( 'APCOND_IPINRANGE', 6 );
define( 'APCOND_AGE_FROM_EDIT', 7 );
define( 'APCOND_BLOCKED', 8 );
define( 'APCOND_ISBOT', 9 );
-/**@}*/
+/** @} */
/** @{
* Protocol constants for wfExpandUrl()
@@ -202,9 +202,9 @@ define( 'PROTO_RELATIVE', '//' );
define( 'PROTO_CURRENT', null );
define( 'PROTO_CANONICAL', 1 );
define( 'PROTO_INTERNAL', 2 );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Content model ids, used by Content and ContentHandler.
* These IDs will be exposed in the API and XML dumps.
*
@@ -217,9 +217,9 @@ define( 'CONTENT_MODEL_JAVASCRIPT', 'javascript' );
define( 'CONTENT_MODEL_CSS', 'css' );
define( 'CONTENT_MODEL_TEXT', 'text' );
define( 'CONTENT_MODEL_JSON', 'json' );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Content formats, used by Content and ContentHandler.
* These should be MIME types, and will be exposed in the API and XML dumps.
*
@@ -242,15 +242,15 @@ define( 'CONTENT_FORMAT_SERIALIZED', 'application/vnd.php.serialized' );
define( 'CONTENT_FORMAT_JSON', 'application/json' );
// for future use with the api, and for use by extensions
define( 'CONTENT_FORMAT_XML', 'application/xml' );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Max string length for shell invocations; based on binfmts.h
*/
define( 'SHELL_MAX_ARG_STRLEN', '100000' );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Schema compatibility flags.
*
* Used as flags in a bit field that indicates whether the old or new schema (or both)
@@ -269,9 +269,9 @@ define( 'SCHEMA_COMPAT_WRITE_BOTH', SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_WRIT
define( 'SCHEMA_COMPAT_READ_BOTH', SCHEMA_COMPAT_READ_OLD | SCHEMA_COMPAT_READ_NEW );
define( 'SCHEMA_COMPAT_OLD', SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_READ_OLD );
define( 'SCHEMA_COMPAT_NEW', SCHEMA_COMPAT_WRITE_NEW | SCHEMA_COMPAT_READ_NEW );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* Schema change migration flags.
*
* Used as values of a feature flag for an orderly transition from an old
@@ -296,9 +296,9 @@ define( 'MIGRATION_OLD', 0x00000000 | SCHEMA_COMPAT_OLD );
define( 'MIGRATION_WRITE_BOTH', 0x10000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_BOTH );
define( 'MIGRATION_WRITE_NEW', 0x20000000 | SCHEMA_COMPAT_READ_BOTH | SCHEMA_COMPAT_WRITE_NEW );
define( 'MIGRATION_NEW', 0x30000000 | SCHEMA_COMPAT_NEW );
-/**@}*/
+/** @} */
-/**@{
+/** @{
* 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/>.
@@ -307,4 +307,4 @@ define( 'MIGRATION_NEW', 0x30000000 | SCHEMA_COMPAT_NEW );
*/
define( 'XML_DUMP_SCHEMA_VERSION_10', '0.10' );
define( 'XML_DUMP_SCHEMA_VERSION_11', '0.11' );
-/**@}*/
+/** @} */