Not sure this is possible. From the looks of things, Wikipedia relies on the Extension:ElectronPdfService (partially outdated info) extension that basically installs Chromium (the core of Google Chrome and modern Microsoft Edge browsers) on the servers and then interfaces with it using a Puppeteer library, as described on the Proton page.
So it's not some simple or minor extension as one might imagine. As a result, it might not be compatible with PCGW's infrastructure at all since we're using a nonstandard setup that has various limitations that might come into play here.