http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90658
Revision: 90658
Author: reedy
Date: 2011-06-23 09:26:48 +0000 (Thu, 23 Jun 2011)
Log Message:
-----------
Followup r85596, recursiveTagParse returns a string, not a parser output object
Modified Paths:
--------------
trunk/extensions/SubPageList3/SubPageList3.php
trunk/phase3/includes/parser/Parser.php
Modified: trunk/extensions/SubPageList3/SubPageList3.php
===================================================================
--- trunk/extensions/SubPageList3/SubPageList3.php 2011-06-23 08:31:00 UTC
(rev 90657)
+++ trunk/extensions/SubPageList3/SubPageList3.php 2011-06-23 09:26:48 UTC
(rev 90658)
@@ -504,7 +504,7 @@
wfProfileIn( __METHOD__ );
$output = $this->parser->recursiveTagParse( $text );
wfProfileOut( __METHOD__ );
- return $output->getText();
+ return $output;
}
}
Modified: trunk/phase3/includes/parser/Parser.php
===================================================================
--- trunk/phase3/includes/parser/Parser.php 2011-06-23 08:31:00 UTC (rev
90657)
+++ trunk/phase3/includes/parser/Parser.php 2011-06-23 09:26:48 UTC (rev
90658)
@@ -473,6 +473,8 @@
*
* @param $text String: text extension wants to have parsed
* @param $frame PPFrame: The frame to use for expanding any template
variables
+ *
+ * @return string
*/
function recursiveTagParse( $text, $frame=false ) {
wfProfileIn( __METHOD__ );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs