TXTtoMediaWiki is a simple script, as the name suggests, that converts text files to MediaWiki articles using the MediaWiki API. More information can be found here.
-
Clone this repository and build/publish the project so that you end up with an executable.
-
Alternatively, if you trust strangers on the internet, download the executable generated by the GitHub action via the releases page.
-
Place the text files in the same folder as the executable.
-
Run the below, providing your username and password (must be a bot password) and the MediaWiki api url:
TXTtoMediaWiki.exe "OA" "OA123" "https://meta.miraheze.org/w/api.php"