From: Aaron Schulz Date: Fri, 6 Nov 2015 05:36:02 +0000 (-0800) Subject: Remove 'bot' check before trying the edit stash X-Git-Tag: 1.31.0-rc.0~9079^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=0686221b2d87e551b61f6c74ae1fcbad6a3aaea5;p=lhc%2Fweb%2Fwiklou.git Remove 'bot' check before trying the edit stash Some user groups, like the 'flood' one on wmf sites might get caught up as false positives. Change-Id: I31be62b2239477572bc063f1af0329f248bbcaf6 --- diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index ff8050b24c..f7a4161d04 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -2075,7 +2075,7 @@ class WikiPage implements Page, IDBAccessObject { } // The edit may have already been prepared via api.php?action=stashedit - $cachedEdit = $useCache && $wgAjaxEditStash && !$user->isAllowed( 'bot' ) + $cachedEdit = $useCache && $wgAjaxEditStash ? ApiStashEdit::checkCache( $this->getTitle(), $content, $user ) : false;