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

Rich Evans revansx at yahoo.com
Fri Dec 19 01:06:12 UTC 2008


that's a teriffic solution. thanks!

 
----- Original Message ----
From: "jidanni at jidanni.org" <jidanni at jidanni.org>
To: mediawiki-l at lists.wikimedia.org
Sent: Thursday, December 18, 2008 6:45:07 PM
Subject: Re: [Mediawiki-l] maintinence script to append a new section to a page

>>>>> "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.

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l



      



More information about the MediaWiki-l mailing list