WIKI-823: AutoSave feature does not work when editing wiki page

Fix description:
- Encode pageId for autosave function