User "Platonides" posted a comment on MediaWiki.r104561. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/104561#c26712 Commit summary:
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 Comment: It used to avoid reading the rest of the file if it required an unavailable hook. Now it's always parsing the whole file. _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview