Merge "Revert noindex-category change from change I233ce58fd82a1dbc57b3ab58ce669b23a5...
[lhc/web/wiklou.git] / opensearch_desc.php
index bef1688..92c182d 100644 (file)
  * @file
  */
 
+// 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' );
+
 require_once __DIR__ . '/includes/WebStart.php';
 
 if ( $wgRequest->getVal( 'ctype' ) == 'application/xml' ) {