In the 2+ years I've been at the Foundation a recurring email thread / bug reports have been in the form "X page doesn't render on mobile" or "Can I have a nodesktop/mobileonly class?"
The problem is almost always an issue such as a huge margin left, or some floating or fixed width css.
The answer to doing this is to provide a tool for wiki editors to allow them to fix these kinds of problems.
There is an RFC [1] open with a suggested solution, and all that is needed now is to implement it.
The general consensus was people wanted <style> tags. The original proof of concept however used a separate page (Template:Foo would have a corresponding stylesheet at Template:Foo.css) which was much easier to implement.
I truly believe implementing this would reduce the bugs raised about template specific problems, and lead to a better mobile experience. Is this something the mobile team can schedule time for, or some other team?
[1] https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templat...
I could see that being really useful for our editing community at large. When implemented we could reach out to editors and fix a good chunk of the long standing issues that have plagued these pages.
Jon, do you imagine this as a mobile preview, editor, other?
Also, how do you imagine it working with the various responsive design plugins that are available for browsers?
eager to see where we take this
--tomasz
On Tue, Sep 9, 2014 at 2:08 PM, Jon Robson jdlrobson@gmail.com wrote:
In the 2+ years I've been at the Foundation a recurring email thread / bug reports have been in the form "X page doesn't render on mobile" or "Can I have a nodesktop/mobileonly class?"
The problem is almost always an issue such as a huge margin left, or some floating or fixed width css.
The answer to doing this is to provide a tool for wiki editors to allow them to fix these kinds of problems.
There is an RFC [1] open with a suggested solution, and all that is needed now is to implement it.
The general consensus was people wanted <style> tags. The original proof of concept however used a separate page (Template:Foo would have a corresponding stylesheet at Template:Foo.css) which was much easier to implement.
I truly believe implementing this would reduce the bugs raised about template specific problems, and lead to a better mobile experience. Is this something the mobile team can schedule time for, or some other team?
[1] https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templat...
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
I'm a little confused. Essentially this would allow an editor to do <style>.foo { width: 700px; }</style> <div class="foo"></div>
rather than <div style="width:700px"></div> which is currently the case.
The former is obviously preferable from a mobile perspective as it allows you to use media queries and style things better on mobile.
I think what you are talking about is something we would need to think about once such a thing is in place.
On Thu, Sep 11, 2014 at 6:31 PM, Tomasz Finc tfinc@wikimedia.org wrote:
I could see that being really useful for our editing community at large. When implemented we could reach out to editors and fix a good chunk of the long standing issues that have plagued these pages.
Jon, do you imagine this as a mobile preview, editor, other?
Also, how do you imagine it working with the various responsive design plugins that are available for browsers?
eager to see where we take this
--tomasz
On Tue, Sep 9, 2014 at 2:08 PM, Jon Robson jdlrobson@gmail.com wrote:
In the 2+ years I've been at the Foundation a recurring email thread / bug reports have been in the form "X page doesn't render on mobile" or "Can I have a nodesktop/mobileonly class?"
The problem is almost always an issue such as a huge margin left, or some floating or fixed width css.
The answer to doing this is to provide a tool for wiki editors to allow them to fix these kinds of problems.
There is an RFC [1] open with a suggested solution, and all that is needed now is to implement it.
The general consensus was people wanted <style> tags. The original proof of concept however used a separate page (Template:Foo would have a corresponding stylesheet at Template:Foo.css) which was much easier to implement.
I truly believe implementing this would reduce the bugs raised about template specific problems, and lead to a better mobile experience. Is this something the mobile team can schedule time for, or some other team?
[1] https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templat...
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l