Write a simple smoke test for MediaWiki's export feature
The popular wiki platform, MediaWiki, powers a wide range of collaborative editing projects, such as Wikipedia and Wikivoyage, as well as many internal corporate wikis and other sites.
MediaWiki offers an Export interface, where pages can be exported from the wiki in a transportable XML format. Currently, if a code modification or configuration change were to break this interface, we would have no way of knowing until a user tried to actually use the interface and reported that it didn't work.
As you know, "prevention is better than cure", so your task is to write a simple "smoke test" for the Export feature using MediaWiki's testing infrastructure.
A similar test can be found in the mediawiki/core
Git repository in the file tests/phpunit/includes/ImportTest.php
. Read https://www.mediawiki.org/wiki/Gerrit for more details on submitting your code and the review process.
Note to students: I consider this task quite challenging. If you have not previously completed of a MediaWiki core task that involved PHP coding and interacting with our Gerrit infrastructure, this task could take a long time to complete.