For each entry in a text file, the program will:
1) read the article title and article wikitext from a text file,
2) create a new Mediawiki article title and wikitext directly in the wiki’s mysql database
1) The program will read a configuration file (in a name, location, and format you specify) with the following information in it:
a. Name/path for the text file with the article information in it
b. Name of the mysql database
c. Host for the mysql database
d. User for the mysql database
e. Password for the mysql database
f. Wiki username for the changes
2) The program will read an entry from the text file. An “Entry?? consists of:
a. “?? on a line of its own
c. Title text on a line of its own
d. “?? on a line of its own
e. “?? on a line of its own
f. One or more lines of wikitext (e.g. “* This is an ‘’example’’ of [[wikitext]].?? )
g. “?? on a line of its own
h. “?? on a line of its own
3) The program will take the Title text (2c above) and the Wikitext (2f above) and create a new wiki page with that title and wikitext directly in the mysql database. The date and time should be the current date and time, and the user should be as specified in the configuration file.
a. If a page with the same title already exists, it should be REPLACED, rather than having a new version created.
4) Steps 2-3 should be repeated until the end of the input file is reached.
**The specifics of the deliverables are as follows:**
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
Your program should be written in PHP using standard libraries only, and it should run against Mediawiki 1.4, mysql, and red hat Linux.