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:
d773ec9
)
Fix error reporting in MovePage
author
Gergő Tisza
<tgr.huwiki@gmail.com>
Thu, 17 Jan 2019 02:14:52 +0000
(18:14 -0800)
committer
Gergő Tisza
<tgr.huwiki@gmail.com>
Thu, 17 Jan 2019 02:14:52 +0000
(18:14 -0800)
Bug: T210739
Change-Id: I8f6c9647ee949b33fd4daeae6aed6b94bb1988aa
includes/MovePage.php
patch
|
blob
|
history
diff --git
a/includes/MovePage.php
b/includes/MovePage.php
index
452b144
..
7aa6b05
100644
(file)
--- a/
includes/MovePage.php
+++ b/
includes/MovePage.php
@@
-494,7
+494,7
@@
class MovePage {
);
if ( !$status->isGood() ) {
);
if ( !$status->isGood() ) {
- throw new MWException( 'Failed to delete page-move revision: ' . $status );
+ throw new MWException( 'Failed to delete page-move revision: ' . $status
->getWikiText()
);
}
$nt->resetArticleID( false );
}
$nt->resetArticleID( false );