Hello all,

I am trying to develop a chrome extension to work with wikipedia.

Started exploring javascript for login api.

Got this example.

https://www.mediawiki.org/wiki/Example_login_code_in_JS_%28using_JQuery%29

Stored the code as test.html and opened in chrome.
Got the following error.

 No 'Access-Control-Allow-Origin' header is present on the requested
resource. Origin 'null' is therefore not allowed access.

How to solve this error?

https://www.mediawiki.org/wiki/Manual:CORS
The examples here are not helpful.

Please guide me on how to login to mediawiki via javascript?

Thanks.

-- 
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com

Get Free Tamil Ebooks for Android, iOS, Kindle, Computer :
http://FreeTamilEbooks.com

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to