Difference between revisions of "Sandbox"

From Sugar Labs
Jump to: navigation, search
(test interwiki image links)
Line 17: Line 17:
 
: [[olpc:File:Activity_browse.jpg|right|400px|thumb|Browse activity]]
 
: [[olpc:File:Activity_browse.jpg|right|400px|thumb|Browse activity]]
 
doesn't seem to work?!
 
doesn't seem to work?!
 +
:: The <nowiki>[[File:imagefile|options]]</nowiki> code works with the local wiki image folder.  One can embed sized external images from the absolute URI, such as http://wiki.laptop.org/skins/common/images/OLPC_wiki_logo.png or http://wiki.laptop.org/images/thumb/9/93/Ul_warning.png/120px-Ul_warning.png
 +
 +
The URI for an image can be discovered by inspecting the HTML element of an example image in the source wiki with a browser source inspector, such as, right click, Inspect Element in Firefox.
  
 
== Video support in Mediawiki ==
 
== Video support in Mediawiki ==

Revision as of 16:09, 6 April 2012

This is a title

I can write whatever I like...

  • Fish
  • Meat
  • Veggies
  • Icecream

Test interwiki links

The API call http://wiki.sugarlabs.org/api.php?action=query&meta=siteinfo&siprop=interwikimap dumps the set of interwiki links. Special:Interwiki provides a tool to edit them. Let's try some links.

Test Interwiki image links

Here's a screenshot from w.l.o, olpc:File:Activity_browse.jpg, with the extra params that usually cause image display.

right|400px|thumb|Browse activity

doesn't seem to work?!

The [[File:imagefile|options]] code works with the local wiki image folder. One can embed sized external images from the absolute URI, such as OLPC_wiki_logo.png or 120px-Ul_warning.png

The URI for an image can be discovered by inspecting the HTML element of an example image in the source wiki with a browser source inspector, such as, right click, Inspect Element in Firefox.

Video support in Mediawiki

These examples use the Html5media widget:

Webm

AVI mpeg4 x264

OGG Theora + Vorbis

AVI mjpeg

Link to the raw videos: