Skip to content

Commit

Permalink
Add toast notification on success
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentIsai authored Sep 29, 2023
1 parent 7580416 commit 138bb4e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion includes/FormFactory/ManageWikiFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,15 @@ protected function submitForm(
return null;
}

$out->addHTML( Html::successBox( wfMessage( 'managewiki-success' )->escaped() ) );
$out->addHTML(
Html::successBox(
Html::element(
'p',
[],
wfMessage( 'managewiki-success' )->escaped()
),
'mw-notify-success'
)
);
}
}

0 comments on commit 138bb4e

Please sign in to comment.