Making MediaWiki Mobile Friendly/da

The purpose of this page is to identify known problems with MediaWiki pages (including Wikipedia) when displayed via the extension and provide a method of resolution. As common inline styling problems are discovered they will be listed here with a suggested way of fixing them. Known pages that exhibit the problem will eventually be linked to from this page.

Any help you can give fixing these problems would be much appreciated.

This page is watched so if you find something that renders incorrectly on the mobile site please record it here and as a community we can come to an agreement of how to resolve, list effected pages and together fix them up.

Two column layouts


Problem: Certain pages (mostly portals) have two column layouts which do not work on mobile

Cause: These tend to be caused by inline styles in one of the following forms

Resolution: Replace inline styles with generic two column layout classes ([//en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&oldid=499525120 on English Wikipedia]: portal-column-left-wide, portal-column-left, portal-column-right, portal-column-right-narrow) so stylesheets can feature rules to deal with these on smaller screens

Eksempler: [//en.wikipedia.org/w/index.php?title=Portal:Missouri&diff=prev&oldid=495624262 Portal:Missouri]

Pages effected:

Use of column-count


Problem: Certain pages have reference/note pages that appear squashed on mobile

Cause: These pages make use of the column-count css property.

Resolution: We should introduce a class in the affected wiki's MediaWiki:Common.css that provides this column-count property rather than placing it in an inline style ([//en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_14#Column-count_usage_across_Wikipedia see here]). We should then cleanup articles to use this class instead (e.g. column-count:4; is replaced by use of class .column-count-4).
 * Is not making use of column-width instead of column-count a better solution? Se også: MediaWiki talk:Common.css/Archive 14#Column-count usage across Wikipedia.

TheDJ (talk) 20:51, 5 June 2012 (UTC)

Eksempler: N/A

Påvirkede sider:

Template for broken style
Please copy this section to record a new problem above.

indsæt et billede her

Problem: Explain the image above outlining what the problem is

Cause: Explain what styling is causing this problem.

Resolution: Describe a resolution to the problem

Examples: link to a fix in the diff

Pages effected: This should link to a list of articles that are effected by the problem. Lists can be generated by downloading a dump of latest articles and grepping for pattern