inblockio / mediawiki-extensions-Aqua

This MediaWiki extension includes the Aqua implementation. Turning MediaWiki into a powerful versioned notary service with API's for import and export of Data in JSON format.
GNU General Public License v3.0
6 stars 6 forks source link

OutputPageParserOutput not called everytime on Special Page #380

Closed danielriedmueller closed 1 month ago

danielriedmueller commented 1 month ago

The hook adds page meta tag used in offline verifier

    public function onOutputPageParserOutput( $out, $parserOutput ): void {
        global $wgServer;
        $apiVersion = ServerInfo::DA_API_VERSION;
        $out->addMeta( "data-accounting-mediawiki", $wgServer );
        $out->addMeta( "data-accounting-api-version", $apiVersion );
    }

but its not executed, only sometimes opcache is disabled