That's not a development "test", rather it's a function interface that should be kept.
On Tue, Dec 15, 2020 at 6:50 PM Jeffrey Walton <[email protected]> wrote: > Hi Everyone, > > I'm working on a Mediawiki 1.34 to 1.35 migration. The migration is > mostly complete. I'm having trouble connecting to the wiki after a > restart. https://www.cryptopp.com/wiki/ results in: > > Fatal error: Interface 'MediaWiki\Hook\TestCanonicalRedirectHook' not > found > in /var/www/html/w/includes/HookContainer/HookRunner.php on line 22 > > This is a new issue for us. We did not experience it in previous > versions of Mediawiki. I think the problem may be caused by this in > our maintenance script > ( > https://github.com/weidai11/website/blob/master/mediawiki/update-wiki.sh#L61 > ): > > # Remove all test frameworks in production. > IFS= find "$WIKI_DIR" -iname 'test*' -print | while read -r dir > do > rm -rf "$dir" 2>/dev/null > done > > We don't want the additional attack surface on a production server. > Would someone please advise how to remove the unwanted testing gear? > > Jeff > > _______________________________________________ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l >
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
