Is it possible to import generated mediawiki markup using a script, instead of manually having to cut and paste it?
Perhaps there is a maintenance script that does this, but I couldn't figure out which one. It would help me a lot, since there are hundreds of pages that I would like to update in this way.
Best regards,
Wieger
Here is a perl script that will perform a number of common functions: https://organicdesign.co.nz/Wiki.pl
I have used this in the past for wiki migrations and it has been very effective.
Also the MediaWiki API can perform many tasks in an automated way. http://www.mediawiki.org/wiki/API
Regards Rob
On 22/09/2009, at 6:53 AM, Wieger Wesselink wrote:
Is it possible to import generated mediawiki markup using a script, instead of manually having to cut and paste it?
Perhaps there is a maintenance script that does this, but I couldn't figure out which one. It would help me a lot, since there are hundreds of pages that I would like to update in this way.
Best regards,
Wieger
-- _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com
Powered by Outblaze
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Wieger Wesselink wrote:
Is it possible to import generated mediawiki markup using a script, instead of manually having to cut and paste it?
Perhaps there is a maintenance script that does this, but I couldn't figure out which one.
maintenance/importTextFile.php
On Tue, Sep 22, 2009 at 4:53 AM, Wieger Wesselink wieger@operamail.com wrote:
Is it possible to import generated mediawiki markup using a script, instead of manually having to cut and paste it?
Perhaps there is a maintenance script that does this, but I couldn't figure out which one. It would help me a lot, since there are hundreds of pages that I would like to update in this way.
Best regards,
Wieger
I believe [[Special:Export]] (tell it to save to a file) and [[Special:Import]] may be what your looking for if your copying from one wiki to another.
Platonides wrote:
Wieger Wesselink wrote:
Is it possible to import generated mediawiki markup using a script, instead of manually having to cut and paste it?
Perhaps there is a maintenance script that does this, but I couldn't figure out which one.
maintenance/importTextFile.php
Thanks, that was exactly what I was looking for! For some reason I misinterpreted the explanation of this script.
mediawiki-l@lists.wikimedia.org