I created a simple art1.txt which contains only This is some text for art1
and I've placed copies of it in the folder with php.exe, in the maintenance directory, in the main mediawiki install directory, and on the root of C:\.
When I run the following commands from the maintenance directory, I get the following results:
type art1.txt
returns This is some text for art1
importTextFiles.php art1.txt
returns Argument <files> required!
(followed by the entire help message)
importTextFiles.php <file> art1.txt
returns The system cannot find the file specified
importTextFiles.php <files> art1.txt
returns The system cannot find the file specified
The second command above is why I think the Example on this manual page is incorrect, because the example lacks a <file>
or <files>
argument.
I've tried all of the above with art1.txt saved as ANSI and as UTF-8 in Notepad.