Hello Chris First thanks for the suggestion. Yes its correct that i want to make a api call to mediawiki from codecademy. I don't know much about OAuth.I have just started to explore it though. I am using json and ajax to call the api and its working properly but not with modifications. What do you think OAuth would work? Or is there some other way too?
On Sat, Jan 18, 2014 at 1:34 PM, Diwanshi Pandey diwanshipandey@gmail.comwrote:
Hello All, I am Diwanshi Pandey, an OPW intern working on the project "Completing mediawiki API development course on Codecademy" . I have completed Parsing and Querying aspects of API but stuck with Modifications as i don't have required permissions.
The link to the course: http://www.codecademy.com/courses/web-intermediate-en-BLea4/4/1
I was trying to get an edit token but there was a warning saying:
"Unrecognized value for parameter 'intoken': edit"
The reason of this issue is certainly because of "callback" parameter. I have also filed a bug as the above warning is unclear.
In my course, I want to cover getting a token , editing a page , add a page to watchlist , etc but not deleting a page. I am blocked by this isuue. Does anybody know some other way to code it? or Can someone guide me through some other process? Thanks --
*Regards, * *Diwanshi Pandey*