[Mediawiki-l] maintinence script to append a new section to a page

jidanni at jidanni.org jidanni at jidanni.org
Thu Dec 18 23:45:07 UTC 2008


>>>>> "RE" == Rich Evans <revansx at yahoo.com> writes:

RE> Hey folks, I currently use the "importTextFile.php" maintinence
RE> script to automate the creation of new articles, but now I would
RE> like to use it to automate the addition of "new sections" added to
RE> the bottom of an existing article

Perhaps use
$ GET ...title=myarticlename\&action=raw > file
$ cat newjunk >> file
And then run importTextFile on file.

If there might be [[Category:...]] already at the bottom, instead make
a perl script to insert your addition just before it.



More information about the MediaWiki-l mailing list