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

Revision: 94243
Author:   ialex
Date:     2011-08-11 13:57:15 +0000 (Thu, 11 Aug 2011)
Log Message:
-----------
We have startParse() for that

Modified Paths:
--------------
    trunk/phase3/includes/parser/Parser.php

Modified: trunk/phase3/includes/parser/Parser.php
===================================================================
--- trunk/phase3/includes/parser/Parser.php     2011-08-11 13:51:34 UTC (rev 
94242)
+++ trunk/phase3/includes/parser/Parser.php     2011-08-11 13:57:15 UTC (rev 
94243)
@@ -4524,10 +4524,7 @@
        function cleanSig( $text, $parsing = false ) {
                if ( !$parsing ) {
                        global $wgTitle;
-                       $this->mOptions = new ParserOptions;
-                       $this->clearState();
-                       $this->setTitle( $wgTitle );
-                       $this->setOutputType = self::OT_PREPROCESS;
+                       $this->startParse( $wgTitle, new ParserOptions, 
self::OT_PREPROCESS, true );
                }
 
                # Option to disable this feature


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

Reply via email to