Description
Because no-JS pages have no pop-up to explain the UI and orient users to the issue, add a warning to top of page. The design for both page types is the same, but the wording is different. Use OOUI MessageWidget (type: 'error').
Article pages: "While you were editing, another user edited the same page and published before you. Please review both versions and merge them. Only the text in the selected boxes will be saved when you click “Publish changes.” "
Talk pages: "Someone else posted at the same time as you. Please review the comments below and choose the order to be published. If needed, you can edit your text."
For both, adjust feedback message to use OOUI MessageWidget (type: 'notice').
Mock ups
Acceptance criteria
- Users without JS, see warning every time they encounter the edit conflict UI, for both talk and article pages
- On article pages, the warning should reference whatever text the wiki uses the publishing button using {{savechanges}}
- Adjust feedback message to use OOUI MessageWidget (type: 'notice') rather than custom warningbox style.