Topic on Project:Support desk

ImportTextFile.php or Edit.Php

1
46.17.161.8 (talkcontribs)

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

Reply to "ImportTextFile.php or Edit.Php"