Hello,
I'm also interested in some kind of easy
"preview how this page will look on mobile" in the editor, which would probably
be a separate thing...
I took the liberty to take this idea and created a sample change for MobileFrontend:
https://gerrit.wikimedia.org/r/#/c/166089/
With this patch you would be able to click "Mobile preview" right next to the
"Show preview" button. In a new tab you will see the parsed content of your edit
in the mobile skin.
I like the whole idea of a mobile preview for desktop editors, so maybe, we can reach this
in any way :)
Freundliche Grüße / Kind regards
Florian
-----Ursprüngliche Nachricht-----
Von: wikitech-l-bounces(a)lists.wikimedia.org
[mailto:wikitech-l-bounces@lists.wikimedia.org] Im Auftrag von Brion Vibber
Gesendet: Mittwoch, 8. Oktober 2014 00:14
An: Wikimedia developers
Betreff: Re: [Wikitech-l] {{TemplatesThatWorkOnMobile}}
On Tue, Oct 7, 2014 at 3:02 PM, Jon Robson <jrobson(a)wikimedia.org> wrote:
On mobile we continuously get bugs related to inline
styles in
templates. For example:
https://bugzilla.wikimedia.org/show_bug.cgi?id=68001
When these happen we usually spend time investigating, discover it is
because of a troublesome inline style in the template and then we
communicate this on the template talk page [1]
However, rarely do these get replies and rarely does anything get fixed.
Am I doing something wrong? Should I be posting these problems
elsewhere? It seems like a lot of templates do not have active
maintainers.
The wiki way is not to ask and wait for someone else to act, but to act directly in good
faith and communicate what you did and why so that if there is disagreement it can be
resolved afterwards.
Ultimately if we're unwilling to help edit and maintain the content and style of the
wikis, we're going to be stuck working around bad styles forever.
There has been an RFC [2] open for ages that when
solved I hope will
lead to lots of discussions between developers and template
maintainers but right now it seems even without the tools we are
failing.
How can we get better at making our template styles more mobile friendly?
[2]
https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_t
emplates
I'd like to revitalize this one; I'll do some testing this weekend and put it on
the agenda for next week's RfC.
I'm also interested in some kind of easy "preview how this page will look on
mobile" in the editor, which would probably be a separate thing...
-- brion
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l