Last modified: 2012-02-27 19:51:37 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 T35906, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33906 - Class '.Z3988' is rendered invisible in both mobile wikipedia and android-app for WP without cause.
Class '.Z3988' is rendered invisible in both mobile wikipedia and android-app...
Status: RESOLVED FIXED
Product: Wikimedia Mobile
Classification: Unclassified
Generic (Other open bugs)
--
All All
: Unprioritized normal (vote)
: ---
Assigned To: Tomasz Finc
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-23 14:46 UTC by Gnu1742
Modified: 2012-02-27 19:51 UTC (History)
3 users (show)

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


Attachments

Description Gnu1742 2012-01-23 14:46:14 UTC
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.
Comment 1 Antoine "hashar" Musso (WMF) 2012-01-23 15:12:18 UTC
Hidding Z3988 css class seems to have been done on purpose by Patrick Reilly with r88982.
Comment 2 Patrick Reilly 2012-01-23 23:37:37 UTC
(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.
Comment 3 Gnu1742 2012-01-24 05:24:31 UTC
(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.

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


Navigation
Links