Page MenuHomePhabricator

css on hebrew wikipedia
Closed, ResolvedPublic

Description

Moving from : https://translatewiki.net/wiki/Thread:User_talk:Hcatlin/css_on_hebrew_wikipedia

Hi.
first, in case you are not the right person to ask this, i apologize. if by any chance you actually know who *is* the right person, i would be very grateful if you could indicate it.

continuing with the assumption you *are* the right person:
so we needed to add some mobile/handheld specific css on hebrew wikipedia, and it turns out we do not know exactly how to do it.

First, we added a new file: http://he.wikipedia.org/wiki/Mediawiki:Handheld.css Adding the file was not a problem, but it does not seem that the handheld devices actually load it.
the documentation for $wgHandheldStyle actually says that not all handhelds will load this file.
it seem that the only css loaded on hebrew wikipedia for mobiles/handhelds is: http://he.m.wikipedia.org/stylesheets/default.css
however, nobody in he wiki has the permissions required to edit this file. so:
again, if you are not the right person to ask this - apologies
if there is some magic incantation by which we can gain control over our handheld-css - we'll be thrilled to learn.
failing that, could you please add the following to our css (whatever it mab be)?
.wpAbbreviation:after { content: " (" attr(title) ")"; }
abbr.wpAbbreviation { border: none;}
(these two lines will help us deal with "abbreviations", which behave differently, as the abbr actually rely on the tooltip, and many handhelds can't deal with tooltips).
peace, קיפודנחש 21:19, 26 June 2011 (UTC)
More
קיפודנחש‎21:19, 26 June 2011


Version: unspecified
Severity: normal

Details

Reference
bz29634

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:37 PM
bzimport set Reference to bz29634.
bzimport added a subscriber: Unknown Object (MLST).

$wgHandheldStyle and MediaWiki:Handheld.css are for clients accessing the *regular* web site with a browser that looks for stylesheets of "handheld" type, which some older-fashioned mobile phone & kindle browsers will read in place of the regular styles.

This does not include many (any?) modern smartphones, nor will it have any affect on the m.wikipedia.org converter.

  • This bug has been marked as a duplicate of bug 22659 ***