Merge "Enforce load.php's no-session constraint"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 5 May 2016 12:41:36 +0000 (12:41 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 5 May 2016 12:41:36 +0000 (12:41 +0000)
load.php

index 2b97f7a..c832237 100644 (file)
--- a/load.php
+++ b/load.php
@@ -25,9 +25,8 @@
 use MediaWiki\Logger\LoggerFactory;
 
 // This endpoint is supposed to be independent of request cookies and other
-// details of the session. Log warnings for violations of the no-session
-// constraint.
-define( 'MW_NO_SESSION', 'warn' );
+// details of the session. Enforce this constraint with respect to session use.
+define( 'MW_NO_SESSION', 1 );
 
 require __DIR__ . '/includes/WebStart.php';