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 <[email protected]>: > > On Nov 12, 9:23 pm, Martin Budden <[email protected]> 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 <[email protected]>: >> >> >> >> > 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 > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/tiddlywiki?hl=en > -~----------~----~----~----~------~----~------~--~--- > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=.

