Last modified: 2013-03-13 10:42:01 UTC
Almost since the beginning of my MW extension writing I have missed a 'AfterParserFetchTemplateAndTitle'. There only is a 'BeforeParserFetchTemplateAndtitle'. Today I ran into this again and finally thought about requesting enhancement. I guess the right position to call the hook would probably be in Parser::statelessFetchTemplate(), right before returning the result to still allow modification: wfRunHooks( 'AfterParserFetchTemplateAndTitle', array( &$parser, &$finalTitle, &$text, &$deps ) );