X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=c4a8633515504fefa7ed24e7c581e420d9b68836;hb=08b15bcfe6ca638ed6664380b56d78178faa064e;hp=882f318245451d6abad51299dc5a9106b09c8367;hpb=629df62ac2f8cc8639d9a470e2e6495b1aaf8f1b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index 882f318245..c4a8633515 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -54,13 +54,12 @@ define( 'DBO_COMPRESS', 512 ); */ define( 'DB_SLAVE', -1 ); # Read from the slave (or only server) define( 'DB_MASTER', -2 ); # Write to master (or only server) -define( 'DB_LAST', -3 ); # Whatever database was used last /**@}*/ # Obsolete aliases define( 'DB_READ', -1 ); define( 'DB_WRITE', -2 ); - +define( 'DB_LAST', -3 ); # deprecated since 2008, usage throws exception /**@{ * Virtual namespaces; don't appear in the page database @@ -138,7 +137,7 @@ define( 'MEDIATYPE_ARCHIVE', 'ARCHIVE' ); // archive file (zip, tar, etc) */ 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 imune +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) /**@}*/ @@ -200,7 +199,6 @@ define( 'LIST_AND', 1 ); define( 'LIST_SET', 2 ); define( 'LIST_NAMES', 3); define( 'LIST_OR', 4); -define( 'LIST_SET_PREPARED', 8); // List of (?, ?, ?) for DatabaseIbm_db2 /**@}*/ /** @@ -227,7 +225,7 @@ define( 'MW_SUPPORTS_RESOURCE_MODULES', 1 ); define( 'OT_HTML', 1 ); define( 'OT_WIKI', 2 ); define( 'OT_PREPROCESS', 3 ); -define( 'OT_MSG' , 3 ); // b/c alias for OT_PREPROCESS +define( 'OT_MSG', 3 ); // b/c alias for OT_PREPROCESS define( 'OT_PLAIN', 4 ); /**@}*/