Automatic Data CanIUse Prototype

Hi, folks-

Just a little progress report on the automatic compatibility information 
tables...

Thanks to the miraculous server debugging powers of Denis, I was able to 
move forward on the prototype for the "CompaTables" extension.

You are probably aware that Alexis Deveria has generously granted us 
permission to use the CanIUse.com data on WPD, and is even allowing us 
to use it under CC-BY.

Denis set up a chron job to pull the CanIUse data from GitHub onto our 
servers on a weekly basis.

I've thrown together a rough prototype of a MediaWiki extension, 
"CompaTables", that formats the CanIUse data into tables (Denis also 
helped with this). You simply include the following element in a page, 
and it inserts a table:
   <compatability feature="[feature name]"> </compatability>


This is still very rough! I don't think it's yet ready for prime time, 
so do not deploy widely yet. But it is a nice proof of concept. This 
paves the way for later integration of QuirksMode and W3C test suite data.

You can read more on the wiki [1][2], and see an example live on the 
'border-radius' article [3].

I welcome feedback on just how we should execute next steps, or just 
thoughts in general. I'm especially interested in figuring out how this 
fits into Doc Sprints and Test the Web Forward.

[1] http://docs.webplatform.org/wiki/WPD:Compatibility_Info
[2] http://docs.webplatform.org/wiki/WPD:Compatibility_Info/Phase_1
[3] http://docs.webplatform.org/wiki/css/properties/border-radius

Regards-
-Doug

Received on Saturday, 30 March 2013 23:05:46 UTC