X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=9a6950e08104c0c3728a9414c97461d18e1414f9;hb=76d790623cc09dfbf51cbf45877f5f81af773303;hp=c9263da94a0aad4fdedf51ce30b21322eaaa9c68;hpb=8f6818ca4c0fbfa834ef824e0df33e3297631ce7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index c9263da94a..9a6950e081 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -24,11 +24,6 @@ * @defgroup Constants MediaWiki constants */ -/** - * Version constants for the benefit of extensions - */ -define( 'MW_SPECIALPAGE_VERSION', 2 ); - /**@{ * Database related constants */ @@ -38,7 +33,7 @@ define( 'DBO_IGNORE', 4 ); define( 'DBO_TRX', 8 ); // automatically start transaction on first query define( 'DBO_DEFAULT', 16 ); define( 'DBO_PERSISTENT', 32 ); -define( 'DBO_SYSDBA', 64 ); //for oracle maintenance +define( 'DBO_SYSDBA', 64 ); // for oracle maintenance define( 'DBO_DDLMODE', 128 ); // when using schema files: mostly for Oracle define( 'DBO_SSL', 256 ); define( 'DBO_COMPRESS', 512 ); @@ -140,10 +135,10 @@ define( 'MEDIATYPE_ARCHIVE', 'ARCHIVE' ); /**@{ * 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) +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) /**@}*/ /**@{ @@ -175,6 +170,7 @@ define( 'RC_EDIT', 0 ); define( 'RC_NEW', 1 ); define( 'RC_LOG', 3 ); define( 'RC_EXTERNAL', 5 ); +define( 'RC_CATEGORIZE', 6 ); /**@}*/ /**@{ @@ -185,7 +181,7 @@ define( 'EDIT_UPDATE', 2 ); define( 'EDIT_MINOR', 4 ); define( 'EDIT_SUPPRESS_RC', 8 ); define( 'EDIT_FORCE_BOT', 16 ); -define( 'EDIT_DEFER_UPDATES', 32 ); +define( 'EDIT_DEFER_UPDATES', 32 ); // Unused since 1.27 define( 'EDIT_AUTOSUMMARY', 64 ); /**@}*/ @@ -203,7 +199,7 @@ define( 'LIST_OR', 4 ); /** * Unicode and normalisation related */ -require_once __DIR__ . '/libs/normal/UtfNormalDefines.php'; +require_once __DIR__ . '/compat/normal/UtfNormalDefines.php'; /**@{ * Hook support constants