X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefines.php;h=02930ea8153e2191a728740dbd8925dff872886d;hb=bddb40db1c34d4b4fd31f3227923b5bc3929f395;hp=077f39a3502d63806b315020cbbbd003152308ea;hpb=5aa7d094d7e114cf50c2e76cb9e8782211104e26;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Defines.php b/includes/Defines.php index 077f39a350..02930ea815 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -27,6 +27,17 @@ # Obsolete aliases define( 'DB_SLAVE', -1 ); +/**@{ + * Obsolete IDatabase::makeList() constants + * These are also available as Database class constants + */ +define( 'LIST_COMMA', IDatabase::LIST_COMMA ); +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 */ @@ -66,8 +77,13 @@ define( 'NS_CATEGORY_TALK', 15 ); * When writing code that should be compatible with older MediaWiki * versions, either stick to the old names or define the new constants * yourself, if they're not defined already. + * + * @deprecated since 1.14 */ define( 'NS_IMAGE', NS_FILE ); +/** + * @deprecated since 1.14 + */ define( 'NS_IMAGE_TALK', NS_FILE_TALK ); /**@}*/