<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>leŭksman</title>
	<atom:link href="http://leuksman.com/log/feed/" rel="self" type="application/rss+xml" />
	<link>http://leuksman.com/log</link>
	<description>reticula, electronica, &#38; oddities</description>
	<lastBuildDate>Sun, 29 Apr 2012 01:26:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Old DOS programs: &#8216;Vaders</title>
		<link>http://leuksman.com/log/2012/04/28/old-dos-programs-vaders/</link>
		<comments>http://leuksman.com/log/2012/04/28/old-dos-programs-vaders/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 01:26:51 +0000</pubDate>
		<dc:creator>brion</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://leuksman.com/log/?p=1073</guid>
		<description><![CDATA[I found a bunch of my old DOS files recently, including bunches of little BASIC, Pascal, and C programs from the &#8217;90s. Here&#8217;s one of my old DOS games, a little text mode-based Space Invaders clone written in QuickBASIC and now ported to HTML5. If you die, reload the page to restart the game. &#8216;Vaders!]]></description>
			<content:encoded><![CDATA[<p>I found a bunch of my old DOS files recently, including bunches of little BASIC, Pascal, and C programs from the &#8217;90s.</p>
<p>Here&#8217;s one of my old DOS games, a little text mode-based <a href="https://en.wikipedia.org/wiki/Space_Invaders">Space Invaders</a> clone written in QuickBASIC and now ported to HTML5. If you die, reload the page to restart the game.</p>
<p><strong><a href="http://brionv.com/vaders/">&#8216;Vaders</a>!</strong></p>
<p><a href="http://brionv.com/vaders/"><img class="aligncenter size-medium wp-image-1074" title="vaders-screenshot" src="http://leuksman.com/log/wp-content/uploads/2012/04/vaders-screenshot-300x194.png" alt="" width="300" height="194" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://leuksman.com/log/2012/04/28/old-dos-programs-vaders/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tabletization of Android, iOS Wikipedia apps beginning</title>
		<link>http://leuksman.com/log/2012/01/16/tabletization-of-android-ios-wikipedia-apps-beginning/</link>
		<comments>http://leuksman.com/log/2012/01/16/tabletization-of-android-ios-wikipedia-apps-beginning/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 05:03:05 +0000</pubDate>
		<dc:creator>brion</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://leuksman.com/log/?p=1070</guid>
		<description><![CDATA[State of current master in github for iOS (note the mixed, incomplete icons on the toolbar, and the laundry list of things that don&#8217;t work): &#160; Also a not yet fully-functional mockup for Android tablets:]]></description>
			<content:encoded><![CDATA[<p>State of current master in github for iOS (note the mixed, incomplete icons on the toolbar, and the <a href="https://www.mediawiki.org/wiki/Mobile/PhoneGap/iOS_build_instructions#Notes">laundry list of things that don&#8217;t work</a>):</p>
<p><a href="https://www.mediawiki.org/wiki/Mobile/PhoneGap/iOS_build_instructions"><img class="alignnone" src="https://upload.wikimedia.org/wikipedia/mediawiki/thumb/a/a4/Mobile_app_running_in_iOS_simulator.png/240px-Mobile_app_running_in_iOS_simulator.png" alt="" width="240" height="451" /></a><a href="https://www.mediawiki.org/wiki/Mobile/PhoneGap/iOS_build_instructions"><img class="alignnone" src="https://upload.wikimedia.org/wikipedia/mediawiki/thumb/d/d6/Mobile_app_in_iPad_simulator.png/480px-Mobile_app_in_iPad_simulator.png" alt="" width="480" height="391" /></a></p>
<p>&nbsp;</p>
<p>Also a not yet fully-functional <a href="https://www.mediawiki.org/wiki/Mobile_mockups_for_Android_style#darktheme">mockup for Android tablets</a>:</p>
<p><a href="https://www.mediawiki.org/wiki/Mobile_mockups_for_Android_style#darktheme"><img class="alignnone" src="https://upload.wikimedia.org/wikipedia/mediawiki/thumb/0/0d/Honeycomb_app_mockup.png/480px-Honeycomb_app_mockup.png" alt="" width="480" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://leuksman.com/log/2012/01/16/tabletization-of-android-ios-wikipedia-apps-beginning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mostly mobile monkeying</title>
		<link>http://leuksman.com/log/2012/01/05/mostly-mobile-monkeying/</link>
		<comments>http://leuksman.com/log/2012/01/05/mostly-mobile-monkeying/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 02:06:11 +0000</pubDate>
		<dc:creator>brion</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">https://leuksman.com/log/2012/01/05/mostly-mobile-monkeying/</guid>
		<description><![CDATA[Mostly poked at mobile today - switched it from an iframe to loading into a div, fixing some of our scroll &#038; click through issues and fixing it for Android 4. Experimented with iscroll 4 library to handle the scrolling and add zoom, but too slow for now. A little more poking at EmbedScript experiment; [...]]]></description>
			<content:encoded><![CDATA[<p><u>Mostly</u><u> </u><u>poked</u><u> </u><u>at</u><u> </u><u>mobile</u><u> </u><u>today</u><u> </u><u>-</u><u> </u><u>switched</u><u> </u><u>it</u><u> </u><u>from</u><u> </u><u>an</u><u> </u><u>iframe</u><u> </u><u>to</u><u> </u><u>loading</u><u> </u><u>into</u><u> </u><u>a</u><u> </u><u>div</u><u>, </u><u>fixing</u><u> </u><u>some</u><u> </u><u>of</u><u> </u><u>our</u><u> </u><u>scroll</u><u> &#038; </u><u>click through</u><u> </u><u>issues</u><u> </u><u>and</u><u> </u><u>fixing</u><u> </u><u>it</u><u> </u><u>for</u><u> </u><u>Android</u><u> 4.</u></p>
<p><u>Experimented</u><u> </u><u>with</u><u> </u><u>iscroll</u><u> 4 </u><u>library</u><u> </u><u>to</u><u> </u><u>handle</u><u> </u><u>the</u><u> </u><u>scrolling</u><u> </u><u>and</u><u> </u><u>add</u><u> </u><u>zoom</u><u>, </u><u>but</u><u> </u><u>too</u><u> </u><u>slow</u><u> </u><u>for</u><u> </u><u>now</u><u>.</u></p>
<p><u>A</u><u> </u><u>little</u><u> </u><u>more</u><u> </u><u>poking</u><u> </u><u>at</u><u> </u><u>EmbedScript</u><u> </u><u>experiment</u><u>; </u><u>I</u><u> </u><u>have</u><u> </u><u>a</u><u> </u><u>sandbox</u><u> </u><u>domain</u><u> temp</u>orarily on a Wikimedia Labs VM. Will show off more on this later.</p>
]]></content:encoded>
			<wfw:commentRss>http://leuksman.com/log/2012/01/05/mostly-mobile-monkeying/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Wiki script embedding tests: Mandelbrot generator</title>
		<link>http://leuksman.com/log/2011/12/31/wiki-script-embedding-tests-mandelbrot-generator/</link>
		<comments>http://leuksman.com/log/2011/12/31/wiki-script-embedding-tests-mandelbrot-generator/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 23:59:09 +0000</pubDate>
		<dc:creator>brion</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://leuksman.com/log/?p=1066</guid>
		<description><![CDATA[I&#8217;ve been doing some experiments with finding ways to bring more interactive features into Wikipedia and other wikis. Articles can be spruced up nicely in many ways &#8212; interactive maps that let you zoom or change time, graphs that allow you to change the parameters, diagrams showing moving parts&#8230; So an extension to sandbox and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing some experiments with finding ways to bring more interactive features into Wikipedia and other wikis. Articles can be spruced up nicely in many ways &#8212; interactive maps that let you zoom or change time, graphs that allow you to change the parameters, diagrams showing moving parts&#8230;</p>
<p>So an <a href="Extension:EmbedScript">extension to sandbox and run custom JavaScript widgets</a> should be a useful direction to go in&#8230; my first test is a <a href="https://en.wikipedia.org/wiki/Mandelbrot_set">Mandelbrot set</a> generator:</p>
<p><a href="https://www.mediawiki.org/wiki/Extension:EmbedScript"><img class="aligncenter" title="Mandelbrot demo" src="https://upload.wikimedia.org/wikipedia/mediawiki/thumb/e/e2/Mandelbrot_EmbedScript_screenshot.png/320px-Mandelbrot_EmbedScript_screenshot.png" alt="" width="320" height="240" /></a></p>
<p>The extension separates the JavaScript contexts by using an iframe and a small sandbox page hosted on a separate domain, leaving the details of security to the browser&#8217;s existing same-origin systems. This gives nearly full power to the script &#8212; you could even use 3d WebGL rendering in supported browsers! &#8212; without giving it any direct access to users&#8217; sessions on the wiki.</p>
<p>Will try to set up a publicly-usable sandbox page on Wikimedia Labs next week and play with it some more; maybe a gadget to do live-wiki testing with an opt-in. <img src='http://leuksman.com/log/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://leuksman.com/log/2011/12/31/wiki-script-embedding-tests-mandelbrot-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Galaxy Nexus first weekend impressions</title>
		<link>http://leuksman.com/log/2011/12/18/galaxy-nexus-first-weekend-impressions/</link>
		<comments>http://leuksman.com/log/2011/12/18/galaxy-nexus-first-weekend-impressions/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 05:04:02 +0000</pubDate>
		<dc:creator>brion</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://leuksman.com/log/?p=1060</guid>
		<description><![CDATA[My Galaxy Nexus arrived in the mail on Friday; I&#8217;ve been fiddling with it intermittently since. (You&#8217;ll go blind!) Some first &#38; second impressions: It&#8217;s huge. It feels like being a little kid trying to use some giant remote control&#8230; it&#8217;s just big enough to feel awkward in my hand, and to make one-handed usage [...]]]></description>
			<content:encoded><![CDATA[<p>My Galaxy Nexus arrived in the mail on Friday; I&#8217;ve been fiddling with it intermittently since. (You&#8217;ll go blind!)</p>
<p>Some first &amp; second impressions:</p>
<ul>
<li>It&#8217;s huge. It feels like being a little kid trying to use some giant remote control&#8230; it&#8217;s just big enough to feel awkward in my hand, and to make one-handed usage difficult with some thumb stretching. We&#8217;ll see if I get used to it&#8230;</li>
<li>The screen feels slightly smaller than it &#8220;really&#8221; is thanks to the use of the bottom edge for software buttons replacing the classic Android hardware buttons &#8212; so it&#8217;s not *as* big as you&#8217;d think from &#8217;4.65&#8243; screen&#8217;. But that space is now reclaimable, and it turns out to be useful when watching full-screen video.</li>
<li>The extra high-density screen is beautiful! At regular viewing distance, text is almost as sharp as on my iPod Touch&#8217;s Retina display. The hex tile layout of the OLED pixels is much less visible than on my older Nexus One.</li>
<li>Having decent internal storage and ditching the awful SD card has made storage management much easier &#8212; my Nexus One was constantly whinging that it was out of internal storage space despite having gigs free on the SD card.</li>
<li>Interactive performance is MUCH snappier than previous devices I&#8217;ve used, and comes closer to what iOS usually manages.</li>
<li>Sometimes the Google folks are going overboard on icons; it took me a while to figure out what the hell all the buttons in their Gmail app did since they switched them all from nice obvious buttons like &#8220;Archive&#8221; to mysterious icons.</li>
<li>Our Wikipedia Android app is totally broken on Android 4; we knew that on the emulator, but it&#8217;s muuuuch easier to test it on the real device. Some things are being fixed upstream in PhoneGap, others we&#8217;ll still have to work out&#8230;</li>
<li>Transferring devices on Android isn&#8217;t quite as easy as iOS. With iOS, I can restore a complete backup of all my application data and preferences from one devices to another via iTunes: my new iPod Touch was restored from my old iPhone 3Gs which I can&#8217;t even find anymore (it&#8217;s in the apartment *somewhere*) and updated pretty smoothly. The Galaxy Nexus was able to restore some settings and applications from the &#8216;backup to Google&#8217;, but not everything. Many apps needed to be manually reinstalled and/or reconfigured for accounts; games have lost high scores and achievements etc. Arranging my apps on my home screen again was a painstaking task, and very annoying.</li>
<li>I remember it being a big deal that you can get to the Camera app directly from the lock screen in Android 4 &#8212; but apparently this only goes for if you don&#8217;t have a &#8230;. lock &#8230; on the lock screen. Add pattern lock, and that feature&#8217;s gone. Camera is not in fact locked down so that you can activate it and take photos without going through your unlock code. D&#8217;oh!</li>
<li>I CAN TAKE SCREENSHOTS! FINALLY! THIS IS GOOD!!!!!!! Press power and volume-down and hold for a moment; it&#8217;ll do a cute visual transition showing your screenshot and give you a notification that lets you call it back up to view or share it.</li>
<li>Did I mention it&#8217;s really huge? It feels like it&#8217;ll fall out of my pocket at any moment. <img src='http://leuksman.com/log/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </li>
<li>Haven&#8217;t had much chance to test 3G/4G reception yet, though the rumor is Verizon will do better in the subway than AT&amp;T. We&#8217;ll see on Monday!</li>
</ul>
<p>What I kinda want is the same phone, but with a 4&#8243; diagonal screen at 1024&#215;640. Make it fit the hand better, rather than going for that hugeness. I don&#8217;t watch a lot of movies on my phones, but I do hold it in one hand and read/write news &amp; messages every day.</p>
]]></content:encoded>
			<wfw:commentRss>http://leuksman.com/log/2011/12/18/galaxy-nexus-first-weekend-impressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mostly mobile stuff; Android RC soon!</title>
		<link>http://leuksman.com/log/2011/12/16/mostly-mobile-stuff-android-rc-soon/</link>
		<comments>http://leuksman.com/log/2011/12/16/mostly-mobile-stuff-android-rc-soon/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 00:40:44 +0000</pubDate>
		<dc:creator>brion</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://leuksman.com/log/?p=1058</guid>
		<description><![CDATA[Mostly been tearing things up on the mobile app last couple days; we should have a first release candidate for Android this weekend or early next week! Also some patch reviews on bugzilla today, nice change of pace.]]></description>
			<content:encoded><![CDATA[<p>Mostly been tearing things up on the mobile app last couple days; we should have a first release candidate for Android this weekend or early next week!</p>
<p>Also some patch reviews on bugzilla today, nice change of pace. <img src='http://leuksman.com/log/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://leuksman.com/log/2011/12/16/mostly-mobile-stuff-android-rc-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wheeeee</title>
		<link>http://leuksman.com/log/2011/12/14/wheeeee/</link>
		<comments>http://leuksman.com/log/2011/12/14/wheeeee/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 01:23:00 +0000</pubDate>
		<dc:creator>brion</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://leuksman.com/log/?p=1056</guid>
		<description><![CDATA[We launched an early developer demo of the editing surface for our upcoming Visual Editor project yesterday &#8212; lots of great feedback! I filed some bugs myself testing it on mobile devices, which haven&#8217;t got a lot of testing yet. Today: poked at some visual editor feedback &#38; bug entries poked at some mobile feedback [...]]]></description>
			<content:encoded><![CDATA[<p>We <a href="https://blog.wikimedia.org/2011/12/13/help-test-the-first-visual-editor-developer-prototype/">launched an early developer demo of the editing surface for our upcoming Visual Editor</a> project yesterday &#8212; lots of great feedback! I filed some bugs myself testing it on mobile devices, which haven&#8217;t got a lot of testing yet. <img src='http://leuksman.com/log/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Today:</p>
<ul>
<li>poked at some visual editor feedback &amp; bug entries</li>
<li>poked at some mobile feedback &amp; bug entries</li>
<li>pushed initial code for switching languages on an article in android app <a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=33012">https://bugzilla.wikimedia.org/show_bug.cgi?id=33012</a></li>
<li>reviewed &amp; rated mobile upload entries from the october coding challenge <a href="https://www.mediawiki.org/wiki/October_2011_Coding_Challenge/Submissions">https://www.mediawiki.org/wiki/October_2011_Coding_Challenge/Submissions</a></li>
<li>reviewed a couple login-related bits for mobile</li>
<li>peeked at LocalWiki&#8217;s cool map-editing stuff <a href="https://sf.localwiki.org/map/">https://sf.localwiki.org/map/</a></li>
<li>signed up for PhoneGap meetup in January that we&#8217;re apparently presenting? <img src='http://leuksman.com/log/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   <a href="http://www.meetup.com/PhoneGap-SF/events/39447102/">http://www.meetup.com/PhoneGap-SF/events/39447102/</a></li>
<li>sent out reminders of our January hackathon in San Francisco <a href="https://www.mediawiki.org/wiki/San_Francisco_Hackathon_January_2012">https://www.mediawiki.org/wiki/San_Francisco_Hackathon_January_2012</a></li>
<li>finished some expense reports from New Orleans *cough*</li>
<li>fixed JS test regression in IE from <a href="https://www.mediawiki.org/wiki/Special:Code/MediaWiki/105560">https://www.mediawiki.org/wiki/Special:Code/MediaWiki/105560</a></li>
<li>applied MrBlueSky&#8217;s patch for associated namespace checkbox on special:contribs &#8211; <a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=32512">https://bugzilla.wikimedia.org/show_bug.cgi?id=32512</a>. Should be no harder on the DB than we already have based on the indexes. <img src='http://leuksman.com/log/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>more bug lookovers</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://leuksman.com/log/2011/12/14/wheeeee/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Top Ten Good Things About Taking Off Your Glasses</title>
		<link>http://leuksman.com/log/2011/12/10/top-ten-good-things-about-taking-off-your-glasses/</link>
		<comments>http://leuksman.com/log/2011/12/10/top-ten-good-things-about-taking-off-your-glasses/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 21:39:43 +0000</pubDate>
		<dc:creator>brion</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://leuksman.com/log/?p=1050</guid>
		<description><![CDATA[helps avoid visual distractions: you can&#8217;t worry about what you can&#8217;t see make your games run faster by cranking the resolution down gives excuse to play with browser&#8217;s zoom feature final step of all &#8217;80s movie makeovers get to bellyache about them whippersnappers with their tiny displays that are so hard to read dovetails with [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li value="10">helps avoid visual distractions: you can&#8217;t worry about what you can&#8217;t see</li>
<li value="9">make your games run faster by cranking the resolution down</li>
<li value="8">gives excuse to play with browser&#8217;s zoom feature</li>
<li value="7">final step of all &#8217;80s movie makeovers</li>
<li value="6">get to bellyache about them whippersnappers with their tiny displays that are so hard to read</li>
<li value="5">dovetails with nostalgia for &#8217;80s PC and video game graphics</li>
<li value="4">blurry icons in your mobile app no longer concern you</li>
<li value="3">looks sweet if you do it all dramatic</li>
<li value="2">avoid that annoying line where the edge of your glasses cuts off the bottom inch of your monitor in one eye when you&#8217;re parked on the couch with your laptop</li>
<li value="1">leave secret identity behind to become Superman</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://leuksman.com/log/2011/12/10/top-ten-good-things-about-taking-off-your-glasses/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Image page mockup for mobile</title>
		<link>http://leuksman.com/log/2011/12/08/1045/</link>
		<comments>http://leuksman.com/log/2011/12/08/1045/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 01:04:58 +0000</pubDate>
		<dc:creator>brion</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://leuksman.com/log/?p=1045</guid>
		<description><![CDATA[I went ahead and did a quick mockup for some modified JavaScript and CSS for image pages on our mobile interface. Here&#8217;s a live demo: http://toolserver.org/~brion/mockups/mobile-imagepage/ This is using the current existing File: page markup and modifying it with CSS and JavaScript: the extra data sections are hidden by default except for the image, so [...]]]></description>
			<content:encoded><![CDATA[<p>I went ahead and did a quick mockup for some modified JavaScript and CSS for image pages on our mobile interface. Here&#8217;s a live demo:</p>
<p><a href="http://toolserver.org/~brion/mockups/mobile-imagepage/">http://toolserver.org/~brion/mockups/mobile-imagepage/</a></p>
<p style="text-align: center;"><a href="http://leuksman.com/log/wp-content/uploads/2011/12/device-2011-12-08-170001.png"><img class="aligncenter size-full wp-image-1046" title="device-2011-12-08-170001" src="http://leuksman.com/log/wp-content/uploads/2011/12/device-2011-12-08-170001.png" alt="" width="288" height="480" /></a><br />
This is using the current existing File: page markup and modifying it with CSS and JavaScript:</p>
<ul>
<li>the extra data sections are hidden by default except for the image, so they don&#8217;t get in the way</li>
<li>link bar at top is reformatted and links are used to show/hide each section instead of jumping around</li>
<li>the image itself is sized down to fit the screen, but using the same medium-resolution version that we started with</li>
</ul>
<p>I also changed the viewport settings to allow zooming in, which we&#8217;ve been thinking about doing anyway.</p>
<p>Result is:</p>
<ul>
<li>by default there&#8217;s less clutter on screen</li>
<li> by default the image fits</li>
<li>auto-scales to fit when changing orientation</li>
<li>on high-resolution screens (iOS with Retina display, Android with 240dpi or 320dpi display) the picture appears much sharper</li>
<li>can zoom in for more detail with standard pinch-to-zoom</li>
</ul>
<p>Confirmed that it works in at least iOS 5 Safari and Android 2.3.6 Browser, haven&#8217;t tested all other things.</p>
<p>Checked in with Phil &amp; Patrick &#8212; we think this is a good direction to start with and should be easy to include in MobileFrontend extension (it&#8217;s a conservative change that doesn&#8217;t alter any HTML of the page itself, and just adds some CSS/JS that will be easy to keep and port in future).</p>
<p>Any comments, ideas? For instance the initial view could be made more &#8216;image viewer&#8217;-y by centering things, removing some extra links or reformatting them, etc</p>
]]></content:encoded>
			<wfw:commentRss>http://leuksman.com/log/2011/12/08/1045/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fixing portal styles for mobile</title>
		<link>http://leuksman.com/log/2011/12/07/fixing-portal-styles-for-mobile/</link>
		<comments>http://leuksman.com/log/2011/12/07/fixing-portal-styles-for-mobile/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 00:54:10 +0000</pubDate>
		<dc:creator>brion</dc:creator>
				<category><![CDATA[devel]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://leuksman.com/log/?p=1040</guid>
		<description><![CDATA[Wednesday! took cats to vet&#8230; misc bug notes a little more banging at Firefox/Android investigated page formatting problems in en.wikipedia Portal pages on mobile (bug 32123 and friends) started on some classes in Common.css for the two-column layouts, designed to devolve automatically to single-column on narrow windows and mobile. Added to Portal:Literature and its &#8216;related&#8217; [...]]]></description>
			<content:encoded><![CDATA[<div id="magicdomid83">Wednesday!</div>
<div id="magicdomid206">
<ul>
<li>took cats to vet&#8230;</li>
</ul>
</div>
<div id="magicdomid520">
<ul>
<li>misc bug notes</li>
</ul>
</div>
<div id="magicdomid549">
<ul>
<li>a little more banging at Firefox/Android</li>
</ul>
</div>
<div id="magicdomid574">
<ul>
<li>investigated page formatting problems in en.wikipedia Portal pages on mobile (<a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=32123"><a href="http://bugzilla.wikimedia.org/show_bug.cgi?id=32123">bug 32123</a> and friends</a>)</li>
</ul>
</div>
<div id="magicdomid647">
<ul>
<li>started on some classes in Common.css for the two-column layouts, designed to devolve automatically to single-column on narrow windows and mobile. Added to <a href="http://leuksman.com/pages/Portal%3ALiterature">Portal:Literature</a> and its &#8216;related&#8217; portals with good results, but incomplete.</li>
</ul>
</div>
<div id="magicdomid804">
<ul>
<li>Biggest remaining issue in those portals is hardcoded tables of links / icons to other related portals. Starting to replace that with a more modern structure that&#8217;ll be easier to modify, and also fits both large and small screens. (Similar to &lt;gallery&gt; which used to be a fixed table and now fills your available area.)</li>
</ul>
</div>
<div id="magicdomid845">
<ul>
<li>Some conversations in progress at &lt;<a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Common.css#Portal_column_width_vs_narrow_and_mobile_screens">https://en.wikipedia.org/wiki/MediaWiki_talk:Common.css#Portal_column_width_vs_narrow_and_mobile_screens</a>&gt;</li>
</ul>
</div>
<div id="magicdomid866">
<ul>
<li>another misc bug pass&#8230;</li>
</ul>
</div>
<div id="magicdomid844">
<ul>
<li>Heading off to Firefox/Android meetup @ Mozilla SF in a bit</li>
</ul>
<p><a href="http://leuksman.com/log/wp-content/uploads/2011/12/iOS-Simulator-Screen-shot-Dec-7-2011-4.27.19-PM.png"><img class="aligncenter size-full wp-image-1041" title="iOS Simulator Screen shot Dec 7, 2011 4.27.19 PM" src="http://leuksman.com/log/wp-content/uploads/2011/12/iOS-Simulator-Screen-shot-Dec-7-2011-4.27.19-PM.png" alt="" width="320" height="480" /></a>vs before:</p>
<p><a href="http://leuksman.com/log/wp-content/uploads/2011/12/iOS-Simulator-Screen-shot-Dec-7-2011-1.38.22-PM1.png"><img class="aligncenter size-full wp-image-1043" title="iOS Simulator Screen shot Dec 7, 2011 1.38.22 PM" src="http://leuksman.com/log/wp-content/uploads/2011/12/iOS-Simulator-Screen-shot-Dec-7-2011-1.38.22-PM1.png" alt="" width="320" height="480" /></a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://leuksman.com/log/2011/12/07/fixing-portal-styles-for-mobile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

