2011/11/23 Patrick Reilly <preilly(a)wikimedia.org>rg>:
Thanks for the
heads-up Philip. I tried to apply your advice to ro.wp
[1] and it worked only partially: the article of the day and the news
sections appear, but not the "did you know", "on this day" and the
custom "comunitate" sections. Why is that?
Did you add the title attribute?
I figured that out last night with help from Brion and Mark. There was
a mismatch between the docs and the actual code. See
https://bugzilla.wikimedia.org/show_bug.cgi?id=32596
Another question is how do I know in a template that the mobile skin
is active?
Currently you don't as it occurs after the template is parsed.
I've logged this as an enhancement:
https://bugzilla.wikimedia.org/show_bug.cgi?id=32597
It's a shame we have to go through some not-so-nice hacks to make the
content for mobiles different than the one for desktops. Perhaps the
architecture is too iPhone/American oriented? Not all mobile users
have unlimited traffic. Many people around me disable images on mobile
internet.
Hope you will give that some serious thought when the time comes.
Thanks,
Strainu