Skip to content

Instantly share code, notes, and snippets.

View WebPlatformDocs's full-sized avatar

WebPlatform Docs WebPlatformDocs

View GitHub Profile
@WebPlatformDocs
WebPlatformDocs / LocalSettings.php
Last active August 29, 2015 14:05
MediaWiki 1.24wmf16 config for WebPlatform Docs
<?php
# vi set ai syntax=php
// Managed by Salt Stack, please DO NOT TOUCH, or ALL CHANGES WILL be LOST!
#error_reporting(0);
#
# Redis job servers
@WebPlatformDocs
WebPlatformDocs / dabblet.css
Created August 20, 2014 22:55
The first commented line is your codelet’s title
/**
* The first commented line is your codelet’s title
*/
p {
color: #f06;
font: italic 200% Georgia, serif;
transition: 1s cubic-bezier(.2,.6,.8,.8);
width: 400px;
}

Compatibility tables: Changing forms to use new system

Current situation

We have Template:CSS_Property included in all CSS properties showing output of compatibility tables.

It assumes that the last part of the current page name MATCHES EXACTLY the same thing as inside the compat data JSON file. Which is not ideal.

For example:

@WebPlatformDocs
WebPlatformDocs / dabblet.css
Created July 9, 2014 03:10
attributes example
/**
* attributes example
*/
@WebPlatformDocs
WebPlatformDocs / dabblet.css
Created July 8, 2014 23:04
navigator.getMedia example
/**
* navigator.getMedia example
*/
@WebPlatformDocs
WebPlatformDocs / dabblet.css
Created July 7, 2014 11:41
[object Navigator]
/**
* [object Navigator]
*/
@WebPlatformDocs
WebPlatformDocs / dabblet.css
Created July 3, 2014 05:55
mousemove event sample... cursor crosshairs.
/**
* mousemove event sample... cursor crosshairs.
*/
@WebPlatformDocs
WebPlatformDocs / dabblet.css
Created July 3, 2014 05:46
mousemove event sample... cursor crosshairs.
/**
* mousemove event sample... cursor crosshairs.
*/
@WebPlatformDocs
WebPlatformDocs / dabblet.css
Created July 3, 2014 05:04
mousemove event sample... cursor crosshairs.
/**
* mousemove event sample... cursor crosshairs.
*/
@WebPlatformDocs
WebPlatformDocs / dabblet.css
Created July 2, 2014 07:19
mouseleave event sample
/**
* mouseleave event sample
*/