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:
d0c0ff8
)
Avoid edit stash log spam for bots
author
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 11 Apr 2015 04:06:26 +0000
(21:06 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 11 Apr 2015 04:06:26 +0000
(21:06 -0700)
Change-Id: I2f9cc86794f8eee282c5efdbe96d4ff981b1977b
includes/page/WikiPage.php
patch
|
blob
|
history
diff --git
a/includes/page/WikiPage.php
b/includes/page/WikiPage.php
index
6242a54
..
d5d0ba2
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
+ $cachedEdit = $useCache && $wgAjaxEditStash
&& !$user->isAllowed( 'bot' )
? ApiStashEdit::checkCache( $this->getTitle(), $content, $user )
: false;