User "Brion VIBBER" posted a comment on MediaWiki.r103254.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/103254#c26079
Commit summary:

tweaks & more in readme

Comment:

The differences seem to be mostly in fairly small details: hide some things 
here, shove some things in a popup there, be more compact here, be less compact 
there. A lot of that is indeed trivial CSS. Some things will require different 
logic in the JS, but would be checking against the same sort of thing (and 
perhaps actually piggybacking on the CSS media query system to do it, for 
consistency).

The overall logic, behavior, widget sets, etc are mostly common; it makes a lot 
of sense to share an implementation. This also allows dynamically switching 
modes -- if you pull this up in a desktop browser, it simply *poof* switches 
over as you resize above or below 640px wide.

On an iPhone or iPad you'll generally not have a chance to resize live, but 
some web-app-ish systems (for instance Windows 8's Metro-style environment) do 
provide for splitting a large screen between two panes, and you may end up 
narrower or wider than you were before -- so this is a realistic scenaior for a 
mobile/tablet web site or HTML-based application.


_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to