r30148 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r30147‎ | r30148 | r30149 >
Date:10:44, 25 January 2008
Author:tstarling
Status:old
Tags:
Comment:
Use isHTML, noargs/noparse don't exist in the new parser. Can't reproduce the whitespace problem mentioned in the comment, and there are other ways to deal with them anyway.
Modified paths:
  • /trunk/extensions/CategoryTree/CategoryTree.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CategoryTree/CategoryTree.php
@@ -209,7 +209,7 @@
210210
211211 //now handle just like a <categorytree> tag
212212 $html = efCategoryTreeParserHook( $cat, $argv, $parser );
213 - return array( $html, 'noargs' => true, 'noparse' => true ); //XXX: isHTML would be right logically, but it causes extra blank lines
 213+ return array( $html, 'isHTML' => true );
214214 }
215215
216216 /**

Status & tagging log