Background
Based on some of the blockers identified in T293158: Clicking the sticky header edit icon should not reload the page, it seems probable that the current implementation of the sticky header cannot retain the scroll position when the edit link is selected (due to the current nature of VE). This task will create a feature flag for the editing functionality that will allow for the sticky header to be deployed independently of editing functionality until this and other blockers outlined in T287545: [EPIC] Introduce editing functionality to the sticky header are resolved
Acceptance criteria
- Feature flag edit buttons within the sticky header
QA
- Visiting https://en.wikipedia.beta.wmflabs.org/wiki/Albert%20Einstein?vectorstickyheaderedit=0 and confirm the edit icons do not show.
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Albert%20Einstein?vectorstickyheaderedit=1 and confirm the edit icons show
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Protected_page?vectorstickyheaderedit=1 and confirm the protected edit icon shows.
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Protected_page?vectorstickyheaderedit=0 and confirm no edit icon shows.
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T294383#7481507 |
| 2 | ✅ | T294383#7481507 |
| 3 | ✅ | T294383#7481507 |
| 4 | ✅ | T294383#7481507 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T294383#7494310 |
| 2 | ✅ | T294383#7494310 |
| 3 | ✅ | T294383#7494310 |
| 4 | ✅ | T294383#7494310 |







