User:Mvolz/Weekly Reports
These are weekly reports on the citoid FOSS OPW project for User:Mvolz
Community Bonding Period
editLessons learned since 21 April
edit- Roadmaps change fast!
- Terseness---verbosity axis is mostly a matter of personal style.
Communication Plan
edit- Communicate with Visual Editor mentors (James Forrester, Trevor Parscal) and team on #wikimedia-visualeditor
- Communicate with REST API/node mentors (Gabriel Wicke, Matthew Walker) via e-mail.
- Communicate with Parsoid mentor (Gabriel Wicke) and team on #mediawiki-parsoid.
- Occasional morning meetings with Matthew Walker on #wikimedia-office.
Goals for first half of internship
edit- A REST API running on node.js that takes a URL(/my/server/?url="http://citeme.com") and gives a response of structured citation data.
- Calls and responses should be hooked into Visual Editor in localhost, although not necessarily committed/production ready.
First Half of Internship
editWeek 1: May 19 to May 25
edit- Made first commit to git repo
- Wrote proof of concept scraper and server in node.js (not committed)
- Got zotero translator-server working and determined it was functional enough for production
- Attempted to get MediaWiki / VisualEditor / Parsoid working on localhost without using vagrant as a crutch and failed miserably. Here's to week two!
Week 2: May 26 to June 1
edit- Got MW / VE/ Parsoid / Apache / MySql stack working to use as a model for MW / VE / CFID integration.
- Still haven't gotten citation tool working on localhost 100% :(.
- Got familiar with VE codebase and JS debugging
- Started Zotero branch in Extension:VE
Week 3: June 2 to June 8
edit- Citation tool now working, yay.
- Tried to write UI entry point for zotero, only got as far as a button on the menu! :(
- Google hangout with Trevor and Roan and IRC meeting with Trevor on Friday on how to write VE code.
- Started writing node.js Zotero wrapper instead
Week 4: June 9 to June 15
edit- Monday: conference call with OPLC people
- In-person VE tutorial w/Ed Wednesday
- On advice from Ed, probably going to put VE code in separate extension and use MWExtensionInspector.
- Wrapped Zotero instance
Week 5: June 16 to June 22
edit- Modified Zotero output in citoid wrapper
- Zotero instance set up on Bastion
- Error catching in citoid
- Explored worldcat api
Week 6: June 23 to June 29
edit- Did Extension tutorial and added BoilerPlate extension to /mediawiki/extensions/Citoid
- Wikipedia exploration! Looked at citations on de.wiki and wrote some templates
- Started writing VE gadget that will insert plain text citations into Reference dialog
Week 7: June 30 to July 6th
edit- Gadget inserts plain text citations by URL into doc model correctly (not inside ref node)
- Gadget inserts citations by URL inside template (not inside ref node).
- Demoed citation w/template insertion by URL at LadiesWhoCode talk series live and it actually worked. Woo. (July 1)
- Altered citoid to handle shortened URLs and to naively scrape pages for which there is not Zotero translator.
Mid-internship Report
editMinimally viable[1] product produced!
- Citoid instance running on wmflabs. Currently only takes URLs.
- Gadget on en wiki. Works to insert citations, but not inside reference nodes yet.
To test, include the following in your common.js on en wiki:
importScript('User:Mvolz/veCiteFromURLLoader.js');
- ↑ ish.
Second half of internship
editWeek 8: July 7 to July 13th
edit- Monday meeting with Ed
- Moved gadget components into an extension
- Increased stability of citoid service
- Increased stability of bastion instance. Ish.
- Gadget now inserts citation into an actual reference
Week 9: July 14 to July 20th
edit- Improvements to naive scraper
- Bug fixes in cite from URL gadget
- Fixing up inheritance issues in citoid extension but still a mess!
- Presented at Open Science Wikimania Fringe event
Week 10: July 21 to July 27th
edit- Make extension/gadget work with new ve core and ref dialog changes (deploying on en-wiki the 24th)
- Multiple cite templates!
- Making extension actually use Citoid config vars
- TD Design discussion w/James et al.
Week 11: July 29 to August 3rd
edit- The Great Fork begins- branch VE + TD to add new services structure
- Presented at WMF metrics meeting: Meta:WMF_Metrics_and_activities_meetings/2014-08
- Citoid The Service improvements
Week 12: August 4th to August 10th
edit- Staged citoid extension to await TD things
- Aug 6-7 Wikimania Hackathon
- Aug 8-10 Wikimania Conference
Week 13: July 29 to August 17th
edit- Update citoid service for new way of doing TD things
- Change td to fetch "maps" attribute
- Alter VE to provide "maps" data (MWTemplateSpecModel) to Citoid extension
(not so final) Report: August 18th
editCitoid service working in conjunction with citoid extension, changes to ve-mw library, and templatedata extension, all on localhost, using templatedata defined within the template itself (not currently working when template is transcluded from docs due to bug 69647). Changes committed (but not merged) to citoid service and extension, pending commits to VE and TemplateData that they rely on.
Commits
editExample
editOnward
editSeptember
edit- Merged first community contribution!
- Added export formats (mediawiki, zotero, mwDeprecated)
- Added API docs: Citoid/API
October
edit- Pushed changed to TemplateData to Gerrit