There are some patches that you need to apply in order to make Ponydocs work with the 1.31.1 LTS
I will mention some of the most important ones:
/includes/page/WikiPage.php
L:1618 - !Hooks::run( 'PageContentSave', $hook_args ) || !ContentHandler::runLegacyHooks( 'ArticleSave', $hook_args )
(You need to bring back the LegacyHook method/invokes in the ContentHandler class too. )
Comment from includes/page/Article.php
Method: newFromWikiPage //$article->mPage = $page;
Modify: /includes/Storage/SqlBlobStore.php
L:501 $blob = !empty($obj->getText()) ? $obj->getText() : false;
Add /includes/MwUserUtility.php from MW1.27
You can use safely PHP >= 7.1
There are other few deprecated methods that you may require to add in order to make that Ponydocs version work for your particular skin.
We have an open discussion about supporting the latest MW as a community version in the next 6 months. We will keep the community updated!
Stay safe!
... View more