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:
66d5060
)
Fix incorrect arguments to prepareContent() call in WikiPage
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 2 Jul 2018 11:54:41 +0000
(12:54 +0100)
committer
Gergő Tisza
<gtisza@wikimedia.org>
Mon, 2 Jul 2018 14:46:13 +0000
(14:46 +0000)
Bug: T198483
Change-Id: I7115a9f8c7d5a6d84b77149fda266ad05ff3274d
includes/page/WikiPage.php
patch
|
blob
|
history
diff --git
a/includes/page/WikiPage.php
b/includes/page/WikiPage.php
index
c25ff35
..
261c954
100644
(file)
--- a/
includes/page/WikiPage.php
+++ b/
includes/page/WikiPage.php
@@
-1935,7
+1935,7
@@
class WikiPage implements Page, IDBAccessObject {
$updater = $this->getDerivedDataUpdater( $user, $revision, $slots );
if ( !$updater->isUpdatePrepared() ) {
- $updater->prepareContent( $user, $slots,
[],
$useCache );
+ $updater->prepareContent( $user, $slots, $useCache );
if ( $revision ) {
$updater->prepareUpdate( $revision );