dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace blunt uses of resetExpectations() with setSilenced() for TransactionProfiler
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialChangeContentModel.php
diff --git
a/includes/specials/SpecialChangeContentModel.php
b/includes/specials/SpecialChangeContentModel.php
index
c7a650c
..
ccbb275
100644
(file)
--- a/
includes/specials/SpecialChangeContentModel.php
+++ b/
includes/specials/SpecialChangeContentModel.php
@@
-192,6
+192,7
@@
class SpecialChangeContentModel extends FormSpecialPage {
$newContent = ContentHandler::getForModelID( $data['model'] )->makeEmptyContent();
}
$flags = $this->oldRevision ? EDIT_UPDATE : EDIT_NEW;
+ $flags |= EDIT_INTERNAL;
if ( $user->isAllowed( 'bot' ) ) {
$flags |= EDIT_FORCE_BOT;
}