From f6c21c607c5038c90a4518421fcbcc915a012683 Mon Sep 17 00:00:00 2001 From: Reedy Date: Sat, 21 Jul 2012 22:37:59 +0100 Subject: [PATCH] (bug 38451) remove $wgAllowPageInfo InfoAction needs a bit of work, so this might want to wait a little while. The patch removes $wgAllowPageInfo which was used to enable the action=info action (which was disabled by default). https://gerrit.wikimedia.org/r/#/c/15847 is needed to disable the counter query. Change-Id: I467e688090919b627bf1fb124ef712821c2257f6 --- includes/DefaultSettings.php | 5 ----- includes/Setup.php | 3 --- 2 files changed, 8 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index bc04f08444..14953baa5f 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -5776,11 +5776,6 @@ $wgActions = array( */ $wgDisabledActions = array(); -/** - * Allow the "info" action, very inefficient at the moment - */ -$wgAllowPageInfo = false; - /** @} */ # end actions } /*************************************************************************//** diff --git a/includes/Setup.php b/includes/Setup.php index baf7b35506..924c3c07be 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -332,9 +332,6 @@ if ( !$wgEnotifMinorEdits ) { foreach( $wgDisabledActions as $action ){ $wgActions[$action] = false; } -if( !$wgAllowPageInfo ){ - $wgActions['info'] = false; -} if ( !$wgHtml5Version && $wgHtml5 && $wgAllowRdfaAttributes ) { # see http://www.w3.org/TR/rdfa-in-html/#document-conformance -- 2.20.1