Difference between revisions of "Sandbox"

From Sugar Labs
Jump to navigation Jump to search
 
(31 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 +
Testing! again. ok.  http://wiki.laptop.org
 +
 +
Good job! --[[User:Godiard|Godiard]] ([[User talk:Godiard|talk]]) 05:13, 5 November 2014 (EST)
 +
 
== This is a title ==
 
== This is a title ==
  
I can write whatever I like...
+
I can write whatever I like... well, almost...
  
 
* Fish
 
* Fish
 
* Meat
 
* Meat
 
* Veggies
 
* Veggies
* Icecream
+
* Ice cream
  
=== Another title ===
+
== 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.
 +
* [[olpc:Help Activity refresh]]
 +
* [[wikipedia:Constructionism (learning theory)]]
  
blah blah blah...
+
== 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.
 +
: [[olpc:File:Activity_browse.jpg|right|400px|thumb|Browse activity]]
 +
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 ==
  
This uses the [http://www.mediawiki.org/wiki/Extension:VideoFlash VideoFlash extension]:
 
  
<videoflash type="html5">http://codewiz.org/pub/pictures/vacation/iguazu_itaipu_2010/itaipu/MVI_1052.webm</videoflash>
+
=== TimedMediaHandler ===
 +
 
 +
These examples employ the [http://www.mediawiki.org/wiki/Extension:TimedMediaHandler TimedMediaHandler] extension:
 +
 
 +
==== Matroska + WebM ====
 +
 
 +
 
 +
Works in Chromium 18 and Firefox 9:
 +
 
 +
[[File:Itaipu.webm]]
 +
 
 +
 
 +
==== OGG Theora + Vorbis ====
 +
 
 +
Works in Chromium 18 and Firefox 9:
 +
 
 +
[[File:Shinkansen.ogv]]
 +
 
 +
 
 +
==== MPEG-4 x264 ====
 +
 
 +
This doesn't work:
 +
 
 +
[[File:Rio_de_Janeiro.mp4]]
 +
 
 +
 
 +
[[Sandbox/OldVideoPlugins]]
 +
 
  
And this is with the [http://www.mediawikiwidgets.org/Html5media Html5media widget]:
+
=== Links to the raw videos ===
  
{{#widget:Html5media
+
* http://codewiz.org/pub/pictures/vacation/iguazu_itaipu_2010/itaipu/MVI_1052.webm
|url=http://codewiz.org/pub/pictures/vacation/iguazu_itaipu_2010/itaipu/MVI_1052.webm
+
* http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00011-x264.avi
|width=640
+
* http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00008-mjpeg.avi
|height=480
+
* http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00010.ogg
}}
 
  
Link to the video itself: http://codewiz.org/pub/pictures/vacation/iguazu_itaipu_2010/itaipu/MVI_1052.webm
+
== Iframe ==
 +
{{Iframe|collapsed=|show this historical page|http://wiki.sugarlabs.org/index.php?title=Welcome_to_the_Sugar_Labs_wiki&oldid=2|900|600|0}}

Latest revision as of 05:13, 5 November 2014

Testing! again. ok. http://wiki.laptop.org

Good job! --Godiard (talk) 05:13, 5 November 2014 (EST)

This is a title

I can write whatever I like... well, almost...

  • Fish
  • Meat
  • Veggies
  • Ice cream

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

TimedMediaHandler

These examples employ the TimedMediaHandler extension:

Matroska + WebM

Works in Chromium 18 and Firefox 9:


OGG Theora + Vorbis

Works in Chromium 18 and Firefox 9:


MPEG-4 x264

This doesn't work:

File:Rio de Janeiro.mp4


Sandbox/OldVideoPlugins


Links to the raw videos

Iframe

show this historical page