Motivation
Javascript users should not have to switch the page for changing the file text. Instead, the same behaviour that is currently active on the sub page should be happening on the same page.
Mock
Acceptance Criteria
- When a user with javascript clicks on "Edit file info", the editor opens inline
- If the user clicks cancel, the file info is being shown that was displayed when "edit file info" was clicked
- If the user clicks "Change file info", the new version is being displayed. however, the file is only actually changed when moving the whole file.
- The HTML for the preview will be re-rendered
- The category preview should update accordingly
Notes
- General parsing of the wikitext can be done via api call, see TwoColConflict for example
- Since we do our "own" category parsing we need to figure out the JS implementation for that
- parse API might give us the categories for free ( apart from hidden categories )
- hidden cats can be get from the API as well