Page MenuHomePhabricator

[Task] Add basic style sheets to mobile Wikidata
Closed, ResolvedPublic1 Estimated Story Points

Description

We need some custom styling on mobile Wikidata because the desktop styles don't get loaded in MobileFrontend and they aren't designed for mobile devices. This basically means importing http://wikidata-mobile.wmflabs.org/wiki/MediaWiki:Mobile.css into the Wikibase code base.

Event Timeline

Bene claimed this task.
Bene raised the priority of this task from to Medium.
Bene updated the task description. (Show Details)
Bene edited a custom field.

Change 218906 had a related patch set uploaded (by Aude):
Fix unhandled exception in OtherProjectsSitesGenerator

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

Change 219963 had a related patch set uploaded (by Bene):
Add styles for mobile view

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

This is how this looks when applied (with a straight hack) to the desktop version:

Screenshot from 2015-07-01 18:59:47.png (780×1 px, 155 KB)

Issues:

  • Please add a word wrap property, possibly to everything, at least to the valueview snaks.
  • I find the gray color odd. Some links are blue, some are gray.
  • It's hard to tell the difference between properties and values, because the values use a bigger font size. This is probably intended but a bit confusing.
  • Why are there so many arrows in my screenshot?
  • In general the style should be similar to what we are planning to do on the desktop (which Phabricator ticket is that?).
Jonas renamed this task from Add basic style sheets to mobile Wikidata to [Task] Add basic style sheets to mobile Wikidata.Aug 13 2015, 3:23 PM

Change 219963 merged by jenkins-bot:
Add styles for mobile view

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

Bene moved this task from Doing to Done on the Wikidata-Sprint-2015-06-30 board.

The basic stylesheets have been merged. Any further adjustments should remain as simple as possible and get their own ticket.