dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
049e451
)
Merge "Remove 'bot' check before trying the edit stash"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Fri, 6 Nov 2015 18:22:20 +0000
(18:22 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 6 Nov 2015 18:22:20 +0000
(18:22 +0000)
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;