Last modified: 2013-03-13 10:42:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33708, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31708 - How about 'AfterParserFetchTemplateAndTitle' ?
How about 'AfterParserFetchTemplateAndTitle' ?
Status: NEW
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.17.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-14 21:20 UTC by Daniel A. R. Werner
Modified: 2013-03-13 10:42 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel A. R. Werner 2011-10-14 21:20:42 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 )
);

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links