|
|
Zeile 1: |
Zeile 1: |
| Damit hier im Entropia-Wiki auch Youtube-Videos eingebettet werden können, hat [[Neingeist]] einen Patch eingespielt:
| | #REDIRECT:[[Entropia:Embed-Tags erlauben]] |
| | |
| <pre>
| |
| Index: Sanitizer.php
| |
| ===================================================================
| |
| RCS file: /home/cvs/entropia-mediawiki/includes/Sanitizer.php,v
| |
| retrieving revision 1.1
| |
| diff -u -r1.1 Sanitizer.php
| |
| --- Sanitizer.php 8 Jan 2007 08:52:32 -0000 1.1
| |
| +++ Sanitizer.php 13 Feb 2007 20:29:32 -0000
| |
| @@ -338,7 +338,7 @@
| |
| 'h2', 'h3', 'h4', 'h5', 'h6', 'cite', 'code', 'em', 's',
| |
| 'strike', 'strong', 'tt', 'var', 'div', 'center',
| |
| 'blockquote', 'ol', 'ul', 'dl', 'table', 'caption', 'pre',
| |
| - 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span'
| |
| + 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span', 'embed'
| |
| );
| |
| $htmlsingle = array(
| |
| 'br', 'hr', 'li', 'dt', 'dd'
| |
| @@ -922,6 +922,7 @@
| |
| 'div' => $block,
| |
| 'center' => $common, # deprecated
| |
| 'span' => $block, # ??
| |
| + 'embed' => array( 'style', 'id', 'type', 'src', 'width', 'height' ),
| |
|
| |
| # 7.5.5
| |
| 'h1' => $block,
| |
| </pre>
| |
| | |
| == Weblinks ==
| |
| | |
| * [http://www.helge.at/2006/07/embed-flash-into-mediawiki/ embed flash into mediawiki · Helge's Blog]
| |