dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3617131
)
Remove 'bot' check before trying the edit stash
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 6 Nov 2015 05:36:02 +0000
(21:36 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 6 Nov 2015 05:36:02 +0000
(21:36 -0800)
Some user groups, like the 'flood' one on wmf sites might
get caught up as false positives.
Change-Id: I31be62b2239477572bc063f1af0329f248bbcaf6
includes/page/WikiPage.php
patch
|
blob
|
history
diff --git
a/includes/page/WikiPage.php
b/includes/page/WikiPage.php
index
ff8050b
..
f7a4161
100644
(file)
--- 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;