Could we please have documentation for new config options?
authorAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 15 Apr 2008 14:06:55 +0000 (14:06 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 15 Apr 2008 14:06:55 +0000 (14:06 +0000)
includes/DefaultSettings.php

index b0aef12..02fa564 100644 (file)
@@ -1496,6 +1496,11 @@ $wgCookieDomain = '';
 $wgCookiePath = '/';
 $wgCookieSecure = ($wgProto == 'https');
 $wgDisableCookieCheck = false;
+
+/**
+ * Set authentication cookies to httpOnly to prevent stealing by JS, in brow-
+ * sers that support this feature.
+ */
 $wgCookieHttpOnly = true;
 
 /** A list of cookies that vary the cache (for use by extensions) */