Index: trunk/extensions/Livelets/Livelets.php |
— | — | @@ -99,6 +99,7 @@ |
100 | 100 | function onArticleAfterFetchContent( &$article, &$content ) { |
101 | 101 | global $wgLiveletsMagic; |
102 | 102 | |
| 103 | + # Replace the wikitext with just the content of the requested livelet |
103 | 104 | foreach( self::examineBraces( $content ) as $brace ) { |
104 | 105 | if ( $brace['NAME'] == "#$wgLiveletsMagic:" && --$this->request_id < 0 ) { |
105 | 106 | $len = strlen( $wgLiveletsMagic ); |