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:
68365af
)
Fix exception language in MovePage
author
Gergő Tisza
<tgr.huwiki@gmail.com>
Thu, 17 Jan 2019 23:55:35 +0000
(15:55 -0800)
committer
Gergő Tisza
<tgr.huwiki@gmail.com>
Thu, 17 Jan 2019 23:56:07 +0000
(15:56 -0800)
Follows up I8f6c9647ee.
Change-Id: Iff2941bfc9e14f52ddd33f0a3d522c5a0d594c3e
includes/MovePage.php
patch
|
blob
|
history
diff --git
a/includes/MovePage.php
b/includes/MovePage.php
index
7aa6b05
..
1919c0c
100644
(file)
--- a/
includes/MovePage.php
+++ b/
includes/MovePage.php
@@
-494,7
+494,8
@@
class MovePage {
);
if ( !$status->isGood() ) {
- throw new MWException( 'Failed to delete page-move revision: ' . $status->getWikiText() );
+ throw new MWException( 'Failed to delete page-move revision: '
+ . $status->getWikiText( false, false, 'en' ) );
}
$nt->resetArticleID( false );