"Brion VIBBER" posted a comment on MediaWiki.r104561. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/104561#c26803
Commit summary for MediaWiki.r104561: parserTest: delay hooks execution to the point we really need them disabled and filtered out tests were still triggering hooks run. This patch let us delay hooks running run a little bit until we know we will really need their execution (i.e. when test is not filtered out and not disabled). Saving all that unneeded code execution makes running a subset of parser tests a bit faster when one has many extension enabled. NOTE: '!!article' sections are still parsed regardless of their usage. We would need to add an article/test dependency system to really filter them Brion VIBBER's comment: (Is this just a side effect of the ancient code running things line-by-line/section-by-section? I'd recommend modernizing that code so you don't "run" anything until you've finished going through the whole case...?) _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
