Difference between revisions of "Sandbox"

From Sugar Labs
Jump to navigation Jump to search
(test interwiki image links)
 
(24 intermediate revisions by 9 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
  
 
== Test interwiki links ==
 
== Test interwiki links ==
Line 17: Line 21:
 
: [[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 ==
  
These examples use the [http://www.mediawikiwidgets.org/Html5media Html5media widget]:
 
  
=== Webm ===
+
=== TimedMediaHandler ===
  
{{#widget:Html5media
+
These examples employ the [http://www.mediawiki.org/wiki/Extension:TimedMediaHandler TimedMediaHandler] extension:
|url=http://codewiz.org/pub/pictures/vacation/iguazu_itaipu_2010/itaipu/MVI_1052.webm
 
|width=640
 
|height=480
 
}}
 
  
=== AVI mpeg4 x264 ===
+
==== Matroska + WebM ====
  
{{#widget:Html5media
 
|url=http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00011-x264.avi
 
|width=640
 
|height=480
 
}}
 
  
=== OGG Theora + Vorbis ===
+
Works in Chromium 18 and Firefox 9:
  
{{#widget:Html5media
+
[[File:Itaipu.webm]]
|url=http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00010.ogg
 
|width=640
 
|height=480
 
}}
 
  
=== AVI mjpeg ===
 
  
{{#widget:Html5media
+
==== OGG Theora + Vorbis ====
|url=http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00008-mjpeg.avi
 
|width=640
 
|height=480
 
}}
 
  
Link to the raw videos:
+
Works in Chromium 18 and Firefox 9:
 +
 
 +
[[File:Shinkansen.ogv]]
 +
 
 +
 
 +
==== MPEG-4 x264 ====
 +
 
 +
This doesn't work:
 +
 
 +
[[File:Rio_de_Janeiro.mp4]]
 +
 
 +
 
 +
[[Sandbox/OldVideoPlugins]]
 +
 
 +
 
 +
=== Links to the raw videos ===
  
 
* http://codewiz.org/pub/pictures/vacation/iguazu_itaipu_2010/itaipu/MVI_1052.webm
 
* http://codewiz.org/pub/pictures/vacation/iguazu_itaipu_2010/itaipu/MVI_1052.webm
Line 60: Line 63:
 
* http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00008-mjpeg.avi
 
* http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00008-mjpeg.avi
 
* http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00010.ogg
 
* http://codewiz.org/pub/pictures/vacation/japan_2009/Shinkansen/00010.ogg
 +
 +
== 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 06: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