I want to add the contents of a text file to a Wiki page using either the importtextfile.php or edit.php scripts.
ImportTextFile.php just seems to overwrite the entire page with the contents of the Text file (I want to append to the bottom of the article).
Edit.php does the same thing, but I understand that you can use the GetText.php to get the content of the page, then use sed commands, but I cannot figure out which command to use.
Does anyone have any experience appending a text file to the bottom of a Wiki page? And if so, which command did you use?
Many Thanks