Introduce inline format switch . If Wikidiff2 is installed, there should be an inline toggle so users can turn on/off displaying the inline format
Feature Summary
On the current experience, a user is able to use different diff formats:
- Two-column MediaWiki Core (shows by default when Wikidiff2 is not installed; no URL param; use Patch Demo if you need to test)
- Two-column when Wikidiff2 php extension is installed (no URL param, it loads by default when extension installed)
- Inline when Wikidiff2 extension is installed (URL param diff-type=inline)
- Visual diffs if VisualEditor is installed and Visual Diffs are enabled (URL param diffmode=visual)
Introduce an inline toggle to the UI so that users can easily switch to the inline format.
Use Cases
As a viewer, the inline toggle should be available when Wikidiff2 is installed.
The inline toggle should display the options according to installation.
Fresh install:
- Do not show anything
Fresh install with Wikidiff2 enabled:
- Inline toggle should be displayed
Designs
- Wikidiff2 is installed
Release plan
- Engineering reviews and creates patch demo
- QA review patch demo
- Product tested patch demo
- Merge - train will pick up change week of 09/11