HomePhabricator

Add MpdfGetArticle hook

Description

Add MpdfGetArticle hook

This hook allows other extensions (such as Approved Revs) to change the revision ID, or even use a different page, when a page gets exported to PDF.

This code uses the now-deprecated Hooks::run() function, so at some point it will need to get converted to the new approach, which would involve creating (I think) two new classes.

Change-Id: I5485542d0489b244fbeab6021f7a7485c50bdc71

Details

Provenance
Yaron_KorenAuthored on Feb 8 2021, 9:42 PM
Parents
rEMPD3788d7530fb4: build: Updating composer dependencies
Branches
Unknown
Tags
Unknown
ChangeId
I5485542d0489b244fbeab6021f7a7485c50bdc71