Topic on Manual talk:Hooks/ParserFetchTemplateData

Special notes for this hook

4
SamanthaNguyen (talkcontribs)

This hook seems to have been introduced in the Parsoid service.

Using git blame:

So while right now it is not technically a MediaWiki core hook, Parsoid is being bundled with MediaWiki in 1.35.0, and meant to be eventually integrated into core. Currently Parsoid is able to be registered as a MW extension AFAIK but should not be considered an actual extension, per the commit message in https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/+/514356.

In the mean time, the source template parameter (for Template:MediaWikiHook) won't work, since the hook is in Parsoid's source code, not core. I'm not sure if it would be relevant to update {{MediaWikiHook}}, since this seems to be a very unique and special exception, thoughts?

I'll document all of this information (related to it being belonging to Parsoid currently) on the page itself.

Pppery (talkcontribs)
Pppery (talkcontribs)
SamanthaNguyen (talkcontribs)

@Pppery Thanks for reminding me. I just documented the hook, and the {{{source}}} should work now (with the caveat that the {{{sourcefunction}}} not working, and it showing an interface hook even though that's not right)

Reply to "Special notes for this hook"