Manual:ImportTextFiles.php

Details
importTextFiles.php file is a that imports text files to pages on the wiki, optionally preserving the file timestamp. The file name (without extension) is used as the page title, optionally preceded by a given prefix.

Examples
This command imports files matching the wildcard  in the current directory to pages starting with. For example,  will be imported to the page. The file's modification timestamp will be used as the revision timestamp. Existing pages will be overwritten.