Page MenuHomePhabricator

Deploy new header to all wikis
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

After the test on Catalan and Italian wikipedias, we have noted that internal page views (including internal search) have not been affected. Thus, we are ready to go ahead with the new branding deploy

Acceptance criteria

  • Ensure OK from new readers team (olga)
  • Ensure OK from discovery team (olga)
  • Publish announcement for deployment (chris)
  • Deploy new header on March 27 (actually deployed on 28)
  • Cleanup any artifacts relating to the feature flag and remove the feature flag - as reverting after this point would be a very visible change that should be avoided. rEMFRe12fdd73f714: Hygiene: Remove header-v2 and header-v1 code (correctly)

Testing Notes

Ensure that the header on the Beta Cluster mobile site and, say, https://en.m.wikipedia.org behave the same way across mobile, tablet, and desktop, focussing on layout and visible icons.

Event Timeline

ovasileva moved this task from Incoming to Upcoming on the Web-Team-Backlog board.
ovasileva updated the task description. (Show Details)
ovasileva added a subscriber: Ckoerner.
Jdlrobson subscribed.

Needs estimation. Team hasn't said it's ready for "ToDo" yet.

Jdlrobson set the point value for this task to 2.

Change 342973 had a related patch set uploaded (by Jdlrobson):
[mediawiki/extensions/MobileFrontend] HeaderV2 is the default and not configurable

https://gerrit.wikimedia.org/r/342973

Change 342974 had a related patch set uploaded (by Jdlrobson):
[mediawiki/extensions/MobileFrontend] Hygiene: Remove header-v2 and header-v1 code

https://gerrit.wikimedia.org/r/342974

Jdlrobson changed the task status from Open to Stalled.Mar 17 2017, 4:58 PM
Jdlrobson changed the task status from Stalled to Open.Mar 28 2017, 4:58 PM
Jdlrobson moved this task from Blocked Externally to To Do on the Reading-Web-Sprint-94 board.
Jdlrobson updated the task description. (Show Details)

Change 345184 had a related patch set uploaded (by Jdlrobson):
[operations/mediawiki-config@master] Enable header version 2 on all wikis

https://gerrit.wikimedia.org/r/345184

Change 345184 merged by jenkins-bot:
[operations/mediawiki-config@master] Enable header version 2 on all wikis

https://gerrit.wikimedia.org/r/345184

Mentioned in SAL (#wikimedia-operations) [2017-03-28T23:16:31Z] <thcipriani@tin> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:345184|Enable header version 2 on all wikis]] T160471 (duration: 00m 45s)

https://gerrit.wikimedia.org/r/#/c/342973/ can now safely be merged.
https://gerrit.wikimedia.org/r/#/c/342973/2 should only be merged when the cache is clear. We can probably merge that now, but if we want to be more cautious, we may want to leave that till next week.

Jdlrobson updated the task description. (Show Details)

Change 342973 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] HeaderV2 is the default and not configurable

https://gerrit.wikimedia.org/r/342973

Change 342974 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Hygiene: Remove header-v2 and header-v1 code

https://gerrit.wikimedia.org/r/342974

https://gerrit.wikimedia.org/r/#/c/342973/ can now safely be merged.
https://gerrit.wikimedia.org/r/#/c/342973/2 should only be merged when the cache is clear. We can probably merge that now, but if we want to be more cautious, we may want to leave that till next week.

As we discussed earlier, if I'm reading rOPUP57780729352d: varnish: swap around backend ttl cap and keep values [1/2] correctly, then the maximum lifetime of an object in The Cache (cache_text) is 3 days.

Change 345487 had a related patch set uploaded (by Jdlrobson):
[mediawiki/extensions/MobileFrontend@master] Hygiene: Remove header-v2 and header-v1 code (correctly)

https://gerrit.wikimedia.org/r/345487

I've reverted the original patch as I found an issue with it (the search box was showing in mobile one).
New one above.

Can you take another pass at CR?

phuedx moved this task from Needs Code Review to Needs More Work on the Reading-Web-Sprint-94 board.
phuedx added a subscriber: Krinkle.

There's a question from @Krinkle against rEMFRe7f41b3959c0: Hygiene: Remove header-v2 and header-v1 code (correctly). I posed it the other way around and C-1'd the change.

Thanks @Krinkle and @phuedx. I moved this into one css rule to make this clearer. Hope it's good to go now.

@Jdlrobson - I just noticed this in the analyze results task: "Create task for full deployment. As part of this task, please capture in acceptance criteria the removal of the HeaderV2 config flag and the feature-header classes" - did we ever make a separate task/finish it as a part of the this task?

This is that task and all that is captured in acceptance criteria. https://gerrit.wikimedia.org/r/345487 is the last piece.

Change 345487 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Hygiene: Remove header-v2 and header-v1 code (correctly)

https://gerrit.wikimedia.org/r/345487

phuedx updated the task description. (Show Details)
phuedx moved this task from Needs Code Review to Ready for Signoff on the Reading-Web-Sprint-95 board.

Actually, while this is mostly a process task, there were minor changes to the codebase (rEMFRe12fdd73f714: Hygiene: Remove header-v2 and header-v1 code (correctly)), this should be passed to @ABorbaWMF with instructions to check that the Beta Cluster and one/many of the Wikipedias headers behave the same way across devices.

Did some testing. Here are some screenshots. There is a small issue with the mobile version on IE browsers.

SystemScreenshot
Header-Nexus9 A6.0-Chrome 55.png (1×768 px, 368 KB)
Nexus 9 Android 6.0 - Chrome 55
Header-Nexus6P A6.0-Firefox 48.png (1×720 px, 332 KB)
Nexus 6P Android 6.0 - Firefox 48
Header-Galaxy Tab S A 4.4 - Chrome 43.png (1×800 px, 471 KB)
Galaxy Tab S Android 4.4 - Chrome 43
Header-iPadAir2 iOS9.0 - Safari 9.0.png (1×768 px, 382 KB)
iPad Air 2 iOS 9.0 - Safari 9.0
Header-iPhone 5S iOS 7.0 - Safari 7.0.png (1×640 px, 251 KB)
iPhone 5S iOS 7.0 - Safari 7.0
Header-iPhone 6S iOS 9.0 - Chrome 47.png (960×540 px, 237 KB)
iPhone 6S iOS 9.0 - Chrome 47
Header-Win7(64) - IE9.png (768×1 px, 128 KB)
Windows 7(64) - IE9
Header-Win8 - IE10.png (768×1 px, 129 KB)
Windows 8 - IE10
Header-Win 8.1 - IE11.png (768×1 px, 134 KB)
Windows 8.1 - IE11
Header-Win 10 - Edge.png (768×1 px, 173 KB)
Windows 10 - Edge
Header-Mac OSX 10.8 - Chrome 48(64).png (900×1 px, 287 KB)
Mac OSX 10.8 - Chrome 48(64)
Header-Mac OSX 10.12 - Firefox 52.png (768×1 px, 224 KB)
Mac OSX 10.12 - Firefox

Thanks @ABorbaWMF. Does T162647 capture the bug? If so I suggest we resolve this and prioritise and fix the newly introduced bug separately. I've moved it into current sprint so we can estimate/plan it during kick off.