Mediawiki import not working

41 views
Skip to first unread message

Raghu

unread,
Nov 11, 2009, 10:35:05 PM11/11/09
to TiddlyWiki
Hello,

I got a tiddlyspot wiki based on MPTW.

I have a few mediawiki pages that I wanted to import, so I installed
Martins "MediaWikiFormatterPlugin" and "MediaWikiAdaptorPlugin" and
tried importing a page. But I get the following error :

Error in importTiddlers.onGetWorkspaceList: Error parsing result from
server: SyntaxError: syntax error

One possibility this might be occurring is because the mediawiki needs
authentication to view the pages. Anyway I can specify this in the
plugin?

Also, I tried the plug-in with a locally saved mediawiki file, but it
still doesn't work. This is what I get :

Error in importTiddlers.onGetWorkspaceList: Not Found

Thanks

Raghu

Martin Budden

unread,
Nov 12, 2009, 11:23:21 AM11/12/09
to tiddl...@googlegroups.com
You can specify the username and password in the MediaWikiAdaptorPlugin tiddler.

Are you using a publically accessible mediawiki? If so, what is it?

Martin

2009/11/12 Raghu <raghus...@gmail.com>:

Raghu

unread,
Nov 13, 2009, 10:52:04 AM11/13/09
to TiddlyWiki
On Nov 12, 9:23 pm, Martin Budden <mjbud...@gmail.com> wrote:
> You can specify the username and password in the MediaWikiAdaptorPlugin tiddler.

I can see the two text boxes(username and password) in mediawiki
unplugged but I don't see it in tiddlyspot, i.e. the plugin I added.
Where should I specify the username in the code?

>
> Are you using a publically accessible mediawiki? If so, what is it?
>

No, it's only available on our intranet. It's a bit old though,
MediaWiki 1.9.0 - Could this be cause of MPTW maybe?

Even pasting some wiki code gives me the following error in an alert
box:

TypeError: this.source is null

Thanks

Raghu

> Martin
>
> 2009/11/12 Raghu <raghusidda...@gmail.com>:

Martin Budden

unread,
Nov 19, 2009, 11:23:12 AM11/19/09
to tiddl...@googlegroups.com
To specify username and password in code, you can just set the variables:

config.options.txtMediaWikiUsername
and
config.options.txtMediaWikiPassword

MediaWiki 1.9 is a bit old. You might want to encourage your
administrator to upgrade.

I'm not sure what you mean by "Could this be cause of MPTW maybe?"

Martin

2009/11/13 Raghu <raghus...@gmail.com>:
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
> To post to this group, send email to tiddl...@googlegroups.com
> To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>

Raghu

unread,
Dec 8, 2009, 3:02:16 AM12/8/09
to TiddlyWiki
Hi,

Sorry I took so long to reply. I tried importing a Wikipedia page and
I get the following error :

Error in importTiddlers.onGetWorkspaceList: Error parsing result from
server: SyntaxError: syntax error

I've installed :
MediaWikiAdaptorPlugin
MediaWikiFormatterPlugin

These are the only plugins I require right? My tiddly is located on
tiddlyspot here : http://rags.tiddlyspot.com/

Also, it returns the same error when I try to import from a file, a
plain text file with medaiwiki syntax in it.

I'm sure I'm doing something wrong here. :-S

Thanks,

Raghu

On Nov 19, 9:23 pm, Martin Budden <mjbud...@gmail.com> wrote:
> To specify username and password in code, you can just set the variables:
>
> config.options.txtMediaWikiUsername
> and
> config.options.txtMediaWikiPassword
>
> MediaWiki 1.9 is a bit old. You might want to encourage your
> administrator to upgrade.
>
> I'm not sure what you mean by "Could this be cause of MPTW maybe?"
>
> Martin
>
> 2009/11/13 Raghu <raghusidda...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages