https://bugzilla.wikimedia.org/show_bug.cgi?id=31708

       Web browser: ---
             Bug #: 31708
           Summary: How about 'AfterParserFetchTemplateAndTitle' ?
           Product: MediaWiki
           Version: 1.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Templates
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


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 )
);

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to