Steps to replicate the issue (include links if applicable):
(Using Firefox, not checked with other browsers)
- Go to https://wikifunctions.beta.wmflabs.org/wiki/Special:CreateZObject?view=function-editor
- Fill basic information so the function can be published
- Click on the Publish button
- The "Publish your change" in order to fill the summary appears, validate the publication
What happens?:
A browser dialog appears, which warns that we're about to leave the page:
What should have happened instead?:
The publication should be effective right after the first dialog.
Software version: cbf93482049715a41c827e08cf63ffbf30a56dd0
Other information: My browser is Firefox Nightly (109.0a1 (2022-11-21))
