Jim,

That is marvellous. Actually I went to create the home page for the new
section and there it was already... for a while I thought I was dreaming..
:)

I will try to reproduce what you did. Thanks for the help and the tips - I
will follow that up.

David Leeming

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Jim Tittsler
Sent: Sunday, 20 June 2010 10:59 a.m.
To: [email protected]
Subject: Re: [WikiEducator] Tech question on duplicating multiple pages

On Sun, Jun 20, 2010 at 05:43, D Leeming <[email protected]>
wrote:
> I am going to duplicate a set of pages I created for an OLPC project in
one
> country for a similar project in another. The pages are at
> http://www.wikieducator.org/OLPC_Tuvalu
>
> Are there any tricks to do this quickly? I.e. create new home page such as

If you are comfortable with a programming language, you can probably
find a client library that exploits the MediaWiki API to allow
scripting this sort of thing.

The mwclient library for Python is one example.
  http://mwclient.sourceforge.net/

Using mwclient, I made a small script that copied all of the OLPC
Tuvalu pages into OLPC Kosrae pages with only the most trivial changes
to the wikitext.  Alternatively the script could blank the pages or
make other more extensive automated changes to the text.
  Source:  http://WikiEducator.org/OLPC_Tuvalu
  Destination:  http://WikiEducator.org/OLPC_Kosrae
  Sample script:  http://wikieducator.org/User:JimTittsler/CopyPagesExample

If you would like to take advantage of the API and scripting, please
join the wikieducator-tech mailing list and ask to have a user with
the 'bot' flag.
  http://groups.google.com/group/wikieducator-tech
Or if it is a once in a blue moon sort of thing, just ask one of the
tech users to script it for you.  :-)

Jim
Fiordland, New Zealand

-- 
You received this message because you are subscribed to the Google
Groups "WikiEducator" group.
To visit wikieducator: http://www.wikieducator.org
To visit the discussion forum: http://groups.google.com/group/wikieducator
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]



-- 
You received this message because you are subscribed to the Google
Groups "WikiEducator" group.
To visit wikieducator: http://www.wikieducator.org
To visit the discussion forum: http://groups.google.com/group/wikieducator
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to