Help:Contents

From SkobbaPedia

Jump to: navigation, search

Contents

[edit] No Contents

__NOTOC__

[edit] New Page

<br clear="all" />

[edit] Tables

The following table lacks borders and good spacing but shows the simplest wiki markup table structure.


Orange Apple
Bread Pie
Butter Ice cream


[edit] Embeded Google and YouTube videos

  1. find the file Sanitizer.php in the folder /includes of your mediawiki installation
  2. find the function removeHTMLtags in that file. below that you’ll find a list of whitelisted HTML tags. add the tag:
embed 

to the list.

  1. find the function setupAttributeWhitelist in the same file. several lines below you will find HTML-attributes being whitelisted for each HTML tag. so you add a new line (maybe below the line that defines span):
'embed' => array( 'style', 'id', 'type', 'src', 'width', 'height' ),

[edit] Test

[edit] YouTube

<embed src="http://www.youtube.com/v/e1dtyQ6wqzc&hl=en&fs=1" 
type="application/x-shockwave-flash"
allowscriptaccess="always"
allowfullscreen="true"
width="425"
height="344">

</embed>

[edit] Google Video

<embed 
style="width:400px; height:326px;"
id="VideoPlayback"
type="application/x-shockwave-flash"
src="http://video.google.com/googleplayer.swf?docId=-588929211095552121&hl=de">

</embed>

[edit] Blog

Earlier:

http://gjermund.skobba.net/index.php:MediaWiki:Sidebar
* Blogs
** gjermund_skobba_blog-url|gjermund_skobba_blog
** justbeen_luckhun_blog-url|Justbeen_Luckhun_blog
Personal tools