From 204d7001355e11afaf6cb1a91a9481b27b125281 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 26 Apr 2005 18:35:59 +0000 Subject: [PATCH] * Documented the math constants * Documented the cache types --- includes/Defines.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/includes/Defines.php b/includes/Defines.php index 84770d3433..c49b209b38 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -56,15 +56,18 @@ define('NS_CATEGORY_TALK', 15); $wgFeedClasses = array( 'rss' => 'RSSFeed', 'atom' => 'AtomFeed', - ); +); -/** Maths constants */ +/**#@+ + * Maths constants + */ define( 'MW_MATH_PNG', 0 ); define( 'MW_MATH_SIMPLE', 1 ); define( 'MW_MATH_HTML', 2 ); define( 'MW_MATH_SOURCE', 3 ); define( 'MW_MATH_MODERN', 4 ); define( 'MW_MATH_MATHML', 5 ); +/**#@-*/ /** * User rights management @@ -76,7 +79,7 @@ $wgAvailableRights = array('read', 'edit', 'move', 'delete', 'undelete', 'asksql', 'rollback', 'patrol', 'editinterface', 'siteadmin', 'bot', 'validate', 'import'); -/** +/**#@+ * Cache type */ define( 'CACHE_ANYTHING', -1 ); // Use anything, as long as it works @@ -84,5 +87,6 @@ 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 ); // eAccelerator or Turck, whichever is available +/**#@-*/ ?> -- 2.20.1