List of steps to reproduce (step by step, including full links if applicable):
- go to Commons (HotCat.js tool needs to be activated)
- go to any file page and click to the "Structured data" bookmark
- edit any entry of Structured data, eg. "depicts"
- click to "Public changes" to save the changes
- (click back to the "File information" bookmark or remain in the "Structured data" section)
- try to add, remove or change any category using HotCat
What happens?:
- the HotCat category change is not succesfull, instead of it, the page "View source for File:xxx" is displayed with the error message: "You cannot edit the wikitext on this revision of the page, as there have been changes to the data on the page since this revision that are not wikitext-based. To restore this revision click here." No link to confirm (refresh) the current SD revision and retain the HotCat changes made is available - the only available link reverts the last SD changes.
- to enable a HotCat edit, the page needs to be manually refreshed and all the unsuccesfull HotCat changes need to be done again
What should have happened instead?:
- after saving (publish) any structured data changes, the page should be prepared to whatever next actions, including HotCat category changes - HotCat edits should be succesfull without the need of additional manual page refresh
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
- happened at desktop computer in Mozilla Firefox browser
- the problem can affect also some other actions (probably clickable scripts which should work without direct edit of the source code)