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:
6ea767f
)
Merge "Use current content model for blank page content (not title default)"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Sat, 23 Jul 2016 00:57:15 +0000
(
00:57
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sat, 23 Jul 2016 00:57:15 +0000
(
00:57
+0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
e4146c5
..
362f905
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-1310,7
+1310,7
@@
class EditPage {
return $this->mPreloadContent;
}
- $handler = ContentHandler::getFor
Title( $this->getTitle()
);
+ $handler = ContentHandler::getFor
ModelID( $this->contentModel
);
if ( $preload === '' ) {
return $handler->makeEmptyContent();