Merge "ApiDelete: pass in page title to 'deleted-scheduled' message"
This commit is contained in:
commit
51644fcc78
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ class ApiDelete extends ApiBase {
|
|||
}
|
||||
$wasScheduled = $status->isGood() && $status->getValue() === false;
|
||||
if ( $wasScheduled ) {
|
||||
$this->addWarning( 'delete-scheduled' );
|
||||
$this->addWarning( [ 'delete-scheduled', $titleObj->getPrefixedText() ] );
|
||||
}
|
||||
|
||||
// Deprecated parameters
|
||||
|
|
|
|||
Loading…
Reference in a new issue