Last modified: 2014-02-12 23:45:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24659, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22659 - Give projects the opportunity to add mobile specific JS/CSS
Give projects the opportunity to add mobile specific JS/CSS
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: High enhancement
: ---
Assigned To: Nobody - You can work on this!
:
: 29634 32910 35018 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-26 20:21 UTC by Derk-Jan Hartman
Modified: 2014-02-12 23:45 UTC (History)
17 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Derk-Jan Hartman 2010-02-26 20:21:46 UTC
Possibly we could do this by importing [[MediaWiki:Handheld.css]] and [[MediaWiki:Handheld.js]], though these are more targeted at the media=handheld version of the mediawiki installation.

This is needed to give projects more control over their elements. They might want to not display certain elements specifically in the mobile interface, or use a different look for certain elements.
Comment 1 Strainu 2010-10-27 21:29:17 UTC
This would most certainly be an important upgrade to Wikipedia mobile. Having all CSS as inline is a problem because we use the same templates for the classic main page and the mobile one, so we always have to work at the last level in the mobile homepage.
Comment 2 Huji 2011-04-22 19:26:16 UTC
This also causes readability issues in RTL wikis. For some reason, the dir="rtl" attrib of the <html> tag is missing some times (separate bug), and the default font used is not suitable for some languages.
Comment 3 Mark A. Hershberger 2011-08-17 23:24:22 UTC
In triage, Patrick pointed out that two CSS stylesheets are used: http://bits.wikimedia.org/w/extensions-1.17/MobileFrontend/stylesheets/iphone.css and http://bits.wikimedia.org/w/extensions-1.17/MobileFrontend/stylesheets/android.css  I asked him about something like Mediawiki:Android.css and he said it'd be possible.  Bumping priority, adding CCs.
Comment 4 Derk-Jan Hartman 2011-12-09 21:52:50 UTC
*** Bug 32910 has been marked as a duplicate of this bug. ***
Comment 5 Derk-Jan Hartman 2011-12-09 21:54:26 UTC
*** Bug 29634 has been marked as a duplicate of this bug. ***
Comment 6 Derk-Jan Hartman 2011-12-23 14:33:38 UTC
Since en.wp started using hlist (which is defined in MediaWiki:Common.css), many elements are broken in mobile.

See for instance the navbar (n * v * e) on navboxes.
http://en.m.wikipedia.org/wiki/Wyrley_and_Essington_Canal
Comment 7 Jon 2012-02-14 12:15:13 UTC
I believe this bug is related somewhat to #30859 [1]

[1] https://bugzilla.wikimedia.org/show_bug.cgi?id=30859
Comment 8 Tomasz Finc 2012-03-12 18:45:46 UTC
*** Bug 35018 has been marked as a duplicate of this bug. ***
Comment 9 Jon 2012-03-28 12:34:16 UTC
*** Bug 34325 has been marked as a duplicate of this bug. ***
Comment 10 Max Semenik 2012-07-05 21:39:01 UTC
https://gerrit.wikimedia.org/r/14419

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links