Author: skizzerz
Description:
The page linked to in the URL field contains all the info, mainly with the new parser not parsing the include parameter of DPL. While I am fully aware that it was an intended behavior with the new parser to not let templates/parser functions create other templates, a workaround or hook should be available for things that ''do'' need this functionality. Unfortunately, I don't know enough about how the parser works to write a hook that allows this, which is why I am bringing it up here.
Now you may be asking, "Why should we change the MediaWiki codebase just to support an extension that isn't even used -- and more than likely will never be used -- on Wikimedia Foundation wikis?" The answer is simple: While the WMF may hate this extension due to the enormous load on the databases, there are numerous wikis that utilize this function (and its include parameter) to carry out tasks that would be tedious if not impossible to do by hand. Therefore a hook or something should exist in the parsing process (like ParserParseTemplates or something) that parses templates created by other templates or parserfunctions when called. Option two would be changing the parser to re-allow this sort of thing, but since this was an intentional change to begin with, I highly doubt that will happen. Option three would be to add a hook into the new parser that lets you parse inputted data through the old parser (since we seem to be keeping the old parser around anyway).
Version: unspecified
Severity: major
URL: http://semeb.com/dpldemo/index.php?title=Issue:Including_nested_templates_no_longer_works_with_MW_1.12%27s_new_parser_behaviour