http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72399

Revision: 72399
Author:   nad
Date:     2010-09-05 03:30:14 +0000 (Sun, 05 Sep 2010)

Log Message:
-----------
no need to call statically now

Modified Paths:
--------------
    trunk/extensions/Livelets/Livelets.php

Modified: trunk/extensions/Livelets/Livelets.php
===================================================================
--- trunk/extensions/Livelets/Livelets.php      2010-09-04 22:25:59 UTC (rev 
72398)
+++ trunk/extensions/Livelets/Livelets.php      2010-09-05 03:30:14 UTC (rev 
72399)
@@ -9,7 +9,7 @@
  * Started: 2007-10-06
  *     1.0: 2010-08-25
  */
-define( 'LIVELETS_VERSION', '1.0.3, 2010-09-04' );
+define( 'LIVELETS_VERSION', '1.0.4, 2010-09-05' );
 
 # the parser-function name for doing live-transclusions
 $wgLiveletsMagic  = 'live';
@@ -100,7 +100,7 @@
                global $wgLiveletsMagic;
 
                # Replace the wikitext with just the content of the requested 
livelet
-               foreach( self::examineBraces( $content ) as $brace ) {
+               foreach( $this->examineBraces( $content ) as $brace ) {
                        if ( $brace['NAME'] == "#$wgLiveletsMagic:" && 
--$this->request_id < 0 ) {
                                $len = strlen( $wgLiveletsMagic );
                                $content = substr( $content, $brace['OFFSET'] + 
$len + 4, $brace['LENGTH'] - $len - 6 );



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to