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:
b995d4a
)
Merge "Save pages content in the default format of their content type"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 16 Sep 2014 17:43:45 +0000
(17:43 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 16 Sep 2014 17:43:45 +0000
(17:43 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
b71384f
..
3370622
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-1892,8
+1892,14
@@
class EditPage {
( ( $this->minoredit && !$this->isNew ) ? EDIT_MINOR : 0 ) |
( $bot ? EDIT_FORCE_BOT : 0 );
- $doEditStatus = $this->mArticle->doEditContent( $content, $this->summary, $flags,
- false, null, $this->contentFormat );
+ $doEditStatus = $this->mArticle->doEditContent(
+ $content,
+ $this->summary,
+ $flags,
+ false,
+ null,
+ $content->getDefaultFormat()
+ );
if ( !$doEditStatus->isOK() ) {
// Failure from doEdit()