Page MenuHomePhabricator

Minerva feature classes leak into Vector skin
Closed, ResolvedPublic2 Estimated Story Points

Description

When you visit https://en.wikipedia.org/wiki/Main_Page and inspect the body element, you'll notice that it has feature-footer-v2 class

Note that previously, it also had the feature-page-action-bar-v2 class.
Our feature flagged classes should only apply to the Minerva skin.

AC

  • Do not leak any feature classes to vector (or any skin other than Minerva). Hook should only run on Minerva (and probably be in the skins hooks)

Event Timeline

This should block pushing the footer to stable. @ovasileva do we have such a ticket?

@ovasileva I think this is about the page actions (edit, watchstar, and language buttons) you see when you visit https://en.m.wikipedia.org/wiki/Book rather than the footer.

ovasileva added a project: good first task.

I suggest we remove this code now that the footer is live and the default. This would solve this problem.

This comment was removed by Jdlrobson.

@Jdlrobson - I think we were confused initially. This is about page actions, not the footer.

Jdlrobson renamed this task from "feature-page-action-bar-v2" is leaking to vector to Minerva feature classes leak into Vector skin.Oct 12 2016, 3:06 PM
Jdlrobson updated the task description. (Show Details)

Change 317803 had a related patch set uploaded (by Phuedx):
Don't leak CSS feature classes

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

Change 317804 had a related patch set uploaded (by Phuedx):
Hygiene: Move OutputPageBodyAttributes handler

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

Change 317804 abandoned by Phuedx:
Hygiene: Move OutputPageBodyAttributes handler

Reason:
See Ia05625c8 for detail.

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

Some responses are needed to questions from @pmiazga and myself.

@Jdlrobson: I've responded and submitted a new patch set.

Change 317803 merged by jenkins-bot:
Don't leak CSS feature classes

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

bmansurov removed bmansurov as the assignee of this task.

Signed off. Visited https://en.wikipedia.beta.wmflabs.org/wiki/Main_Page and noticed that the body element doesn't have the feature-footer-v2 class. The same class is present when I visited https://en.m.wikipedia.beta.wmflabs.org/wiki/Main_Page.