Page MenuHomePhabricator

Class '.Z3988' is rendered invisible in both mobile wikipedia and android-app for WP without cause.
Closed, ResolvedPublic

Description

Author: gnu1742

Description:
In http://bits.wikimedia.org/w/extensions-1.18/MobileFrontend/stylesheets/default.css?version=01182012210728 there is the following style rule:

.printonly, .geo-multi-punct, .geo-nondefault, .Z3988 { display: none; }

This rule renders any html-Element of the class '.Z3988' invisible. This class is an Element of "OpenURL COinS: A Convention to Embed Bibliographic Metadata in HTML" (see http://ocoins.info/).

Have a look at this Page in both formats: Web and mobile
http://de.wikipedia.org/wiki/Sichtigvor
http://de.wikipedia.org/wiki/Sichtigvor?useformat=mobile

At the very bottom of the pages you find the references, called 'Einzelnachweise'. While the first reference is shown in both web and mobile, the second reference is only shown in web. This happens on a lot of pages in Wikipedia.

In de-wp, COinS is used a lot. It is part of the Template {{Vorlage:Literatur}}, which is used to format bibliographical data in Articles and is one of the most used templates.

This style-rule hides real content so i urge you to remove '.Z3988' from the classes to be hidden.

There is simply no reason to render the content of the span of class '.Z3988' invisible, since the COinS-Data is only included in the title attribute (and therefore isn't rendered at all) of that span and doesn't collide with the content. Even the COinS Generator on http://generator.ocoins.info/?sitePage=info/book.html& generates code, where you can clearly see that the content of the span-Element should be shown.


Version: --
Severity: normal

Details

Reference
bz33906
TitleReferenceAuthorSource BranchDest Branch
maintain-kubeusers: increase quota for mbh toolrepos/cloud/toolforge/toolforge-deploy!212fnegriT359061main
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:03 AM
bzimport set Reference to bz33906.

Hidding Z3988 css class seems to have been done on purpose by Patrick Reilly with r88982.

preilly wrote:

(In reply to comment #1)

Hidding Z3988 css class seems to have been done on purpose by Patrick Reilly
with r88982.

This should now be fixed in r109873.

gnu1742 wrote:

(In reply to comment #2)

This should now be fixed in r109873.

Wow, that was quick. Thank you for fixing this and for noticing that this rule is in the other stylesheets too. Didn't see that.