Page MenuHomePhabricator

Hindi MainPage should use Template Styles (migrate all MediaWiki:Mobile.css and MediaWiki:MobileMainPage.css styles to templates)
Closed, ResolvedPublic

Description

In T190101 (Change-Id: If4f89825a20fa224c9708a6f36e5a392e5d7a6cb) we introduced MFMobileMainPageCss to help adapt the Hindi main page for a mobile campaign.

Now TemplateStyles is deployed we should look to migrate away from this bespoke configuration variable, to a more long term solution - using TemplateStyles.

Every day we don't do this we are adding confusion to others by making it look like MFMobileMainPageCss is the way to do this and increase the maintenance burden by providing an opportunity for potential adoption.

Acceptance criteria

  • All styles inside MediaWiki:MobileMainPage.css have been migrated to corresponding templates
  • .page-Main_Page #content { is loaded site wide either via MediaWiki:Common.css or a render blocking MediaWiki:Mobile.css

Sign off steps

  • Remove MFMobileMainPageCss from MobileFrontend (or create task to do so)
  • Cleanup MFMobileMainPageCss related configuration.

Event Timeline

Is there anything that Community-Relations-Support can do to help? Is this a request for us?

Jdlrobson renamed this task from Hindi MainPage should use Template Styles to Hindi MainPage should use Template Styles (migrate all MediaWiki:Mobile.css and MediaWiki:MobileMainPage.css styles to templates).Jun 11 2018, 6:24 PM
Jdlrobson updated the task description. (Show Details)

@Qgil Do we have a strategy for helping communities to adopt TemplateStyles? Ideally, WMF would not be editing the wiki pages e.g. templates, but editors would be doing that with our assistance as needed. How do we identify somebody who can help?

Jdlrobson changed the task status from Open to Stalled.Jun 15 2018, 10:02 PM

Not sure how to move forward with this until we work out a way to help migrate styles to templates. We also are blocked on it being available (T133410). Maybe we can work this out as part of the roll out of TemplateStyles?

Vvjjkkii renamed this task from Hindi MainPage should use Template Styles (migrate all MediaWiki:Mobile.css and MediaWiki:MobileMainPage.css styles to templates) to 23baaaaaaa.Jul 1 2018, 1:07 AM
Vvjjkkii changed the task status from Stalled to Open.
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed subscribers: gerritbot, Aklapper.
AfroThundr3007730 renamed this task from 23baaaaaaa to Hindi MainPage should use Template Styles (migrate all MediaWiki:Mobile.css and MediaWiki:MobileMainPage.css styles to templates).Jul 1 2018, 5:19 AM
AfroThundr3007730 changed the task status from Open to Stalled.
AfroThundr3007730 raised the priority of this task from High to Needs Triage.
AfroThundr3007730 updated the task description. (Show Details)
AfroThundr3007730 added subscribers: GerritBot, Aklapper.

Removing CommRel, feel free to ping us again when this moves forward.

Jdlrobson claimed this task.

The migration has been completed.