Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

import mediawiki markup using a script

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


wieger at operamail

Sep 21, 2009, 11:53 AM

Post #1 of 5 (893 views)
Permalink
import mediawiki markup using a script

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 [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


r.carter at cs

Sep 21, 2009, 12:21 PM

Post #2 of 5 (846 views)
Permalink
Re: import mediawiki markup using a script [In reply to]

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 [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


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


Platonides at gmail

Sep 21, 2009, 3:25 PM

Post #3 of 5 (832 views)
Permalink
Re: import mediawiki markup using a script [In reply to]

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


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


p858snake at yahoo

Sep 21, 2009, 3:33 PM

Post #4 of 5 (834 views)
Permalink
Re: import mediawiki markup using a script [In reply to]

On Tue, Sep 22, 2009 at 4:53 AM, Wieger Wesselink <wieger [at] operamail> 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.

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


wieger at operamail

Sep 29, 2009, 5:08 AM

Post #5 of 5 (752 views)
Permalink
Re: import mediawiki markup using a script [In reply to]

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 mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.