dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Remove Revision::getRevisionText from migrateArchiveText"
[lhc/web/wiklou.git]
/
maintenance
/
createAndPromote.php
diff --git
a/maintenance/createAndPromote.php
b/maintenance/createAndPromote.php
index
505168e
..
b92735b
100644
(file)
--- a/
maintenance/createAndPromote.php
+++ b/
maintenance/createAndPromote.php
@@
-121,7
+121,7
@@
class CreateAndPromote extends Maintenance {
false
);
if ( !$status->isGood() ) {
false
);
if ( !$status->isGood() ) {
- $this->fatalError( $status->get
WikiText( null, null, 'en'
) );
+ $this->fatalError( $status->get
Message( false, false, 'en' )->text(
) );
}
}
}
}
@@
-134,7
+134,7
@@
class CreateAndPromote extends Maintenance {
'retype' => $password,
] );
if ( !$status->isGood() ) {
'retype' => $password,
] );
if ( !$status->isGood() ) {
- throw new PasswordError( $status->get
WikiText( null, null, 'en'
) );
+ throw new PasswordError( $status->get
Message( false, false, 'en' )->text(
) );
}
if ( $exists ) {
$this->output( "Password set.\n" );
}
if ( $exists ) {
$this->output( "Password set.\n" );