For the development of an essential and popular tool on Persian Wikipedia, we need a capability to be able to control the address would be brought by browser after the save of a page so we can hook extra needed thing which are only possible after the save of a page, like adding language link of the page to the correspond Wikidata item which is impossible before save of a page.
So I propuse addition of a new optional on edit page hidden input, named "extraQueryRedirect" which its values would be considered for the save of pages and the page user would be redirected to. For example if a user script adds `<input type="hidden" name="extraQueryRedirect" value="withJS=MediaWiki:AddToWikidata.js">` to the main form an edit page, that value of this hidden input wouldn't be vanished after the save of the page and the redirect happens. I also have written a patch for this that I hope with some help it goes to be OK to be merged.