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:
41e2a24
)
Pass through errors creating the main page to the installer.
author
Ryan Schmidt
<skizzerz@skizzerz.net>
Mon, 25 Apr 2016 02:17:16 +0000
(19:17 -0700)
committer
Ryan Schmidt
<skizzerz@skizzerz.net>
Mon, 25 Apr 2016 02:19:04 +0000
(19:19 -0700)
Right now, any errors from inserting the main page are silently ignored by
the installer, causing it to report success even in case of failure. Let's
fix that.
Change-Id: I1da3aa076eefa212b5cc0f796a48f944e8c06fd2
includes/installer/Installer.php
patch
|
blob
|
history
diff --git
a/includes/installer/Installer.php
b/includes/installer/Installer.php
index
3d1c860
..
d747707
100644
(file)
--- a/
includes/installer/Installer.php
+++ b/
includes/installer/Installer.php
@@
-1697,7
+1697,7
@@
abstract class Installer {
wfMessage( 'mainpagedocfooter' )->inContentLanguage()->text()
);
- $page->doEditContent( $content,
+ $
status = $
page->doEditContent( $content,
'',
EDIT_NEW,
false,