User:Diwanshipandey/OPW January Report

Status
In Progress Lesson Plan : Refer

Plan

 * Divide the Query section into 3 different sections.(Total will be 5 sections).
 * Continue with action=query implement tutorials based on Query:Props and Query:Lists

Progress
Dec 31 : Divided the query section into 3 sections each for: Query:ListsQuery:PropsQuery:Meta Jan 1 : Sorted the Lists and Props tutorials into their respective sections Jan 3 : Done with 3 tutorials on Query Props:Getting Page InformationGet the templates used in a given page Get Page Categories Jan 4 : Done with 2 tutorials on Query Props:Get language links from a page</li>Get all images of a given page</li></ul> Jan 5 : Done with 3 tutorials on Query Lists:Get the list of users starting with a character</li>Listing Pages referencing a URL</li>Listing pages starting from "B"</li></ul> Jan 6 : Done with 2 tutorials on Query Lists:Listinng pages that transclude a certain page</li>Listing blocked users</li></ul>

Total Slides Made
Total : 10 Query:Props : 5 Query:Lists : 5

Plan

 * Continue with Query List tutorials
 * Start Implementing Query:Meta tutorials

Progress
Jan 7 : Done with 3 tutorials on Query Lists:Get first 10 pages in given category</li>Listing Random pages</li>Listing user contributions to Wikipedia</li></ul> Jan 8 : Done with 2 tutorials on Query Lists:What Links Here</li><li>Listing Images</li></ul> Jan 9 : Done with 2 tutorials on Query Lists:<ul><li>Listing pages that use a given image</li><li>Listing pages that use given pageprop</li></ul> Jan 10 : Done with 2 tutorials on Query Lists:<ul><li>Listing query page based special pages</li><li>Enumerate Recent changes</li></ul> Jan 11 : Gone through all the Query:Meta information from API documentation Jan 13 : Done with 2 tutorials on Query Meta:<ul><li>meta=allmessages</li><li>General Wiki Information</li></ul>

Total Slides Made
Total : 11 Query:Lists : 9 Query:Meta : 2

Plan

 * Complete Query:Meta tutorials and Query module
 * Start Modification module

Progress
Jan 14 : Done with last 2 tutorials on Query Meta:<ul><li>Detailed wiki information</li><li>meta=userinfo</li></ul> Jan 15 : Started with Modification module. Gone through the Editing API documentation and getting tokens Jan 16 : Made(Non working) 2 tutorials on editing wikipages: <ul><li>Get edit token</li><li>Editing Wiki pages</li></ul> Jan 17 : Stuck with the error in getting token.Error: *Unrecognized value for parameter intoken: "intoken":"edit"* Jan 18 : Got the reason of the error i.e Callback parameter. But issue is not solved as edits can't be performed by anonymous user without permissions Jan 20 : Filed a Bug for unclear warning while getting a token.

Total Slides Made
Query Meta : 2 Editing Wiki : 2( not working due to security reasons)

Plan

 * Ask of guidance for, api call to edit wiki pages from external site, on mediawiki api mailing list
 * Look for the ways and technologies through which editing problems can get solved.
 * Send e-mail to codecademy support team for this issue

Progress
Jan 21 : Explored about OAuth and its implementation in php and javascript, as suggested by mailing list Jan 22 : Annoyed :@. Looking for solution into js and php but not working out Jan 23 : Tried to api login through codecademy using many ways. Same result not working Jan 24 : Got the reply from Chris Steipp saying "if we are using WMF wiki(which we are) like mediawiki.org then the cross-origin issues are going to make it very difficult in general, and the only way will likely be to have your javascript talk to codeacademy, and have codecademy use OAuth to access the wiki on behalf of the user. If it's the former, then you can setup CORS between the domains, and use the api to login, and all calls with be authenticated due to the user's session." Had a talk with Yuri about this and he came to a conclusion about creating an instance of mediawiki and use it. Jan 25 : Wrote a blog about previous 2 week's work Sent an email to codecademy regarding the editing issue and if they support OAuth and other technology. Jan 27 :